I am having a problem integrating myBatis with Spring.
I followed the 3-part tutorial here:...
Type: Posts; User: trant; Keyword(s):
I am having a problem integrating myBatis with Spring.
I followed the 3-part tutorial here:...
Hmm, I think I may have found the answer:
IdTransferringMergeEventListener ?
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...
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...
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?
Oops, you're right I'm sorry for the mistake. Can I have a mod move this?
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...
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...
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...
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...
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...
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...
Thanks again gwa!
I have cleaned up my dependencies a bit, it looks like this now:
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
...
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...
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...
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...
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...
Listing dependencies just in case it has something to do with my jar versions:
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
...
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...
So far, have not found any solutions. I changed my transaction manager as follows:
<bean id="transactionManager" class="org.springframework.transaction.jta.WebLogicJtaTransactionManager">
...
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...
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...
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...
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"...
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
...