I'm considering setting up a batch job that checks a database table for entries with correct status every 10 seconds. This entry then corresponds to a file that is to be processed, and should trigger...
Type: Posts; User: anderssv; Keyword(s):
I'm considering setting up a batch job that checks a database table for entries with correct status every 10 seconds. This entry then corresponds to a file that is to be processed, and should trigger...
Excellent. If I get to move forward with the Hibernate adapter I probably won't include the Claim Check pattern. For now I need to keep it as simple as possible. Like Mike points out, one of the...
Doh, I should have seen from the username that it was that article I based my implementation on. Thanks for all the details here and in the article. :)
A,
Did you get any way on this? I would be interested in the results. :)
I have started something similar but still a bit different. I'm just figuring out Spring Integration so there's probably lots...
Doh, you are right. Thanks. I had an aop.xml, but that wasn't visible when running tests. By limiting the number of classes to scan I was able to reduce the execution time from 30 seconds to about 12...
When I enable logging I see that AspectJ loads:
[AspectJ Weaver] (main:) [AspectJ] AspectJ Weaver Version 1.6.0 built on Wednesday Apr 23, 2008 at 20:27:36 GMT ...
Hjm, my replies doesn't seem to come through.
On the Jetty server nothing gets weaved with the spring-agent.jar, but it runs fine in the tests. The tests run really slow (loading the spring...
Hjm... I have:
<weaver options="-showWeaveInfo -verbose">
<include within="a.bit.narrowing.on.myclasses..*" />
</weaver>
And use the following parameter:
Doe's anyone have some info on how to speed up load time weaving? I would really like to use load time, as it leaves the smallest impact on the tools we use.
I have a small test that inherits from...
And now I see there is an approval process. Sorry for the double posting. :) And this just went through without approval. Might be the link I pasted, the posts will hopefully be approved soon.
According to the new Spring 2.5 docs, the preferred way is to wire in AspectJ with Load Time Weaving is through the spring-agent.jar Java agent option (it used to be aspectj-agent.jar in Spring 2.0 I...
In our current setup we are using the OpenSessionInViewFilter with Hibernate and the HibernateTransactionManager. This works as expected, and the sessions flushmode is set to AUTO on entering a...
Stepping through both the interceptors I found that the outer one has isNewSynchronization but it seems that TransactionSynchronizationManager.getSynchronizations().iterator() doesn't have any...
Through debugging I have found that it actually passes through two TransactionInterceptors before it hits my service method. Does this make sense?
The TransactionInfo returned in each Interceptor...
Yeah, my problem is that when Spring sees the Transactional tag it does not participate in the Session opened by the OpensessionInViewFilter. The reason Update works is because it obviously starts a...
Dataconfig:
<bean id="hibernateSessionFactoryTemplate" abstract="true"
class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
<property name="hibernateProperties">...
How do I tell the JtaTransactionManager which HibernateSessions to flush? Does it autodetect this? Do I even have to do this?
My case is related to using the OpenSessionInViewFilter, and I can't...
Since noone could give me the answer I'll answer it myself. ;)
Put this in your applicationcontext and all the values set in web.xml will be available to your beans:
<bean...
Hey,
My understanding of the TopLink integration is that your Business code does not have to change. This is because Spring will use a ThreadLocal to manage the TopLink session, and thus you will...
When deploying an war application you can specify parameters in the web.xml file (context-param). In our app server you can then override these parameters through the admin console, which gives us...