|
The problem still exists with spring 4.1.6.RELEASE and both hibernate 4.3.10.Final and 5.0.0.CR1.
Test case:
-
create two tables a and b with identical primary keys,
-
add a foreign key to table b referencing the primary key of table a,
-
add some records to the tables,
-
use spring roo (1.3.1.RELEASE) to reverse engineer the table, create JPA entities and MVC,
-
run the generated code in tomcat. On trying to list the contents of one of the tables, the org.hibernate.TypeMismatchException is raised.
I will attach sample DDL and sources to this issue.
|