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?
Is it possible to create or retrieve an Hibernate 4 session factory if the
Share
There are a lot of info of this, for example you can use this:
Source:
source