Book Image

JDBC 4.0 and Oracle JDeveloper for J2EE Development

Book Image

JDBC 4.0 and Oracle JDeveloper for J2EE Development

Overview of this book

Table of Contents (20 chapters)
JDBC 4.0 and Oracle JDeveloper for J2EE Development
Credits
About the Author
About the Reviewer
Preface

Summary


Object/relational mapping without a database persistence and query service requires JDBC API and vendor-specific SQL scripts to create, update, delete database tables. With Hibernate the JDBC API and the SQL scripts are not required. Hibernate generates the SQL script to add, retrieve, update, and delete data from a database. Hibernate provides the net.sf.hibernate.tool.hbm2java.Hbm2JavaTask Apache Ant build task to generate a JavaBean class from a hbm.xml configuration file and the org.hibernate.tool.hbm2ddl.SchemaExportTask Apache Ant build task to generate a database table from a hbm.xml configuration file.