-->
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: Hibernate upgrade Exception
PostPosted: Thu Aug 29, 2013 4:59 am 
Newbie

Joined: Thu Aug 29, 2013 4:51 am
Posts: 1
While upgrading from hibernate2 to 3.6. I removed hibernate2 version jars but while starting server getting below exception.

Env : Java 1.7, Jboss, EJB3

Code : Class I18NDescriptionType implements CompositeUserType{
@Override
public Type[] getPropertyTypes() {
return new Type[]{Hibernate.STRING};
}
}

java.lang.NoSuchFieldError: STRING
at com.jda.portfolio.infrastructure.server.database.types.I18NDescriptionType.getPropertyTypes(I18NDescriptionType.java:43)
at org.hibernate.type.CompositeCustomType.getColumnSpan(CompositeCustomType.java:160)
at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:253)
at org.hibernate.mapping.Collection.validate(Collection.java:278)
at org.hibernate.mapping.IndexedCollection.validate(IndexedCollection.java:67)
at org.hibernate.cfg.Configuration.validate(Configuration.java:1106)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1287)


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.