Or you can click the link below to proceed:
Hibernate Configuration
Currently, I would prefer separating hibernate configuration into 2 files. With this, we can use spring to integrate and reuse the properties stated with EL. hibernate.cfg.xml <hibernate-config uration> <session-factory name="java:hibernate /SessionFactory"> <mapping resource="com/gl/dao /Country.hbm.xml"> ; </mapping>< /session-factory> </hibernate-confi guration> hibernate.properties hibernate.connection .driver_class=com.my sql.jdbc.Driver hibernate.connection .url=jdbc:mysql://12 7.0.0.1:3306/glapp hibernate.connection .username=root hibernate.connection .password=password hibernate.current_se ssion_context_class= thread hibernate.query.fact ory_class=org.hibern ate.hql.classic.Clas sicQueryTranslatorFa ctory hibernate.dialect=or g.hibernate.dialect. MySQL5Dialect hibernate.show_sql=t rue
Want to be redirected immediately?
Register yourself at Ping.sg to get rid of this page and also to get your read counted as Pong.