Free Online Whiteboard Base64 Converter JSON Utility SmartTool PDF

Category: Hibernate

What do you create a SessionFactory? 0

What do you create a SessionFactory?

It is as below : Configuration cfg = new Configuration(); cfg.addResource(“myinstance/MyConfig.hbm.xml”); cfg.setProperties( System.getProperties() ); SessionFactory sessions = cfg.buildSessionFactory(); First, we need to create an instance of Configuration and use that instance to refer to...

What is meant by Method chaining? 0

What is meant by Method chaining?

Method chaining is a programming technique that is supported by many hibernate interfaces. This is less readable when compared to actual java code. And it is not mandatory to use this format. Look how...

What are POJOs? 0

What are POJOs?

POJO stands for plain old java objects. These are just basic JavaBeans that have defined setter and getter methods for all the properties that are there in that bean. Besides they can also have...

What are Extension interfaces? 0

What are Extension interfaces?

When the built-in functionalities provided by hibernate is not sufficient enough, it provides a way so that user can include other interfaces and implement those interfaces for user desire functionality. These interfaces are called...

What are Callback interfaces? 0

What are Callback interfaces?

These interfaces are used in the application to receive a notification when some object events occur. Like when an object is loaded, saved or deleted. There is no need to implement callbacks in hibernate...