CodesJava

Easy learning with example program codes

Eclipse maven hibernate project

Eclipse maven hibernate project: Eclipse provides m2eclipse plugin to integrate Maven and Eclipse together. Steps to create maven java project in eclipse: In eclipse, click on File… Read More

How to log hibernate generated sql queries in log files?

We have to set hibernate.show_sql property in hibernate configuration. <property name="hibernate.show_sql">true</property><property name="hibernate.show_sql">true</property> Related topics What are the core components are of hibernate architecture? What is SessionFactory? Is… Read More

is hibernate session a thread-safe object?

No, hibernate session is not a thread-safe object. Related topics What are the core components are of hibernate architecture? What is SessionFactory? Is SessionFactory a thread-safe object?… Read More

what is session in hibernate?

The session object is created from the SessionFactory object. It is act as a factory for Transaction, Query and Criteria. Session objects are not thread-safe. It maintains… Read More

Is SessionFactory a thread-safe object?

Yes, SessionFactory a thread-safe object. Related topics What are the core components are of hibernate architecture? What is SessionFactory? Is SessionFactory a thread-safe object? What is Session?… Read More

what are the core components in hibernate?

• Configuration • SessionFactory • Session • Query • Criteria • Transaction Related topics What are the core components are of hibernate architecture? What is SessionFactory? Is… Read More


Copyright © 2018 CodesJava DMCA.com Protection Status SiteMap