what's the best practice to config Hibernate-Spring for multiple database relationship?

Posted by nazila on Stack Overflow See other posts from Stack Overflow or by nazila
Published on 2010-04-07T04:49:22Z Indexed on 2010/04/07 4:53 UTC
Read the original article Hit count: 248

Filed under:
|
|
|
|

We have a main mysql database which all of the applications within our organization need the data within this database. How can I config my java web application to use this database with it's specific database when I use Spring and Hibernate within my application? How can I config JPA annotations for example between CONTRACT table within my database and COUNTRY table within our main database? what's the best practice to do this?

© Stack Overflow or respective owner

Related posts about spring

Related posts about hibernate