]
Jeff MAURY updated JBIDE-19790:
-------------------------------
Fix Version/s: 4.6.x
(was: 4.5.x)
Limit the possible Hibernate runtime choices to only the supported
ones in the JPA generation dialogs
-----------------------------------------------------------------------------------------------------
Key: JBIDE-19790
URL:
https://issues.jboss.org/browse/JBIDE-19790
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: hibernate
Affects Versions: 4.3.0.Alpha2
Reporter: Koen Aers
Assignee: Koen Aers
Fix For: 4.3.x, 4.6.x
- Create a maven project
- Add hibernate-entitymanager dependencies (I used version 4.3.9.Final)
- Convert into JPA project: choose JPA 2.1 with the Hibernate platform
- JPA Tools -> Generate Entities from Tables
-- Do not use Console Configuration
-- Choose anything else than 4.3 for the Hibernate version
=> The dialog will fail because no console configuration can be created for the chosen
Hibernate version
- The same problem is present when generating the DDL from the entities and disabling the
console configuration use
- The dropdown in the generation dialog should only offer Hibernate versions that are
compatible with the chosen JPA version