[jboss-user] [JBoss Seam] - Re: Upgrade from 1.1.6 to 1.2.1

dd_la_frime do-not-reply at jboss.com
Tue Apr 3 09:16:59 EDT 2007


If I modify the datatype of TEST_NUMBER column to integer, I have the next error :

15:14:04,062 WARN  [ServiceController] Problem starting service persistence.units:ear=deja10ans.ear,
  | unitName=deja10ans
  | javax.persistence.PersistenceException: org.hibernate.HibernateException: Wrong column type: TEST_TEXT, expected: varchar(255)
  |         at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:698)
  | 
  |         at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127)
  |         at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:264)

And this was working great on 1.1.6, again and again !

Christophe

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034071#4034071

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034071



More information about the jboss-user mailing list