-->
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.  [ 2 posts ] 
Author Message
 Post subject: Dynamic Entities on Hibernate
PostPosted: Fri Sep 02, 2011 11:57 am 
Newbie

Joined: Fri Sep 02, 2011 11:41 am
Posts: 2
Hi buddies!

I'm programming with Hibernate and EJB 3.0 on JBoss 6.0. In my project, I have some tables that contains the definition for other tables (as table name, fields, data types, etc.). And I need to create these entities dynamically, ie at runtime. I found code Class.forName and EclipseLink and I think this is not what I need, I need to create a class(entity) from the data in my table and map this class on hibernate, after this, instantiate the new dynamic entity and assign values ​​to its properties and finally send the record to another database. Is this possible, if so, how I do it? Thank you for your help (Sorry for my bad english).


Top
 Profile  
 
 Post subject: Re: Dynamic Entities on Hibernate
PostPosted: Tue Jan 17, 2017 7:35 am 
Newbie

Joined: Tue Jan 17, 2017 7:32 am
Posts: 3
Hi quintero85,

I have ended up with the same problem that you had. Please let me know about your solution to the problem.

Thanks


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

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.