-->
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.  [ 2 posts ] 
Author Message
 Post subject: not able to generate unique id's using hybernate
PostPosted: Mon Nov 17, 2003 2:38 am 
Newbie

Joined: Thu Nov 06, 2003 5:56 am
Posts: 1
hi
i have just started working with hibernate.
i am not able to generate unique id's for the generator class.
i am using pointbase server. i have tried generating the id's using all the classes mentioned in the net.sf.hibernate.id but was unsuccessful.
could anyone help me in this issue??
i tried to map a simple object called jet using this xml mapping
<hibernate-mapping>

<class name="com.ge.gefre.planningmodule.model.businessplan.Jet" table="JET">
<id name="id" type="number" unsaved-value="null" >
<column name="id" sql-type="integer(10)" not-null="true"/>
<generator class="net.sf.hibernate.id.Assigned"/>
</id>
<property name="description">
<column name="description" sql-type="character(50)" />
</property>
</class>
</hibernate-mapping>


i have used generator class as assigned since i was getting the message
"Pointbase dialect doesnot support this generator class"

please help

thanks
vivek


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 17, 2003 3:40 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Looking at the dialect it does not support sequences or identity generator though the rest should be OK.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.