Joined: Sun Nov 16, 2014 2:39 pm Posts: 1
|
Our domain model is extensible by the customer. I found this link from 2007 that explains how a dynamic component can be mapped to a table: http://www.infoq.com/articles/hibernate-custom-fields/#anch100871
Problem is that code there does not compile with the latest Hibernate version (4.3.7). Namely SimpleValue now inputs a mapping to its ctor.
I am currently researching hibernate so I have two questions:
1. How do I create an instance of SimpleValue on 4.3.7? 2. Overall, the described solution is extremely cumbersome. Has hibernate introduced an easier way to accomplish the same thing since 2007?
|
|