-->
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: Database That Uses ID Tables
PostPosted: Tue Nov 29, 2011 2:44 pm 
Newbie

Joined: Tue Nov 29, 2011 2:11 pm
Posts: 1
Location: Omaha, NE
The current project that I'm working on is taking an existing fat-client application and starting to move it's functionality to the web. One of the requirements is that I have to use the existing database. This database was originally designed in 1997 and with the exception of tables being added has changed very little since then. That being said, it does some peculair things. One of the things that it does is that it obtains primary key ids from something called an id generator table. For example, if I had a table called "ACTIONS" then there would be another table called "ACTIONS_ID_GENERATOR" that supplies the next available id. I'm trying to make this work with POJOs and annotations. Is this even possible? All of my Hibernate experience has been with databases that were pretty much designed to work with Hibernate. Any ideas on this would be appreciated.


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.