Hello!!
Please HELP.....
I am using C3PO as DBCP. I am now getting the following error:
java.lang.AbstractMethodError
at com.mchange.v2.sql.filter.FilterDatabaseMetaData.supportsResultSetType(FilterDatabaseMetaData.java:442)
at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:75)
at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1132)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:766)
at net.sf.hibernate.examples.quickstart.HibernateUtil.<clinit>(HibernateUtil.java:27)
at net.sf.hibernate.examples.quickstart.HibernateCatServlet.doGet(HibernateCatServlet.java:42)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
, java.vm.name=Java HotSpot(TM) Client VM, file.encoding=Cp1252, user.region=US,
java.specification.version=1.3, hibernate.show_sql=false, hibernate.c3p0.max_st
atements=100, hibernate.connection.pool_size=1}
16:03:26,339 INFO Configuration:613 - processing one-to-many association mappin
gs
16:03:26,609 INFO Configuration:622 - processing one-to-one association propert
y references
16:03:26,629 INFO Configuration:647 - processing foreign key constraints
16:03:26,930 INFO Dialect:82 - Using dialect: net.sf.hibernate.dialect.SybaseDi
alect
16:03:26,970 INFO SettingsFactory:58 - Maximim outer join fetch depth: 1
16:03:26,980 INFO SettingsFactory:62 - Use outer join fetching: true
16:03:27,010 INFO ConnectionProviderFactory:53 - Initializing connection provid
er: net.sf.hibernate.connection.C3P0ConnectionProvider
16:03:27,050 INFO C3P0ConnectionProvider:48 - C3P0 using driver: com.sybase.jdb
c.SybDriver at URL: jdbc:sybase:Tds:test.kenny.com:6078/TEST
16:03:27,080 INFO C3P0ConnectionProvider:49 - Connection properties: {user=test, password=test123}
16:03:27,400 INFO TransactionFactoryFactory:31 - Transaction strategy: net.sf.h
ibernate.transaction.JDBCTransactionFactory
16:03:27,451 INFO TransactionManagerLookupFactory:33 - No TransactionManagerLoo
kup configured (in JTA environment, use of process level read-write cache is not
recommended)
Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@415056 [ conn
ectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@7779
e3 [ acquireIncrement -> 1, autoCommitOnClose -> false, connectionTesterClassNam
e -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> n
ull, forceIgnoreUnresolvedTransactions -> false, idleConnectionTestPeriod -> 0,
initialPoolSize -> 5, maxIdleTime -> 5000, maxPoolSize -> 2, maxStatements -> 10
0, minPoolSize -> 5, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSo
urce@14e21 [ description -> null, driverClass -> null, factoryClassLocation -> n
ull, jdbcUrl -> jdbc:sybase:Tds:test.kenny.com:6078/TEST, properties -
> {user=test, password=test123} ] , propertyCycle -> 300, testConnectionOnCh
eckout -> false ] , factoryClassLocation -> null, numHelperThreads -> 3 ]
|