-->
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.  [ 3 posts ] 
Author Message
 Post subject: DYNAMIC-UPDATE
PostPosted: Mon Jan 17, 2005 12:26 pm 
Newbie

Joined: Wed Dec 01, 2004 2:21 am
Posts: 12
When i use select-before-update and i set it to true, hibernate will give me an error that is :
" select-before-update is used , but not declared "


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 17, 2005 12:36 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
Check the DTD


Top
 Profile  
 
 Post subject: problem in select-before-update tag
PostPosted: Tue Jan 18, 2005 7:05 am 
Newbie

Joined: Wed Dec 01, 2004 2:21 am
Posts: 12
hi,

i checked the dtd and that tag is there. i have also downloaded the latest hibernate jar file. but still i get a fatal error in a message box ! as follows before even executing the command(in parsing cfg.xml or maybe before it) :

java.lang.IllegalAccessError
at net.sf.cglib.core.ClassEmitter.setTarget(ClassEmitter.java:47)
at net.sf.cglib.core.ClassEmitter.<init>(ClassEmitter.java:39)
at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:165)
at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:215)
at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
at net.sf.hibernate.impl.SessionFactoryImpl.<clinit>(SessionFactoryImpl.java:237)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:796)
at model.ir.kafa.mfaeadmin.com.util.HibPerMan.buildSessionFac(HibPerMan.java:108)
at model.ir.kafa.mfaeadmin.com.util.HibPerMan.initial(HibPerMan.java:62)
at ir.kafa.mfaeadmin.service.inventory.testHibernate.set(testHibernate.java:54)
at ir.kafa.mfaeadmin.service.inventory.testHibernate.main(testHibernate.java:29)


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

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.