-->
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.  [ 4 posts ] 
Author Message
 Post subject: hibernate allow dynamic bytecode gen POJO injection ?
PostPosted: Wed Jun 04, 2008 1:24 pm 
Newbie

Joined: Wed Jun 04, 2008 1:20 pm
Posts: 4
hi,
i want to try and embed/di a bytecode genned java object into an existing hibernate pojo graph. is there anyway i can hook into the way hib uses cglib or i can embed it like in EJB3.0. the object/s which i want to embed will have associative relations to the hibernate pojos but becos i use a metadata driven application i cannot create hbm files for them...

someone please advise ?

TIA


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 06, 2008 2:15 am 
Newbie

Joined: Wed Jun 04, 2008 1:20 pm
Posts: 4
does the post make sense at all ? or i need to repost somewhere else ?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 06, 2008 11:56 am 
Expert
Expert

Joined: Tue May 13, 2008 3:42 pm
Posts: 919
Location: Toronto & Ajax Ontario www.hibernatemadeeasy.com
Is there a common parent class or interface that these metadata generated objects implement or extend? Perhaps that could be the basis of your object mapping?

_________________
Cameron McKenzie - Author of "Hibernate Made Easy" and "What is WebSphere?"
http://www.TheBookOnHibernate.com Check out my 'easy to follow' Hibernate & JPA Tutorials


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 06, 2008 12:08 pm 
Newbie

Joined: Wed Jun 04, 2008 1:20 pm
Posts: 4
we are currently in the relational world and are wondering if usage of hibernate may affect development deadlines.
the relational schema has entities with associations between them. the objective is to bind certain data objects to one of these entities. the data objects dont have a mapping of any kind to the entities other than through the relational model. e.g., if i have a entity workflow in relational schema, it will relate to the busobj_entitytemplate entity in the relational schema which in turn has 1ormore busobj_entitytemplatefieldmap. the busobj_entitytemplatefieldmap contains for the purpose of the busobj_entitytemplate the definitive list of fields which the template can contain and typically would include the field_name and the field_type which are represented as separate tables in the relational schema. we also have fieldvaluetype tables representing strings, dates and numbers etc...
do u need more information on this ?

regards...........


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.