Search:

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

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Spring + myBatis - Result Maps collection already contains value problem

    I am having a problem integrating myBatis with Spring.

    I followed the 3-part tutorial here:...
  2. Hmm, I think I may have found the answer: ...

    Hmm, I think I may have found the answer:

    IdTransferringMergeEventListener ?
  3. Help! Generated key not set in entity object after merge

    Ok, I have a pretty involved setup, but basically it boils down to this:


    Spring wrapped Hibernate on Oracle 11g
    I load an existing entity from the DB which has several child objects which get...
  4. Would destroy-method property make sense for this case?

    I have a singleton bean which when called spawns a thread to do some potentially long work.

    But I'd like for the thread spawned by this bean to be forced to shutdown when the application is shut...
  5. Replies
    1
    Views
    836

    How to toggle a JMS message listener?

    I have a Spring configuration where I use DefaultMessageListenerContainer to listen to a JMS Queue.

    How can I programmatically turn this listener on and off without redeploying my application?
  6. Oops, you're right I'm sorry for the mistake. Can...

    Oops, you're right I'm sorry for the mistake. Can I have a mod move this?
  7. Service Activator sending message on file not yet ready

    I am experiencing a problem with service activator with file poller where it transmits its message as soon as it sees a file in the file system, even though the file may not yet be ready. Its been...
  8. Still confused about all this... Plus got...

    Still confused about all this...

    Plus got another confusion... I tried to create a new log4j Appender, which logs errors to my database via the datasource.

    Well, I use Spring managed hibernate...
  9. I need help with exception handling in Spring

    What is the latest and greatest method for exception handling in Spring?

    Trying to research this online I stated spending time on a "exceptionHandler" bean which extends from...
  10. Replies
    3
    Views
    505

    Hi there, only saying the following because...

    Hi there,

    only saying the following because you did not explicitly mention doing it in your post, but did you remember to declare the transaction manager in Spring config? Having the...
  11. Replies
    13
    Views
    1,990

    Ok, my main project is working now! Why...

    Ok, my main project is working now!

    Why exactly? I am not sure... what I did was erase the lib on my old project and just plop in the jars from my new one. I only had to add 2 jars in addition in...
  12. Replies
    13
    Views
    1,990

    New update to me epic battle with the NullPointer...

    New update to me epic battle with the NullPointer beast.

    I created an entire new project and started building up on it piece by piece, starting with publishing a JMS message by itself (no XA). No...
  13. Replies
    13
    Views
    1,990

    Thanks again gwa! I have cleaned up my...

    Thanks again gwa!

    I have cleaned up my dependencies a bit, it looks like this now:



    <dependencies>
    <dependency>
    <groupId>org.springframework</groupId>
    ...
  14. Replies
    13
    Views
    1,990

    Hey gwa, thanks again for responding! I...

    Hey gwa, thanks again for responding! I appreciate the suggestions!

    Yeah I am confused a bit about this myself...

    I believe the spring-hibernate3 jar is the latest I can get, isnt it? But I am...
  15. Replies
    13
    Views
    1,990

    Am I correct to assume that all I need to do to...

    Am I correct to assume that all I need to do to make my app compatible with distributed transactions is to make WebLogicJtaTransactionManager my transaction manager, and to add <property...
  16. Replies
    13
    Views
    1,990

    Hi gwa, thank you for responding! I have tried...

    Hi gwa, thank you for responding!

    I have tried that suggestion - I built the ear file as follows:
    META-INF
    +----application.xml (declare my war file as a module)
    +----weblogic-application.xml...
  17. Replies
    13
    Views
    1,990

    Nobody has any ideas at all? Keep in mind I am an...

    Nobody has any ideas at all? Keep in mind I am an inexperienced Spring user, so it could very well be something obvious or simple to veterans that I have missed.

    Is there a way I can offer some...
  18. Replies
    13
    Views
    1,990

    Listing dependencies just in case it has...

    Listing dependencies just in case it has something to do with my jar versions:



    <dependencies>
    <dependency>
    <groupId>org.springframework</groupId>
    ...
  19. Replies
    13
    Views
    1,990

    Just poking around with the transaction APIs with...

    Just poking around with the transaction APIs with Spring and at least I found out how to list out the synchronizations in my active transaction (after I publish to topic, and before I return control...
  20. Replies
    13
    Views
    1,990

    So far, have not found any solutions. I changed...

    So far, have not found any solutions. I changed my transaction manager as follows:


    <bean id="transactionManager" class="org.springframework.transaction.jta.WebLogicJtaTransactionManager">
    ...
  21. Replies
    13
    Views
    1,990

    Anyone successfully use transactions w/ Weblogic/Hibernate/JMS??

    I am having no luck in trying to figure out how to implement transactions with my Weblogic deployed app using Spring/Hibernate/JMS.

    I have a method which I marked @Transactional and it does right...
  22. thanks for the reply! you know, I realize now...

    thanks for the reply!

    you know, I realize now that I do use transactions in my application (with a method annotated @Transactional) though the reason I introduced it for is completely different. I...
  23. Replies
    2
    Views
    932

    Ok I think I found the better solution: I...

    Ok I think I found the better solution:

    I catch ParseException, which contains the input string in the getMessage() field.

    It's not perfect though, because the source string is embedded in the...
  24. Replies
    2
    Views
    932

    Handling line errors in batch

    I had a nice working design using Spring Batch to load a flat file and parse each row into an object. I do it like this:

    Configuration:


    <bean id="fileProcessor"...
  25. Can I use Spring XAction for Hibernate + JMS?

    I have a requirement to make a a whole process transactional.

    this process currently does the following:

    Parses a file using Spring Batch
    Various Business Logic related transformations
    ...
Results 1 to 25 of 33
Page 1 of 2 1 2