Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2005

Tip: Looking for answers? Try searching our database.

Simple Hibernate question

Thread view: 
fishfry - 22 Jul 2005 03:06 GMT
 Can you use Hibernate with an existing database? Or does Hibernate
create all the tables it needs to, and you are not supposed to mess with
the db yourself?
Alan Krueger - 22 Jul 2005 05:27 GMT
> Can you use Hibernate with an existing database?

Yes.
Bryce - 22 Jul 2005 18:18 GMT
>  Can you use Hibernate with an existing database? Or does Hibernate
>create all the tables it needs to, and you are not supposed to mess with
>the db yourself?

Hibernate works great with an existing database.

--
now with more cowbell
Nic - 26 Jul 2005 08:21 GMT
>   Can you use Hibernate with an existing database? Or does Hibernate
> create all the tables it needs to, and you are not supposed to mess with
> the db yourself?

Hibernate uses existing tables. It does not create tables.
You have to create POJO classes to create Hibernate classes.
Bye,
Nic
Adam Maass - 26 Jul 2005 15:52 GMT
>>   Can you use Hibernate with an existing database? Or does Hibernate
>> create all the tables it needs to, and you are not supposed to mess with
[quoted text clipped - 4 lines]
> Bye,
> Nic

Actually, up to you. You can use Hibernate against an existing schema, or
you can have it (or rather, some tools) generate the schema for you.

-- Adam Maass


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.