-->
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.  [ 3 posts ] 
Author Message
 Post subject: java.lang.AbstractMethodError: postgresql.DatabaseMetaData..
PostPosted: Mon Mar 29, 2004 6:51 am 
Newbie

Joined: Mon Mar 29, 2004 5:12 am
Posts: 2
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 !


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 29, 2004 7:41 am 
CGLIB Developer
CGLIB Developer

Joined: Thu Aug 28, 2003 1:44 pm
Posts: 1217
Location: Vilnius, Lithuania
download new driver pg73jdbc3.jar, it must work for pgsql 7.2 and hibernate without problems (this driver is "faster" too).


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 29, 2004 12:53 pm 
Newbie

Joined: Mon Mar 29, 2004 5:12 am
Posts: 2
That was the point. Thanks a lot !


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

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.