-->
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: MySQL Text Annotation Issue
PostPosted: Wed Jul 02, 2008 4:39 pm 
Newbie

Joined: Thu Mar 06, 2008 7:41 am
Posts: 3
I am using Seam to genernate Hibernate and we are running hibernate 3.2.4.Sp1

I am using MySQL 5 and I have several tables that use the Text datatype.

When I go to run those I have this issue:

ObjectName: persistence.units:ear=start-ear.ear,unitName=start
State: FAILED
Reason: javax.persistence.PersistenceException: org.hibernate.HibernateException: Wrong column type: CERT_NOTES, expected: varchar(65535)
I Depend On:
jboss.jca:service=DataSourceBinding,name=startDatasource


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 08, 2008 12:58 pm 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
Hi,

could you please provide some example code for the class containing the text datatype? I assume you are having an @Entity class with a certNote property.

--Hardy


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.