Hi Sidewayz,
In my case, im using one class which has several static helper functions. In it, the most important ones for the Runnables are the getSession() and closeSession(). The getSession is...
Type: Posts; User: MariusZw; Keyword(s):
Hi Sidewayz,
In my case, im using one class which has several static helper functions. In it, the most important ones for the Runnables are the getSession() and closeSession(). The getSession is...
Hello,
Is there a way, to store an object, without having to wait for the result ?
What i'm trying to do is the following:
// Inside a controller's action
Hi,
I have a question about designing object events with Spring & Hibernate.
At the moment i've created several annotations, @OnObjectCreate() @OnFieldChange(), @OnObjectDelete().
The...
Update on this issue:
To get around my issue, i've added the following:
public static Session getSession()
{
Session session = SessionFactoryUtils.getSession(sessionFactory, true);
try
Hi Amila,
Well roughly the problem looks the same.
In my case, i do have a SessionFactory available from the Runnable instance, but no session gets attached to the thread.
If i call an...
Hi amiladomingo,
Thanks for your reply.
I'll implement the annotation declarative method from the documentation pages, but that the part of scheduling something is already working.
The...
Well, the Runnable instance is created via the 'new' operator, so it wont be instantiated via Spring.
My configuration is the following:
Hibernate.xml
<bean id="transactionManager"...
Hello !
My name is Marius van Zwijndregt, and i'm trying to build an application with Spring and Hibernate.
I'm using Spring 3.5 together with Hibernate 3.
Almost everything in my...