Search:

Type: Posts; User: davidr; Keyword(s):

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    7,420

    MBeanServerConnectionFactoryBean reconnect

    We subclassed the Spring class and put the reconnect in ourselves.

    David
  2. Replies
    12
    Views
    7,420

    MBeanServerConnectionFactoryBean reconnect

    We are trying to use MBeanServerConnectionFactoryBean in our application to make a JMX call to validate connectivity. If the server he is connected to goes down, we do not see anyway to force the...
  3. The reason i want this change in, is for cases...

    The reason i want this change in, is for cases such as mine, where i do not need the full transaction management Spring provides and i cannot get the current configuration to work with DBCP.
    Do i...
  4. code change for Ibatis internal transaction support

    I looked around and did not see how i can submit my change to the project.
    Here is my diff, of the SqlMapClientFactoryBean which allows us to use the Ibatis built in transaction manager and not be...
  5. Replies
    8
    Views
    1,948

    I have now tried to use the transaction manger,...

    I have now tried to use the transaction manger, and the following lines appear in the log file,

    2004-11-28 12:54:20,953 [main] DEBUG java.sql.PreparedStatement - {pstm-100001} PreparedStatement: ...
  6. Replies
    8
    Views
    1,948

    Juergen, A simple solution to this would be to...

    Juergen,

    A simple solution to this would be to add a transasctionManager property to SQLMapClientfactoryBean. This would allow the user to not use Spring transaction management and allow the built...
  7. Replies
    8
    Views
    1,948

    Yes, I also thought i did not need to execute...

    Yes, I also thought i did not need to execute with transactions. And this is true when i use JNDI or the DriverManagerDataSource. But when i use DBCP, even when i set defaultautocommit to on, the...
  8. Replies
    8
    Views
    1,948

    Juergen, what i am asking is, if i have nothing...

    Juergen, what i am asking is, if i have nothing more than inserts to do, do i still need to use the proxyfactorybean?
  9. Replies
    8
    Views
    1,948

    I have looked around and am still not sure what i...

    I have looked around and am still not sure what i need to do.
    I have added the lines:

    <bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">...
  10. Replies
    6
    Views
    2,993

    I think I understand the problem. When i use a...

    I think I understand the problem. When i use a datasource from Spring, Spring sets as the transaction manager the external transaction manager, which now requires me to set a transaction manager...
  11. Replies
    8
    Views
    1,948

    set transaction manager for IBATIS

    How do i set the transaction manager for my datasource when using IBATIS + Spring? Does it need to be in code or just my applicationContext?

    Thanks,
    David
  12. Replies
    6
    Views
    2,993

    try again with small sample

    Rod,

    I have made a small example to show my problem:
    Here is the table:
    CREATE TABLE tgr.dummy
    (data VARCHAR2(50))

    here is the sqlmap insert:

    <insert...
  13. Replies
    10
    Views
    9,060

    what xml parser are you using?

    what xml parser are you using?
  14. Replies
    10
    Views
    9,060

    I have given the beans ids and not names and the...

    I have given the beans ids and not names and the error i am getting is from the XML parser. Perhaps it is the opposite, that i should use names instead of id's? I guess we can try that
  15. Replies
    10
    Views
    9,060

    I found a post that indicatees that this is...

    I found a post that indicatees that this is doable but when we tried it and we used <ref bean= instead of ref local, but we still got an error from Spring telling us:
    "An element with the identifier...
  16. Replies
    10
    Views
    9,060

    And can we reference beans from one file to...

    And can we reference beans from one file to another?
  17. Replies
    1
    Views
    1,584

    small addition to PropertyResourceConfigurer

    I am interested in being able to pull the properties from the PropertyResourceConfigurer. I use this for having a properties file that is both the $ replacements as well as stored in Properties class...
  18. Replies
    6
    Views
    2,993

    Rod, Are there any settings you would recommend...

    Rod, Are there any settings you would recommend that i can play with in DBCP to try to move past this? I really would like to use Spring and not IBATIS for my DataSource.

    Thanks,
    David
  19. Replies
    6
    Views
    2,993

    Yes, i assumed the issue was the autocommit. I...

    Yes, i assumed the issue was the autocommit. I played with autocommit with no success. I am not using any transaction management as this is a very simple insert I am doing in a Junit test. And when i...
  20. Replies
    6
    Views
    2,993

    DBCP + IBATIS inserts do not work

    Is anyone out there using IBATIS + DBCP (I am using with an oracle 9 database).
    When i use Spring to define my DBCP datasource, inserts do not show up in the database, though it is accessing the...
Results 1 to 20 of 20