0 Replies Latest reply on Dec 25, 2004 9:24 AM by Puneet Jain

    Hibernate Configuration .HAR

    Puneet Jain Newbie

      this is my hibernate-sdervice.xml file



      jboss.jca:service=LocalTxCM,name=jdbc/JbpmDS

      java:/hibernate/IclaimsFactory
      java:/jdbc/JbpmDS
      net.sf.hibernate.dialect.Oracle9Dialect
      net.sf.hibernate.cache.HashtableCacheProvider
      update







      when i acces it in my servlet (test) through lookup

      System.out.println(ctx.lookup("java:/hibernate/IclaimsFactory"));

      SOMETIMES it finds that sometime it gives ClassCastException

      please tell where i am wrong.

      rgards