Hibernate version: 2.1.6
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using: Oracle8i 7
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
For some reason I am using JDK 1.3, Windows 2000, no Ant
I am following the road map - Getting started - day 1
1. Download Hibernate2.1 from this website.
extract zip to C:\ change dir name hibernate-2.1 to \hibernate, everything under this hibernate directory, no Hibernate-2.1 directory, is it OK?
Do i need to run build.bat at this time?
I am using remote Oracle DB, so could I modify this file build.bat to :
set JDBC_DRIVER=C:\oracle\ora81\jdbc\lib\classes12.zip
2. place your JDBC driver jar file in the lib directory:
the oracle idbc is zip file, is it OK for hibernate? place it java lib or hibernate\lib?
3. edit etc/hibernate.properties
## Oracle
#hibernate.dialect net.sf.hibernate.dialect.Oracle9Dialect
hibernate.dialect net.sf.hibernate.dialect.OracleDialect
hibernate.connection.driver_class oracle.jdbc.driver.OracleDriver
hibernate.connection.username time_test
hibernate.connection.password abcd
hibernate.connection.url jdbc:oracle:thin:@lestat:1521:time
is that right?
4. there is no install dir, cause no Ant on my machine, I run "build eg".
got "Build Failed" message.
I'm just wondering any wrong above?
another new-bie question: If I use Eclipse with Hibernate Sychornisor plugin, do i need install hibernate on my machine?
thanks
|