Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Object Relational Mapping
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Object Relational Mapping
Hibernate Mapping same schema
James Hsiao
Greenhorn
Posts: 1
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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.
@Entity public class table1{ @Id @Column(name="name") private String name; @Column(name="age") private String age; //getters setters }
Bill Gorder
Bartender
Posts: 1682
7
I like...
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Have a look at
https://coderanch.com/t/492558/ORM/databases/Mapping-POJO-table-Hibernate-XML
and
https://coderanch.com/t/598699/ORM/databases/commit-transaction-multi-databases-schema
[
How To Ask Questions
][
Read before you PM me
]
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Why? uniqueConstraints is not working!
How to query a value typed object
Hibernate, Inheritance of entities.. One table too much..
Not-unique unique column
Hibernate: adding underscore to attibute names
More...