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&...]