1. Database changes done by one instance of an application is not being picked up another instance using Hibernate stackoverflow.comI have an application which can read/write changes to a database table. Another instance of the same application should be able to see the updated values in the database. i am ... |
2. Hibernate Session instances stackoverflow.comCan we have two instance of the session at the same time ?? |
3. Multiple Hibernate SessionFactory on Single server instance forum.hibernate.orgHi In my project Application uses Hibernate for persistence layer. This application consists of two modules These apps are deployed on websphere application server there are two seperate resource references for datasource created but both are pointing to the same database for One module hibernate is configured programmatically and the hbm files are different. another module hibernate is configured through config ... |
4. Session returning the wrong object instance. forum.hibernate.orgAuthor Message Acroo Post subject: Session returning the wrong object instance. Posted: Fri May 07, 2004 4:11 am Newbie Joined: Mon Apr 26, 2004 10:16 am Posts: 1 Hi I'm new to Hibernate and are having some problem. I have been looking for a solution all over this webpage but I guess I'm really stupied (because the solution is ... |
5. How to get the SessionFactory instance remotely forum.hibernate.orgHi, I'm wondering is that possible to use hibernate remotely. What I want to do is to have a hibernate service running on an application server and then retrive the sessionFactory from another machine so that I can establish a session from that machine. I deployed hibernate to Jboss, and the SessionFactory is binded to: +- hibernate (class: org.jnp.interfaces.NamingContext) +- HibernateFactory ... |
6. Instance uniqueness between sessions forum.hibernate.orgHi, I have a one to many relationship between 2 entities, let's say company and employee. Let's say that in the database, there are 2 employees E1 and E2 sharing the same company C (id = 1). I first load E1 and its company C1 (id = 1). I have E1.getCompany() = C1. Then, I load E2 and I want to ... |
7. One IdentifierGenerator instance by SessionFactory forum.hibernate.orgfgamito wrote: Hibernate version:3.0.5 I need to implement a IdentifierGenerator that must be one Singleton by SessionFactory. Anyone can explain the better way to do this ? fmg Assuming the goal is that you simply want to generate ids from the same pool and not that you really need a singleton (you don't have control over this since the framework is ... |
8. Startup times for multithreaded SessionFactory instances forum.hibernate.orgHibernate version: 3.1.2 Hi, My non-managed application needs to access two databases simultaneously. I've set up two threads, one for each database target, with separate Hibernate configurations and SessionFactory instances. Upon startup, the two Configuration instances overlap nicely with no serious time penalty. However, the two SessionFactory instances seem to block each other -- the startup time for both SessionFactory.buildSessionFactory() calls ... |
9. 1000 sessionfactory instances - possible? forum.hibernate.orgHi all, I have a system with over 1000 database instances - each instance with the same database schema. If I understand correctly, I need a sessionfactory object for each separate database. Is it possible to have 1000 sessionfactory objects loaded simultanously? 2000? 3000? Hardware limitations are quite high, that should not be a problem. Thanks |
10. Unable to get an instance of Session Factory forum.hibernate.orgHi, I am using hibernate version 3. I am unable to get an instance of session factory Code which I have written is : public class HibernateSession { private static SessionFactory sessionFactory; public static void main(String args[]) { AnnotationConfiguration an = new AnnotationConfiguration(); Configuration cf = an.configure(); System.out.println( "Got Configuration........"); sessionFactory = cf.buildSessionFactory(); ..... } } O/P which I am getting ... |