From: | Miłosz Dobrowolski <milekdo(at)poczta(dot)onet(dot)pl> |
---|---|
To: | <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Hibernate |
Date: | 2003-11-16 22:40:06 |
Message-ID: | 007501c3ac92$9559aa30$ce4ffea9@milek |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Hello all !
I'm new to postgres and hibernate. I'm trying to make a small sample
application working with postgres via hibernate.
I have created a new database "example" in postgres.
I've made mapping files (xbm.xml)
I've made java classes
and I have the build.xml file
running ant seems to compile everything (I have .class files after that),
but running (also during executing ant) causes errors :
(i include "result.txt")
I have a postmaster running on a different console and
psql example
logs me to the database with no problem
The lines in hibernate.properties :
hibernate.dialect net.sf.hibernate.dialect.PostgreSQLDialect
hibernate.connection.driver_class org.postgresql.Driver
hibernate.connection.url jdbc:postgresql://localhost/example
hibernate.connection.username postgres
hibernate.connection.password postgres
also seems right...
Please help
( and if You could, keep Your answer as simple as possible :) - so that I can understand it :) )
Milosz Dobrowolski
Attachment | Content-Type | Size |
---|---|---|
result.txt | text/plain | 5.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Kris Jurka | 2003-11-17 00:42:09 | Re: junit failure? |
Previous Message | Larry Rosenman | 2003-11-16 19:44:00 | Re: 7.4RC2: CLASSPATH set breaks configure? |