-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Disabling Disk Access
PostPosted: Mon Nov 01, 2004 7:59 pm 
Newbie

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:


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.