Hi All,
I am trying to configure Hibernate with PostgreSQL 8.0.0, and I am
following the "Getting Started" instructions as shown here:
http://www.hibernate.org/152.html
I was able to download, unpask hibenate, placed the JDBC driver for
PostgreSQL (for jdk 1.5 and PostgreSQL 8.0.0)
postgresql-8.0-311.jdbc3.jar in the lib folder of hibernate3.0.
Next I edited the hibernate.properties file which looks like this:
## PostgreSQL
hibernate.dialect org.hibernate.dialect.PostgreSQLDialect
hibernate.connection.driver_class org.postgresql.Driver
hibernate.connection.url jdbc:postgresql://u15.mm.com:5432
hibernate.connection.username postgres
hibernate.connection.password *********
#hibernate.query.substitutions yes 'Y', no 'N'
Then I copied the antlr-2.7.5H3.jar and the junit-3.8.1.jar files to
the ANT_HOME/lib folder
Later when I try to run the sample eg , it gives me the following error:
ant eg
Buildfile: build.xml
BUILD FAILED
file:/a/data/downloads/hibernate-3.0/build.xml:92: taskdef class
org.apache.tools.ant.taskdefs.optional.ANTLR cannot be found
Total time: 0 seconds
Is theres anythign I am missing ??? I would be pleased if anyone can
point our my mistake, also if someone knows of a more detailed
documentation on this.
All comments and suggestions appreicated. Thanks in advance.
Regards,