-->
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: Getting "could not instantiate generator id" error
PostPosted: Thu Jul 14, 2005 3:13 pm 
Newbie

Joined: Thu Jul 14, 2005 2:10 pm
Posts: 1
I am simpling trying to get Hibernate to use the Oracle sequence IT_PROGRAM_SEQ to generate the key for the IT_PROGRAM table.

ITProgram.hbm.xml file
...
<class name="ITProgram" schema="charon" table="IT_PROGRAM">
<id column="PROGRAM_SEQ" name="programSeq" type="long">
<generator class="sequence">
<param name="sequence">IT_PROGRAM_SEQ</param>
</generator>
</id>
...

The strange thing is I am getting this error as soon as I try to access the JSF page linked to the IT_PROGRAM backing bean.

Can someone shine some light on this for me.


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.