2. hibernate.cfg.xml connecto to a database behind a proxy forum.hibernate.orgHello all, I have been looking for a parameter to add to my hibernate.cfg.xml just to be able to connect to my database though a proxy, and I cant find it any where! I can connect when the database is at localhost and everything works fine, but when I build the database in a computer out of my network, and I ... |
3. how to configure two databases in hibernate.cfg forum.hibernate.org |
4. Can I map more than one database on the same hibernate.cfg? forum.hibernate.orgIf same db server but a different schema, you could specify the [schema="xxxx"] attribute in .hbm.xml file. This is not very flexible but it will work. I don't know what your database provides, but you might be able to unify the databases so that it looks like a single db. On DB2/400, we can create an Alias -- a pointer in ... |
5. Accessing 2 databases through 2 cfg files forum.hibernate.orgHi, Here is the scenario: There is application running and it uses Hibernate for persistency. The application is connected to Database 1. Im trying to add a new flow to that application. The front end will be connected to a different Database (i.e. Database 2). The existing code (for flow 1) is inaccessible and I cannot modify the existing cfg file. ... |