-
Book Overview & Buying
-
Table Of Contents
JDBC 4.0 and Oracle JDeveloper for J2EE Development
Create a Catalog class object and set values for the different fields of the Java class with the setter methods.
Catalog catalog=new Catalog();
catalog.setId("catalog 1");
catalog.setJournal("Oracle Magazine");
catalog.setPublisher("Oracle Publishing");
catalog.setEdition("Jan-Feb 2004");
catalog.setTitle("Understanding Optimization");
catalog.setAuthor("Kimberly Floss");
Interface org.hibernate.Session, the main runtime interface between a Java application and Hibernate, is used to create, update, and delete data in a database. A Session object is obtained from a SessionFactory. The SessionFactory interface provides openSession() methods to create a database connection and open a session on the connection, or open a session on a specified connection. The org.hibernate.cfg.Configuration class is used to specify configuration properties, JavaBean persistence class and mapping files to create a SessionFactory object. Create a Configuration object:
Configuration...
Change the font size
Change margin width
Change background colour