Search:

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

Search: Search took 0.03 seconds.

  1. You have two classes of the same type

    You have two beans with a type of JobDetailBean. You will need to autowire by name for the test to select the correct bean
  2. I've used HttpClient a lot and its a very good...

    I've used HttpClient a lot and its a very good tool for initiating http communication with remote clients.

    If you have a system that just listens and responds to http calls then a servlet that...
  3. Replies
    0
    Views
    2,438

    Reconnect to Foreign JMS Objects

    I've written an application using Spring JMS that uses a connection factory and queue that are part of a foreign JMS server.
    The application works fine when both the App Server it runs on (WebLogic...
  4. Poll: I don't disagree with any of the previous points...

    I don't disagree with any of the previous points made.

    I'd just like to add some comments about iBATIS though.

    Firstly, the amount of code within XML can make things difficult when coding...
  5. Replies
    9
    Views
    3,326

    Thomas, anything that would allow me to use...

    Thomas,

    anything that would allow me to use Spring JDBC would be great.
    And changing JdbcTemplate to not bother calling getWarnings() if the flag is set to ignore warnings seems to make sense...
  6. Replies
    9
    Views
    3,326

    Well guys, I think you're right. I hadn't read...

    Well guys, I think you're right.

    I hadn't read the spec accurately enough.
    Which means its a problem with the JDBC driver after all.
    The odds were always in favour of that being the case :)
    ...
  7. Replies
    9
    Views
    3,326

    Darren, thanks for the reply. The getWarnings...

    Darren,
    thanks for the reply.

    The getWarnings is being called on statement objects but according to the spec on the Statement class:

    Note: If you are processing a ResultSet object, any...
  8. Replies
    9
    Views
    3,326

    OK, after a lot of investigation, I think I've...

    OK, after a lot of investigation, I think I've found a problem and its within Spring rather than the Universe JDBC driver, which is not what I'd expected!

    JdbcTemplate class closes the result set...
  9. Replies
    9
    Views
    3,326

    Spring JDBC and Universe Database

    This is a long shot but has anybody used Spring JDBC and The RDBMS Operation classes in particular, with the Universe database.

    I've developed some classes that work with Oracle. When I try the...
  10. Replies
    10
    Views
    2,742

    Rod, I've got the code working, thanks for the...

    Rod, I've got the code working, thanks for the advice (no pun intended). Its solved a very important issue we were struggling with.
    I'm loving Spring right now!
  11. Replies
    10
    Views
    2,742

    Thanks Rod, I'll look into this

    Thanks Rod, I'll look into this
  12. Replies
    10
    Views
    2,742

    We're hoping Declarative transaction demarcation...

    We're hoping Declarative transaction demarcation will be sufficient so we can just make POJO's transactional.

    I'm also hoping to make the use of this stored procedure hidden in the application...
  13. Replies
    10
    Views
    2,742

    That sounds OK but I have to wrapper every DAO...

    That sounds OK but I have to wrapper every DAO method (or every method that uses them with its own transaction) with another method that calls the stored procedure. I was hoping to find a solution...
  14. Replies
    10
    Views
    2,742

    Re: Calling procedure when connection is 'got'

    Scratch the AOP idea above, I don't think I can configure Spring to use the method interceptor unless it is a class that is obtained from a Spring context, which isn't the case here.
    Am I right?...
  15. Replies
    10
    Views
    2,742

    Re: Calling procedure when connection is 'got'

    Could I use a method interceptor on DataSourceUtils.getConnection(DataSource dataSource, boolean allowSynchronization)?

    It sounds right but I'm not sure if I can use the return value in the method...
  16. Replies
    10
    Views
    2,742

    Calling procedure when connection is 'got'

    We're adapting an existing system that sets information inside the connection that is picked up by database triggers.
    Currently the system gets a connection for a user and then passes it around all...
  17. Replies
    2
    Views
    1,370

    Thanks Thomas, you solved it. Mike

    Thanks Thomas, you solved it.

    Mike
  18. Replies
    2
    Views
    1,370

    Stored Procedure Example

    I ran the example in 10.4.4. of Spring Reference where it runs a standard Oracle function.
    The only change I made to the code was the connection details.
    On running it, the code gets 'lost'...
Results 1 to 18 of 18