> Can you use Hibernate with an existing database?
Yes.
> 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
> 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