File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes Hibernate Mapping same schema Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate Mapping same schema" Watch "Hibernate Mapping same schema" New topic
Author

Hibernate Mapping same schema

James Hsiao
Greenhorn

Joined: Dec 12, 2012
Posts: 1
have a hibernate project, and many database tables with the same schema. I am trying to map it to one single entity bean is that possible?

My Entity beans looks something like this.

Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1649
    
    7

Have a look at

http://www.coderanch.com/t/492558/ORM/databases/Mapping-POJO-table-Hibernate-XML
and
http://www.coderanch.com/t/598699/ORM/databases/commit-transaction-multi-databases-schema


[How To Ask Questions][Read before you PM me]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate Mapping same schema