Search:

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

Search: Search took 0.02 seconds.

  1. Hi Sidewayz, In my case, im using one class...

    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...
  2. Update an object without waiting for the result

    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
  3. Application design question: property and object events

    Hi,

    I have a question about designing object events with Spring & Hibernate.

    At the moment i've created several annotations, @OnObjectCreate() @OnFieldChange(), @OnObjectDelete().

    The...
  4. Update on this issue: To get around my issue,...

    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
  5. Hi Amila, Well roughly the problem looks the...

    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...
  6. Hi amiladomingo, Thanks for your reply. ...

    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...
  7. Well, the Runnable instance is created via 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"...
  8. ThreadPoolTaskExecutor with Runnable and Hibernate SessionFactory

    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...
Results 1 to 8 of 8