-->
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: How can I use AD-HOC tables with Hibernate
PostPosted: Fri Mar 20, 2009 4:55 pm 
Newbie

Joined: Thu Dec 30, 2004 7:44 am
Posts: 15
I have a system where i have a number of well defined tables that are mapped to hibernate normally through their interfaces. All of this works just fine. However, what I want to do is add the capability for users to define new tables with a web based interface. The user would connect to the ad-hoc data part of the web application and define new types of items. For example I might define a Customer item as having a name and phone number. Then the engine would create a database table for that type of data and then allow the user to create new records, view the records and so on. Essentially I want the user to be able to create tables on the fly and use them.

Is there any way I can do this easily with hibernate. I dont want to do on the fly byte code generation as that seems heavyweight but I would like to use HQL to access the user defined tables.

Any ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 23, 2009 5:42 pm 
Newbie

Joined: Thu Dec 30, 2004 7:44 am
Posts: 15
does no one know?


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.