instance « Database « JPA Q&A





1. Multiple instances of hibernate using the same database    forum.hibernate.org

Hi there, I'm using two clients on different machines sharing the same database. The access to it is performed with a DAL that uses the framework Hibernate. The scenario is as follows, starting the client A and do reads and writes on the database, then start the client B. After I can not read or write in the database with the ...

2. Hibernate and multiple db instances    forum.hibernate.org

3. Multiple databases on same database instance    forum.hibernate.org

Should be any easy one, but I couldn't find anything in the docs. I'm using v2 Hibernate with MySQL. I have a single database installation, but multiple logical databases within it which my app needs to interact with - seperate, self-contained, "data universes". With JDBC you can switch from one database to the next dynamically using conn.setCatalog(). Using Hibernate, do I ...

4. Reading from multiple database instances    forum.hibernate.org

Hi All In my ASP application I need to read data from multiple database instances. Each instance has exact same schema in it ( need to do so for some demanding customers). Can I read from multiple instances of database in hibernate. Please let me know. A sample will be wonderfull. bib/-

5. Multiple instances of hibernate sharing DB    forum.hibernate.org

Ive recently started on a project and the existing physical architecture is to have a DB on the server and a (single) client on a seperate machine with hibernate on the client talking to the server over JDBC. While this works fine for one client, we will be adding multiple clients (covering different business functions) very soon now. I am in ...

7. Synchronize java instances with the database    forum.hibernate.org

Hello, I'm using Hibernate v3.2.0 GA and HSQLDB V1.8.0.7. I'm also using Spring to manage the transactions with the DB. I have a class called "Tournoi" that is mapped in DB. There is a collection called matches which is an association to a class called "Match" that is also mapped. The Tournoi class has also an association to another mapped class ...

8. Instances in memory and in DB    forum.hibernate.org

Hey, Although it looks like a real simple question, I want to ensure Ive chosen the best solution. Ive two Classes A and B and which has reference to the same(!) instance of class C. The cascade type of C in both A and B, includes cascade.persist. In my test, Ive created instance of A and an instance of B, as ...

9. Issue while starting db2 instance    forum.hibernate.org

Hi Experts, We are using "DB2 v9.5.0.4" on AIX platform. Due to notaion problem our client deleted the db2adm group from server and created a new one. And assigned this new group to the instance owner. Now while starting the instance we are getting following error: SQL1092N "DB2INST1" does not have the authority to perform the requested command. We have change ...