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.