I'm a new user. I'm using:
WIN XP
Postgres 7.2.1 (jdbc6.3.jar)
2sdk1.4.2_02
hibernate-2.1
My hibernate.properties:
hibernate.dialect net.sf.hibernate.dialect.PostgreSQLDialect
hibernate.connection.driver_class postgresql.Driver
hibernate.connection.url jdbc:postgresql:template1
hibernate.connection.username user
hibernate.connection.password
hibernate.query.substitutions yes 'Y', no 'N'
I suppose it's trivial but when I try to "build eg" I get:
[java] 12:29:26,703 INFO TransactionManagerLookupFactory:33 - No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)
[java] java.lang.AbstractMethodError: postgresql.DatabaseMetaData.supportsResultSetType(I)Z
[java] at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:75)
[java] at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1119)
[java] at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:748)
[java] at org.hibernate.auction.Main.main(Main.java:363)
[java] Exception in thread "main"
I read FAQ and i didn't find any appropriate information.
Any ideas ?
Thanks for help !
|