Free Online Whiteboard Base64 Converter JSON Utility SmartTool PDF

Category: Blog

What is Attribute Oriented Programming? 0

What is Attribute Oriented Programming?

XDoclet has brought the concept of attribute-oriented programming to Java. Until JDK 1.5, the Java language had no support for annotations; now XDoclet uses the Javadoc tag format (@attribute) to specify class-, field-, or...

What are the different types of property and class mappings? 0

What are the different types of property and class mappings?

– Typical and most common property mapping <property name="description" column="DESCRIPTION" type="string"/> Or <property name="description" type="string"> <column name="DESCRIPTION"/> </property> – Derived properties <property name="averageBidAmount" formula="( select AVG(b.AMOUNT) from BID b where b.ITEM_ID = ITEM_ID )"...

What is HQL? 0

What is HQL?

HQL stands for Hibernate Query Language. Hibernate allows the user to express queries in its own portable SQL extension and this is called as HQL. It also allows the user to express in native...

What is object/relational mapping metadata? 0

What is object/relational mapping metadata?

ORM tools require a metadata format for the application to specify the mapping between classes and tables, properties and columns, associations and foreign keys, Java types and SQL types. This information is called the...

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...