[jboss-user] [JBoss Tools] - Hibernate Tools does not support ElementCollection ?
nimo stephan
do-not-reply at jboss.com
Thu Sep 23 03:15:45 EDT 2010
nimo stephan [http://community.jboss.org/people/nimo22] created the discussion
"Hibernate Tools does not support ElementCollection ?"
To view the discussion, visit: http://community.jboss.org/message/563224#563224
--------------------------------------------------------------
I have something like this:
@ElementCollection
@CollectionTable(
name="PHONE"
)
@Column(name="PHONE_NUMBER")
private List<String> phones;
within an entity. The Tables are all successfully generated by JPA (Hibernate).
However, when opening the Hibernate Tools SessionFactory, I get this error:
*"Could not determine type for java.util.list for table, at table MY_TABLE, for columns: [org.hibernate.mapping.Column(PHONE_NUMBER)]"*
Does this error come from +Hibernate Tools+ or Hibernate ? +Hibernate+ still generates this tables without complaining. But +Hibernate Tools+ complains.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/563224#563224]
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/20100923/d9e5e545/attachment.html
More information about the jboss-user
mailing list