Sandeeps Blog
AJAX, J2EE, OO Design, AOP, BI, Data Mining
Steps to run Hibernate with Oracle 10.2





  1. Download and install Oracle 10.2 database



  2. Unlock scott user account, set password to tiger


  3. Grant dba to scott as Hibernate sample will create table and constraints


  4. Install JDK 1.4 and the JDK bin directory to your path


  5. Download Hibernate 2.1 and unzip to c:\hibernate


  6. Download Apache Ant and unzip to c:\ant


  7. Edit c:\hibernate\hibernate-2.1\etc\hibernate.properties, comment out the Oracle section, set user to scott, password to tiger, set JDBC URL


  8. Copy /jdbc/lib/ojdbc14.jar to c:\hibernate\hibernate-2.1\lib


  9. Edit c:\hibernate\hibernate-2.1\build.bat to point to ojdbc14.jar


  10. Run c:\hibernate\hibernate-2.1\build eg this will create the table and then run the application


  11. Java source code is in the eg directory
2006-06-05 17:56:48 GMT
1