db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acemcclou...@comcast.net
Subject Re: Hibernate problems with snapshot
Date Mon, 17 Jan 2005 16:58:35 GMT
> > So back to my question. Why would the snapshot version of Derby be
> unable to open a database when all I did was change my class path to
> reference the snapshot version instead of the 10.0.2.1 version?
> 
> Can you provide more details, like the exceptions you see.

See the bottom of this message. I have included the complete output from one of the failing
tests (they all fail in the same way, so I figured that it wouldn't matter which one In included).

> Also if you could post details of the failures when running 10.0.2.1,
> that would be great!

Since these should mostly be legitimate problems, I will post them one at a time.


--------------------------------------------------------------------------------
Jan 17, 2005 11:56:12 AM org.hibernate.cfg.Environment <clinit>
INFO: Hibernate 3.0 beta 1
Jan 17, 2005 11:56:12 AM org.hibernate.cfg.Environment <clinit>
INFO: hibernate.properties not found
Jan 17, 2005 11:56:12 AM org.hibernate.cfg.Environment <clinit>
INFO: using CGLIB reflection optimizer
Jan 17, 2005 11:56:12 AM org.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
Jan 17, 2005 11:56:12 AM org.hibernate.cfg.Configuration addResource
INFO: Mapping resource: org/hibernate/test/batchfetch/ProductLine.hbm.xml
Jan 17, 2005 11:56:13 AM org.hibernate.cfg.HbmBinder bindRootClass
INFO: Mapping class: org.hibernate.test.batchfetch.ProductLine -> ProductLine
Jan 17, 2005 11:56:13 AM org.hibernate.cfg.HbmBinder bindRootClass
INFO: Mapping class: org.hibernate.test.batchfetch.Model -> Model
Jan 17, 2005 11:56:13 AM org.hibernate.dialect.Dialect <init>
INFO: Using dialect: org.hibernate.dialect.DerbyDialect
Jan 17, 2005 11:56:13 AM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing extends queue
Jan 17, 2005 11:56:13 AM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing collection mappings
Jan 17, 2005 11:56:13 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
INFO: Mapping collection: org.hibernate.test.batchfetch.ProductLine.models -> Model
Jan 17, 2005 11:56:13 AM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing association property references
Jan 17, 2005 11:56:13 AM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing foreign key constraints
Jan 17, 2005 11:56:13 AM org.hibernate.dialect.Dialect <init>
INFO: Using dialect: org.hibernate.dialect.DerbyDialect
Jan 17, 2005 11:56:13 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Generate SQL with comments: disabled
Jan 17, 2005 11:56:13 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL updates by primary key: disabled
Jan 17, 2005 11:56:13 AM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
INFO: Query translator: org.hibernate.hql.classic.ClassicQueryTranslatorFactory
Jan 17, 2005 11:56:13 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query language substitutions: {}
Jan 17, 2005 11:56:13 AM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Using Hibernate built-in connection pool (not for production use!)
Jan 17, 2005 11:56:13 AM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Hibernate connection pool size: 20
Jan 17, 2005 11:56:13 AM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: autocommit mode: false
Jan 17, 2005 11:56:14 AM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: using driver: org.apache.derby.jdbc.EmbeddedDriver at URL: jdbc:derby:testDB
Jan 17, 2005 11:56:14 AM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: connection properties: {}
Jan 17, 2005 11:56:14 AM org.hibernate.cfg.SettingsFactory buildSettings
WARNING: Could not obtain connection metadata
SQL Exception: Failed to start database 'testDB', see the next exception for details.
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java)
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java)
	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java)
	at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(EmbedConnection.java)
	at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(EmbedConnection.java)
	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.java)
	at org.apache.derby.impl.jdbc.EmbedConnection20.<init>(EmbedConnection20.java)
	at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(EmbedConnection30.java)
	at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Driver30.java)
	at org.apache.derby.jdbc.Driver169.connect(Driver169.java)
	at java.sql.DriverManager.getConnection(DriverManager.java:512)
	at java.sql.DriverManager.getConnection(DriverManager.java:140)
	at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110)
	at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:121)
	at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1367)
	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:989)
	at org.hibernate.test.TestCase.buildSessionFactory(TestCase.java:89)
	at org.hibernate.test.TestCase.setUp(TestCase.java:112)
	at junit.framework.TestCase.runBare(TestCase.java:125)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.textui.TestRunner.doRun(TestRunner.java:116)
	at com.intellij.rt.execution.junit2.IdeaJUnitAgent.doRun(IdeaJUnitAgent.java:57)
	at junit.textui.TestRunner.start(TestRunner.java:172)
	at com.intellij.rt.execution.junit.TextTestRunner2.startRunnerWithArgs(TextTestRunner2.java:23)
	at com.intellij.rt.execution.junit2.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:97)
	at com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
Jan 17, 2005 11:56:14 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Scrollable result sets: disabled
Jan 17, 2005 11:56:14 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC3 getGeneratedKeys(): disabled
Jan 17, 2005 11:56:14 AM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
INFO: Using default transaction strategy (direct JDBC transactions)
Jan 17, 2005 11:56:14 AM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional
second-level cache is not recommended)
Jan 17, 2005 11:56:14 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic flush during beforeCompletion(): disabled
Jan 17, 2005 11:56:14 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic session close at end of transaction: disabled
Jan 17, 2005 11:56:14 AM org.hibernate.cfg.SettingsFactory createCacheProvider
INFO: Cache provider: org.hibernate.cache.EhCacheProvider
Jan 17, 2005 11:56:14 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Second-level cache: enabled
Jan 17, 2005 11:56:14 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Optimize cache for minimal puts: disabled
Jan 17, 2005 11:56:14 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query cache: disabled
Jan 17, 2005 11:56:14 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Statistics: disabled
Jan 17, 2005 11:56:14 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Deleted entity synthetic identifier rollback: disabled
Jan 17, 2005 11:56:15 AM org.hibernate.impl.SessionFactoryImpl <init>
INFO: building session factory
Jan 17, 2005 11:56:15 AM net.sf.ehcache.config.Configurator configure
WARNING: No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the
classpath: jar:file:/D:/Program%20Files/hibernate-3.0beta1/hibernate-3.0/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
Jan 17, 2005 11:56:15 AM org.hibernate.cache.EhCacheProvider buildCache
WARNING: Could not find configuration [org.hibernate.test.batchfetch.Model]; using defaults.
Jan 17, 2005 11:56:15 AM org.hibernate.cache.EhCacheProvider buildCache
WARNING: Could not find configuration [org.hibernate.test.batchfetch.ProductLine]; using defaults.
Jan 17, 2005 11:56:16 AM org.hibernate.cache.EhCacheProvider buildCache
WARNING: Could not find configuration [org.hibernate.test.batchfetch.ProductLine.models];
using defaults.
Jan 17, 2005 11:56:16 AM org.hibernate.impl.SessionFactoryObjectFactory addInstance
INFO: Not binding factory to JNDI, no JNDI name configured
Jan 17, 2005 11:56:16 AM org.hibernate.dialect.Dialect <init>
INFO: Using dialect: org.hibernate.dialect.DerbyDialect
Jan 17, 2005 11:56:16 AM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing extends queue
Jan 17, 2005 11:56:16 AM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing collection mappings
Jan 17, 2005 11:56:16 AM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing association property references
Jan 17, 2005 11:56:16 AM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing foreign key constraints
Jan 17, 2005 11:56:16 AM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing extends queue
Jan 17, 2005 11:56:16 AM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing collection mappings
Jan 17, 2005 11:56:16 AM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing association property references
Jan 17, 2005 11:56:16 AM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing foreign key constraints
Jan 17, 2005 11:56:16 AM org.hibernate.tool.hbm2ddl.SchemaExport execute
INFO: Running hbm2ddl schema export
Jan 17, 2005 11:56:16 AM org.hibernate.tool.hbm2ddl.SchemaExport execute
INFO: exporting generated schema to database
Jan 17, 2005 11:56:16 AM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Using Hibernate built-in connection pool (not for production use!)
Jan 17, 2005 11:56:16 AM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Hibernate connection pool size: 20
Jan 17, 2005 11:56:16 AM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: autocommit mode: false
Jan 17, 2005 11:56:16 AM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: using driver: org.apache.derby.jdbc.EmbeddedDriver at URL: jdbc:derby:testDB
Jan 17, 2005 11:56:16 AM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: connection properties: {}
Jan 17, 2005 11:56:16 AM org.hibernate.tool.hbm2ddl.SchemaExport execute
SEVERE: schema export unsuccessful
SQL Exception: Failed to start database 'testDB', see the next exception for details.
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java)
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java)
	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java)
	at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(EmbedConnection.java)
	at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(EmbedConnection.java)
	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.java)
	at org.apache.derby.impl.jdbc.EmbedConnection20.<init>(EmbedConnection20.java)
	at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(EmbedConnection30.java)
	at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Driver30.java)
	at org.apache.derby.jdbc.Driver169.connect(Driver169.java)
	at java.sql.DriverManager.getConnection(DriverManager.java:512)
	at java.sql.DriverManager.getConnection(DriverManager.java:140)
	at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110)
	at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:123)
	at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:86)
	at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:239)
	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:990)
	at org.hibernate.test.TestCase.buildSessionFactory(TestCase.java:89)
	at org.hibernate.test.TestCase.setUp(TestCase.java:112)
	at junit.framework.TestCase.runBare(TestCase.java:125)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.textui.TestRunner.doRun(TestRunner.java:116)
	at com.intellij.rt.execution.junit2.IdeaJUnitAgent.doRun(IdeaJUnitAgent.java:57)
	at junit.textui.TestRunner.start(TestRunner.java:172)
	at com.intellij.rt.execution.junit.TextTestRunner2.startRunnerWithArgs(TextTestRunner2.java:23)
	at com.intellij.rt.execution.junit2.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:97)
	at com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
Jan 17, 2005 11:56:16 AM org.hibernate.dialect.Dialect <init>
INFO: Using dialect: org.hibernate.dialect.DerbyDialect
Jan 17, 2005 11:56:16 AM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing extends queue
Jan 17, 2005 11:56:16 AM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing collection mappings
Jan 17, 2005 11:56:16 AM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing association property references
Jan 17, 2005 11:56:16 AM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing foreign key constraints
Jan 17, 2005 11:56:16 AM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing extends queue
Jan 17, 2005 11:56:16 AM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing collection mappings
Jan 17, 2005 11:56:16 AM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing association property references
Jan 17, 2005 11:56:16 AM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing foreign key constraints
Jan 17, 2005 11:56:16 AM org.hibernate.impl.SessionFactoryImpl checkNamedQueries
INFO: Checking 0 named queries
Jan 17, 2005 11:56:16 AM org.hibernate.util.JDBCExceptionReporter logExceptions
WARNING: SQL Error: 40000, SQLState: XJ040
Jan 17, 2005 11:56:16 AM org.hibernate.util.JDBCExceptionReporter logExceptions
SEVERE: Failed to start database 'testDB', see the next exception for details.
Jan 17, 2005 11:56:16 AM org.hibernate.util.JDBCExceptionReporter logExceptions
WARNING: SQL Error: 0, SQLState: XJ050
Jan 17, 2005 11:56:16 AM org.hibernate.util.JDBCExceptionReporter logExceptions
SEVERE: Database requires upgrade from version 10.0, set the attribute 'upgrade=true' on the
JDBC connection URL to allow upgrade to version 10.1 beta.
Jan 17, 2005 11:56:16 AM org.hibernate.util.JDBCExceptionReporter logExceptions
WARNING: SQL Error: 40000, SQLState: XJ040
Jan 17, 2005 11:56:16 AM org.hibernate.util.JDBCExceptionReporter logExceptions
SEVERE: Failed to start database 'testDB', see the next exception for details.
Jan 17, 2005 11:56:16 AM org.hibernate.util.JDBCExceptionReporter logExceptions
WARNING: SQL Error: 0, SQLState: XJ050
Jan 17, 2005 11:56:16 AM org.hibernate.util.JDBCExceptionReporter logExceptions
SEVERE: Database requires upgrade from version 10.0, set the attribute 'upgrade=true' on the
JDBC connection URL to allow upgrade to version 10.1 beta.
Jan 17, 2005 11:56:16 AM org.hibernate.impl.SessionFactoryImpl close
INFO: closing
Jan 17, 2005 11:56:16 AM org.hibernate.connection.DriverManagerConnectionProvider close
INFO: cleaning up connection pool: jdbc:derby:testDB
Jan 17, 2005 11:56:16 AM org.hibernate.tool.hbm2ddl.SchemaExport execute
INFO: Running hbm2ddl schema export
Jan 17, 2005 11:56:16 AM org.hibernate.tool.hbm2ddl.SchemaExport execute
INFO: exporting generated schema to database
Jan 17, 2005 11:56:16 AM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Using Hibernate built-in connection pool (not for production use!)
Jan 17, 2005 11:56:16 AM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Hibernate connection pool size: 20
Jan 17, 2005 11:56:16 AM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: autocommit mode: false
Jan 17, 2005 11:56:16 AM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: using driver: org.apache.derby.jdbc.EmbeddedDriver at URL: jdbc:derby:testDB
Jan 17, 2005 11:56:16 AM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: connection properties: {}
Jan 17, 2005 11:56:16 AM org.hibernate.tool.hbm2ddl.SchemaExport execute
SEVERE: schema export unsuccessful
SQL Exception: Failed to start database 'testDB', see the next exception for details.
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java)
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java)
	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java)
	at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(EmbedConnection.java)
	at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(EmbedConnection.java)
	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.java)
	at org.apache.derby.impl.jdbc.EmbedConnection20.<init>(EmbedConnection20.java)
	at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(EmbedConnection30.java)
	at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Driver30.java)
	at org.apache.derby.jdbc.Driver169.connect(Driver169.java)
	at java.sql.DriverManager.getConnection(DriverManager.java:512)
	at java.sql.DriverManager.getConnection(DriverManager.java:140)
	at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110)
	at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:123)
	at org.hibernate.tool.hbm2ddl.SchemaExport.drop(SchemaExport.java:95)
	at org.hibernate.impl.SessionFactoryImpl.close(SessionFactoryImpl.java:747)
	at org.hibernate.test.TestCase.runTest(TestCase.java:152)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.textui.TestRunner.doRun(TestRunner.java:116)
	at com.intellij.rt.execution.junit2.IdeaJUnitAgent.doRun(IdeaJUnitAgent.java:57)
	at junit.textui.TestRunner.start(TestRunner.java:172)
	at com.intellij.rt.execution.junit.TextTestRunner2.startRunnerWithArgs(TextTestRunner2.java:23)
	at com.intellij.rt.execution.junit2.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:97)
	at com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)

org.hibernate.exception.GenericJDBCException: Cannot open connection
	at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:82)
	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:70)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
	at org.hibernate.jdbc.AbstractBatcher.openConnection(AbstractBatcher.java:382)
	at org.hibernate.impl.SessionImpl.connect(SessionImpl.java:276)
	at org.hibernate.impl.SessionImpl.connection(SessionImpl.java:259)
	at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:41)
	at org.hibernate.transaction.JDBCTransactionFactory.beginTransaction(JDBCTransactionFactory.java:19)
	at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1183)
	at org.hibernate.test.batchfetch.BatchFetchTest.testBatchFetch(BatchFetchTest.java:27)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at org.hibernate.test.TestCase.runTest(TestCase.java:128)
	at com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
Caused by: SQL Exception: Failed to start database 'testDB', see the next exception for details.
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java)
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java)
	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java)
	at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(EmbedConnection.java)
	at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(EmbedConnection.java)
	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.java)
	at org.apache.derby.impl.jdbc.EmbedConnection20.<init>(EmbedConnection20.java)
	at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(EmbedConnection30.java)
	at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Driver30.java)
	at org.apache.derby.jdbc.Driver169.connect(Driver169.java)
	at java.sql.DriverManager.getConnection(DriverManager.java:512)
	at java.sql.DriverManager.getConnection(DriverManager.java:140)
	at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110)
	at org.hibernate.jdbc.AbstractBatcher.openConnection(AbstractBatcher.java:379)
	... 34 more




Mime
View raw message