3 Replies Latest reply on Feb 6, 2012 11:23 PM by Ashish Vashisht

    [JTATransaction] You should set hibernate.transaction.manager_lookup_class if cache is enabled

    RupakKhurana Level 1

      Hello

       

      I keep seeing the above error in my server log. My model file has the following. What is the warning about and how to rectify it in the right way

       

      thanks

      Rupak

       

      <annotation name="DMS">

          <item name="datasource">java:comp/env/ALGODB</item>

          <item name="hibernate.dialect">org.hibernate.dialect.Oracle10gDialect</item>

          <item name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.JOTMTransacti onManagerLookup</item>

          <item name="hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactor y</item>

          <item name="ServerGeneratedEntities">false</item>

        </annotation>