This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
hi, You said ::sample programs for Oracle. i search for examples all are in HSQL Database only. But hibernate is used to make your application decoupled from Database layer.So it should work with all databases with minor change in one Configuration file.This file is hibernate.cfg.xml.make few changes as shown below & your sample programs will be compatible with oracle DB.the configuration shown below is for Non-managed envioronment.plz find Dialects for different databases in hibernate-3.0\src\org\hibernate\dialect if you downloaded hhibernate3.For examples & other information see hibernate-3.0\doc\reference\en\pdf. <!-- Local connection properties --> <property name="connection.url"> jdbc racle:thin:@admini:1521 racle </property> <!-- driver Class --> <property name="hibernate.connection.driver_class"> oracle.jdbc.driver.OracleDriver </property>