Is it possible to create or retrieve an Hibernate 4 session factory if the database connection is defined in JPA's persistence.xml
rather than in hibernate.cfg.xml
? If yes, how?
質問する
1652 次
Is it possible to create or retrieve an Hibernate 4 session factory if the database connection is defined in JPA's persistence.xml
rather than in hibernate.cfg.xml
? If yes, how?