[jboss-user] [JBoss Tools] - Re: Hibernate Tools does not support ElementCollection ?

Brian Topping do-not-reply at jboss.com
Thu Oct 28 20:53:23 EDT 2010


Brian Topping [http://community.jboss.org/people/topping] created the discussion

"Re: Hibernate Tools does not support ElementCollection ?"

To view the discussion, visit: http://community.jboss.org/message/568908#568908

--------------------------------------------------------------
How about this one:


Caused by: javax.persistence.PersistenceException: [PersistenceUnit: mauswerks] Unable to build EntityManagerFactory
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:677)
at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132)
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:225)
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:308)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1469)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1409)
... 63 more
Caused by: org.hibernate.MappingException: Could not determine type for: java.util.List, at table: Address, for columns: [org.hibernate.mapping.Column(addressLines)]
at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:292)
at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:276)
at org.hibernate.mapping.Property.isValid(Property.java:207)
at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:458)
at org.hibernate.mapping.SingleTableSubclass.validate(SingleTableSubclass.java:66)
at org.hibernate.cfg.Configuration.validate(Configuration.java:1149)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1334)
at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
... 68 more
 
Caused by: javax.persistence.PersistenceException: [PersistenceUnit: xxx] Unable to build EntityManagerFactory
 at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:677)
 at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132)
 at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:225)
 at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:308)
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1469)
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1409)
 ... 63 more
Caused by: org.hibernate.MappingException: Could not determine type for: java.util.List, at table: Address, for columns: [org.hibernate.mapping.Column(addressLines)]
 at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:292)
 at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:276)
 at org.hibernate.mapping.Property.isValid(Property.java:207)
 at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:458)
 at org.hibernate.mapping.SingleTableSubclass.validate(SingleTableSubclass.java:66)
 at org.hibernate.cfg.Configuration.validate(Configuration.java:1149)
 at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1334)
 at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
 at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
 ... 68 more
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/568908#568908]

Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101028/02a91ca8/attachment-0001.html 


More information about the jboss-user mailing list