-->
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: Problem mit Postgresql und C3P0
PostPosted: Thu Oct 20, 2005 5:17 am 
Newbie

Joined: Thu Oct 13, 2005 10:25 am
Posts: 19
Location: Germany, Hamburg
Hibernate version: 3

Hallo, ich habe ein Problem mit meiner Datenbankconnection. Beim Versuch der Speicherung kommt erst folgende Meldung:

INFO: loaded properties from resource hibernate.properties: {hibernate.c3p0.timeout=6000, hibernate.connection.driver_class=org.postgresql.Driver, hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider, hibernate.c3p0.max_statements=10, hibernate.c3p0.max_size=6, hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect, hibernate.c3p0.min_size=3, hibernate.connection.username=xxx, hibernate.connection.url=jdbc:postgresql://homer/xxx, hibernate.show_sql=true, hibernate.connection.password=xxx}

Die deute ich so, dass der Treiber bzw. der Connection Pool initialisiert wurde.
Dann kommt aber folgender Fehler

Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0" java.lang.AbstractMethodError: org.postgresql.jdbc1.Jdbc1Connection.getTypeMap()Ljava/util/Map;
at com.mchange.v2.c3p0.impl.NewPooledConnection.<init>(NewPooledConnection.java:92)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:107)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C3P0PooledConnectionPool.java:89)
at com.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResourcePool.java:665)
at com.mchange.v2.resourcepool.BasicResourcePool.access$500(BasicResourcePool.java:32)
at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1206)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:368)


Was sagt mir dieser Fehler und wie kann ich diesen beheben?
Gruß,
Jan


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 20, 2005 5:32 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Quote:
org.postgresql.jdbc1.Jdbc1


Uh? Wenn mich nicht alles taeuscht ist das ein JDBC 1 (!) Treiber. Ich wuerde es mit einem nicht ganz so verstaubten probieren.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 20, 2005 5:42 am 
Newbie

Joined: Thu Oct 13, 2005 10:25 am
Posts: 19
Location: Germany, Hamburg
Guter Tipp, danke. Dort lagen mehrere rum und er hat den herangezogen. Habe jetzt mal aufgeräumt.
Gruß,
Jan


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.