Unfortunately not. There is not stacktrace when compiling and deploying the application. The ElementCollection is working.
Only when opening the HQL-Editor the error comes. I go to "rebuild configuration". Then the branch of configuration, session factory and database is opened. The error is displayed in the SessionFactory branch:
"<SessionFactory error: Could not determine type for java.util.list for table, at table MY_TABLE, for columns: [org.hibernate.mapping.Column(PHONE_NUMBER)]"