-->
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: Could not generate Schema from JPA annotated entities
PostPosted: Wed Oct 21, 2009 1:03 am 
Newbie

Joined: Wed Oct 21, 2009 12:48 am
Posts: 1
Dear All,

i did reverse engineering in myeclipse7 to generate JPA annotated entities using oracle9i database.

i tried to generate the database schema through JPA annonated entities
in mysql using the following entries in persistence.xml

<property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>
<property name="hibernate.hbm2ddl.auto" value="update"/>

i entered every concerned property related to MySql.

but i get the following exception

java.lang.ClassCastException: org.hibernate.action.DelayedPostInsertIdentifier cannot be cast to java.math.BigDecimal

can n e one explain this problem ??

any help vl be highly appreciated..

Regards,
Abbasi.


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.