DataSource « Map « JPA Q&A





3. Hibernate Jndi datasource mapping problem    forum.hibernate.org

Dear all, Please help me i am using connection.datasource through jndi in hibernate.cfg file to connect database , it works fine . i lost connection after 8 hours if my application idle, so i used c3p0 in hibernate.cfg. c3p0 is working well if didnt use JNDI datasource . but i want to use JNDI and c3p0 in hibernate.cfg file MY configuration ...

4. Mapping entities from different datasources    forum.hibernate.org

Newbie Joined: Thu Dec 09, 2004 4:26 am Posts: 19 Location: Yorkshire, UK Hey Ho, Sorry if this is really easily answered but I've got my head in a spin.... I have an orders database and a legacy account database. I would like to be able to do Code: order.getAccount() and Code: account.getOrders() but because they are on different databases, I ...

5. Single class mapped to two datasources in Hibernate?    forum.hibernate.org

Hello, I've got a situation that somebody must've solved before, but unfortunately can't find anywhere in these forums. I have a persistant class with a large number of fields, between 20 and 25, that gets "derived" from one data source (think of this as a production DB), then persisted in another data source (a reporting DB). (I realize having the data ...