-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate support for Custom Domain Object Fields
PostPosted: Sun Nov 16, 2014 2:45 pm 
Newbie

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?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.