-->
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: Using Hibernate to Load Data From DB.
PostPosted: Fri Apr 22, 2011 3:04 pm 
Newbie

Joined: Fri Apr 22, 2011 2:52 pm
Posts: 1
Hi ppl,

This is my first post at this forum... hope in the right place! :)

So, this is my problem:

I have an application that needs to load all data from a given (configured) database.
So i'm expecting as inputs something like:
- jdbc url;
- username;
- password;
- DB Schema [optional];
- Driver class and dialect;

And what I need is "something" (I'm hoping Hibernate will do it!) to generate my the domain model as java classes;
Also, I need to grab all data existing in those tables and instantiate the previously generated classes with those data.

Can I do this using Hibernate?
Can you point me the direction in order to accomplish this task?

Thanks in advance!
Regards,
Pedro


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.