Legacy « Database « JPA Q&A





1. Using hibernate with existing database    stackoverflow.com

I want to use hibernate against an existing database. I need to mostly read data from the db and very occasionally modify a field. I want to be able to update ...

2. Hibernate vs Legacy DataBases    coderanch.com

Yes we can. Hibernate uses JDBC, so as far as the low level connection stuff is concerned there is no difference.The complications depend on the database. By "legacy" I infer poorly modelled. Hibernate is fairly strict when it comes to relational databases that are not actually relational (e.g. entities without primary keys) so there may need to be some compromises made. ...

3. Legacy Database Blues    forum.hibernate.org

The only documentation I find seems to be with object --> table mappings. I'm dealing with an old relational database so our current business objects (POJO's) would map to multiple tables. (It looks as though I can only map to 1 table) Where's the best place to go from here? If I need to make new business objects, I don't see ...

4. Help with legacy db    forum.hibernate.org

setting up relationships between classes such as Users, Group Group Contains name:String description:String User Contains email:String password:String A a one-to-many relationship exists between Groups and Users, since a group has many users. Users can exists outside of a group; that is, aggregation not composition (in database speak no cascade delete relationship exists between Groups and Users). Group contains User. One-to-many Aggregation ...

5. legacy db with hibernate    forum.hibernate.org

hello, i have a legacy db schema (firebird) and also the corresponding pojo classes. All i want is hook up the db with hibernate and show the content of one of the tables. For example I've a member table and want to show all members in the jsp page and also add new members to it. Which files do i need ...

6. using Hibernate in a legacy Database    forum.hibernate.org

Hi, we are using hibernate ina legacy database. We are learning hibernate; is very powerfull so you can really address every issue. The problem is how to be on sync with database. The legacy database change and if we change auto generated xml file we bust be very carefull. So we are thinking, to use two software layer. The fisrt is ...