-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: [beginner]question about Hibernate startup
PostPosted: Mon Nov 08, 2004 8:02 pm 
Newbie

Joined: Mon Nov 08, 2004 6:49 pm
Posts: 1
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.