-->
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: Dynamic entity support
PostPosted: Tue Apr 10, 2012 3:28 pm 
Newbie

Joined: Tue Apr 10, 2012 3:17 pm
Posts: 1
Hi everyone!

We are trying to re-code an old java application written 10 years ago using pure JDBC. The idea is to model every element of the domain as a JPA Entity with Hibernate.

The application has tables such "Users", "Groups", etc that can be mapped to Entities using Annotations but others like "Docs_1", ..., "Docs_n" that are dinamically created during app usage.

So our questions are:

1) It is possible to map such tables with dynamic entities programmatically?

2) Is is possible to have a mix of "static" and "dinamic" mapped entities cohexisting in JPA code like queries, etc?

Thanks in advance!


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.