Joined: Thu Oct 21, 2004 6:07 pm Posts: 5
|
Is there any way to completely turn off local disk access in Hibernate. I was able to turn off disk access by EHCache, but the Id generator(CGLib) tries to access the local disk. (see exception trace below). Curently the id generator class is set to "native".
Thanks!
Hibernate version: 2.1.6
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
java.lang.ExceptionInInitializerError
at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:199)
at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:63)
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:192)
at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:177)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:149)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:142)
at net.sf.hibernate.impl.SessionFactoryImpl.<clinit>(SessionFactoryImpl.java:235)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:768)
Name and version of the database you are using: MySQL 4.0.20
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
|
|