adamgibbons wrote:
Turn Hibernate debug on and post the whole startup log. Also you could try doing a text search in your whole project for those settings, they must in there twice somewhere.
I can ensure you: There is no other place in the application where the properties are being set.
As a matter of fact, I found a simple testcase that duplicates the error:
DemoClass.hbm.xml
Code:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping package="com.manning.hq.ch03">
<class name="test.DemoClass">
<id name="id">
<generator class="native"/>
</id>
</class>
</hibernate-mapping>
DemoClass.java
Code:
package test;
public class DemoClass {
private Integer myId = 0;
public Integer getId() {
return this.myId;
}
public void setId(Integer id) {
this.myId = id;
}
}
HibernatePropertiesDemo.cfg.xml
Code:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="dialect">org.hibernate.dialect.HSQLDialect</property>
<property name="connection.driver_class">org.hsqldb.jdbcDriver</property>
<property name="connection.url">jdbc:hsqldb:C:/test.hsql</property>
<property name="connection.username">sa</property>
<property name="connection.password"></property>
<property name="c3p0.min_size">0</property>
<property name="c3p0.max_size">20</property>
<property name="c3p0.timeout">30</property>
<mapping resource="test/DemoClass.hbm.xml"/>
</session-factory>
</hibernate-configuration>
HibernatePropertiesDemo.java
Code:
package test;
import org.apache.log4j.BasicConfigurator;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
public class HibernatePropertiesDemo {
public static void main(String[] args) {
BasicConfigurator.configure();
Configuration cfg = new Configuration();
cfg.configure(HibernatePropertiesDemo.class.getResource("HibernatePropertiesDemo.cfg.xml"));
SessionFactory factory = cfg.buildSessionFactory();
}
}
The logging output is (take a look at 857):
Code:
0 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.2.2
15 [main] INFO org.hibernate.cfg.Environment - hibernate.properties not found
15 [main] INFO org.hibernate.cfg.Environment - Bytecode provider name : cglib
15 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
124 [main] INFO org.hibernate.cfg.Configuration - configuring from url: file:/C:/Development/projects/sandbox/red5test/bin/test/HibernatePropertiesDemo.cfg.xml
436 [main] DEBUG org.hibernate.util.DTDEntityResolver - trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd]
436 [main] DEBUG org.hibernate.util.DTDEntityResolver - recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
436 [main] DEBUG org.hibernate.util.DTDEntityResolver - located [http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd] in classpath
483 [main] DEBUG org.hibernate.cfg.Configuration - dialect=org.hibernate.dialect.HSQLDialect
483 [main] DEBUG org.hibernate.cfg.Configuration - connection.driver_class=org.hsqldb.jdbcDriver
483 [main] DEBUG org.hibernate.cfg.Configuration - connection.url=jdbc:hsqldb:C:/test.hsql
483 [main] DEBUG org.hibernate.cfg.Configuration - connection.username=sa
483 [main] DEBUG org.hibernate.cfg.Configuration - connection.password=
498 [main] DEBUG org.hibernate.cfg.Configuration - c3p0.min_size=0
498 [main] DEBUG org.hibernate.cfg.Configuration - c3p0.max_size=20
498 [main] DEBUG org.hibernate.cfg.Configuration - c3p0.timeout=30
498 [main] DEBUG org.hibernate.cfg.Configuration - null<-org.dom4j.tree.DefaultAttribute@c2a132 [Attribute: name resource value "test/DemoClass.hbm.xml"]
498 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource : test/DemoClass.hbm.xml
498 [main] DEBUG org.hibernate.util.DTDEntityResolver - trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd]
498 [main] DEBUG org.hibernate.util.DTDEntityResolver - recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
514 [main] DEBUG org.hibernate.util.DTDEntityResolver - located [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd] in classpath
654 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: test.DemoClass -> DemoClass
685 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: id -> id
717 [main] INFO org.hibernate.cfg.Configuration - Configured SessionFactory: null
717 [main] DEBUG org.hibernate.cfg.Configuration - properties: {hibernate.connection.password=, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, sun.boot.library.path=C:\Programme\Java\jdk1.5.0_09\jre\bin, java.vm.version=1.5.0_09-b03, hibernate.connection.username=sa, c3p0.min_size=0, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, user.country=DE, sun.os.patch.level=Service Pack 2, java.vm.specification.name=Java Virtual Machine Specification, user.dir=C:\Development\projects\sandbox\red5test, c3p0.max_size=20, java.runtime.version=1.5.0_09-b03, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.endorsed.dirs=C:\Programme\Java\jdk1.5.0_09\jre\lib\endorsed, os.arch=x86, java.io.tmpdir=C:\DOKUME~1\C8ACC~1.ROB\LOKALE~1\Temp\, line.separator=
, java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, os.name=Windows XP, sun.jnu.encoding=Cp1252, hibernate.c3p0.timeout=30, java.library.path=C:\Programme\Java\jdk1.5.0_09\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Programme\Java\jre1.6.0\bin\client;C:\Programme\Java\jre1.6.0\bin;c:\programme\imagemagick-6.2.7-q16;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\Intel\DMIX;C:\Programme\ATI Technologies\ATI Control Panel;C:\Programme\Microsoft SQL Server\80\Tools\Binn\;C:\Programme\Gemeinsame Dateien\Sonic Shared;C:\Programme\GNU\cvsnt;C:\Programme\Bitvise Tunnelier;C:\Programme\ATI Technologies\ATI.ACE\;C:\Programme\QuickTime\QTSystem\;C:\Programme\Gemeinsame Dateien\GTK\2.0\bin;C:\Programme\ESTsoft\ALZip\;C:\Programme\ZipGenius 6\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\UltraEdit;C:\Development\applications\apache-ant\bin;C:\Programme\svn-win32\bin;C:\Programme\MinGW\bin;C:\Development\applications\ffmpeg\bin;C:\Development\applications\flvtool2\bin;C:\Programme\ESTsoft\ALZip\, java.specification.name=Java Platform API Specification, java.class.version=49.0, sun.management.compiler=HotSpot Client Compiler, os.version=5.1, connection.password=, user.home=C:\Dokumente und Einstellungen\xxx, user.timezone=, connection.username=sa, java.awt.printerjob=sun.awt.windows.WPrinterJob, file.encoding=Cp1252, java.specification.version=1.5, hibernate.c3p0.min_size=0, hibernate.connection.driver_class=org.hsqldb.jdbcDriver, user.name=xxx, java.class.path=C:\Development\projects\sandbox\red5test\bin;C:\Development\projects\sandbox\red5test\classes_red5;C:\Development\projects\yumaHead\util\bin;C:\Development\projects\yumaHead\util\lib\apache\axis\axis.jar;C:\Development\projects\yumaHead\util\lib\apache\axis\jaxrpc.jar;C:\Development\projects\yumaHead\util\lib\apache\axis\saaj.jar;C:\Development\projects\yumaHead\util\lib\apache\axis\wsdl4j-1.5.1.jar;C:\Development\projects\yumaHead\util\lib\apache\commons\commons-codec-1.3.jar;C:\Development\projects\yumaHead\util\lib\apache\commons\commons-collections-3.2.jar;C:\Development\projects\yumaHead\util\lib\apache\commons\commons-discovery-0.2.jar;C:\Development\projects\yumaHead\util\lib\apache\commons\commons-fileupload-1.1.1.jar;C:\Development\projects\yumaHead\util\lib\apache\commons\commons-httpclient-3.0.1.jar;C:\Development\projects\yumaHead\util\lib\apache\commons\commons-lang-2.2.jar;C:\Development\projects\yumaHead\util\lib\apache\commons\commons-logging-1.1.jar;C:\Development\projects\yumaHead\util\lib\apache\commons\commons-net-1.4.1.jar;C:\Development\projects\yumaHead\util\lib\apache\jakarta-oro-2.0.8.jar;C:\Development\projects\yumaHead\util\lib\apache\log4j-1.2.14.jar;C:\Development\projects\yumaHead\util\lib\apache\poi-2.5.1-final-20040804.jar;C:\Development\projects\yumaHead\util\lib\apache\velocity-1.4.jar;C:\Development\projects\yumaHead\util\lib\hibernate\antlr-2.7.6.jar;C:\Development\projects\yumaHead\util\lib\hibernate\asm.jar;C:\Development\projects\yumaHead\util\lib\hibernate\asm-attrs.jar;C:\Development\projects\yumaHead\util\lib\hibernate\cglib-2.1.3.jar;C:\Development\projects\yumaHead\util\lib\hibernate\ejb3-persistence.jar;C:\Development\projects\yumaHead\util\lib\hibernate\hibernate3.jar;C:\Development\projects\yumaHead\util\lib\hibernate\hibernate-annotations.jar;C:\Development\projects\yumaHead\util\lib\hibernate\jdbc2_0-stdext.jar;C:\Development\projects\yumaHead\util\lib\hibernate\jta.jar;C:\Development\projects\yumaHead\util\lib\jdbc\hsqldb.jar;C:\Development\projects\yumaHead\util\lib\jdbc\mysql-connector-java-5.0.4-bin.jar;C:\Development\projects\yumaHead\util\lib\xml\dom4j-1.6.1.jar;C:\Development\projects\yumaHead\util\lib\xml\xercesImpl.jar;C:\Development\projects\yumaHead\util\lib\activation.jar;C:\Development\projects\yumaHead\util\lib\httpunit.jar;C:\Development\projects\yumaHead\util\lib\junit-4.1.jar;C:\Development\projects\yumaHead\util\lib\mail.jar;C:\Development\projects\yumaHead\util\lib\Tidy.jar;C:\Development\projects\yumaHead\util\lib\htmlunit\htmlunit-1.10.jar;C:\Development\projects\yumaHead\util\lib\apache\commons\commons-vfs-1.0.jar;C:\Development\projects\yumaHead\util\lib\hibernate\ehcache-1.2.4.jar;C:\Development\projects\yumaHead\util\lib\jcommon-1.0.8.jar;C:\Development\projects\yumaHead\util\lib\jfreechart-1.0.3.jar;C:\Development\projects\yumaHead\util\lib\htmlunit\jdom.jar;C:\Development\projects\yumaHead\util\lib\htmlunit\jaxen-1.1-beta-11.jar;C:\Development\projects\yumaHead\util\lib\htmlunit\xmlParserAPIs-2.6.2.jar;C:\Development\projects\yumaHead\util\lib\pdfreport\avalon-framework-4.2.0.jar;C:\Development\projects\yumaHead\util\lib\pdfreport\batik.jar;C:\Development\projects\yumaHead\util\lib\pdfreport\fop.jar;C:\Development\projects\yumaHead\util\lib\pdfreport\fop-hyph.jar;C:\Development\projects\yumaHead\util\lib\pdfreport\xmlgraphics-commons-1.1-snapshot.jar;C:\Development\projects\yumaHead\util\lib\js.jar;C:\Development\projects\yumaHead\util\lib\nekohtml.jar;C:\Development\projects\yumaHead\util\lib\hibernate\c3p0-0.9.1.jar;C:\Development\projects\yumaHead\util\lib\apache\commons\commons-io-1.3.jar;C:\Development\projects\yumaHead\util\lib\jsch-0.1.31.jar, hibernate.bytecode.use_reflection_optimizer=false, java.vm.specification.version=1.0, java.home=C:\Programme\Java\jdk1.5.0_09\jre, sun.arch.data.model=32, hibernate.connection.url=jdbc:hsqldb:C:/test.hsql, hibernate.dialect=org.hibernate.dialect.HSQLDialect, user.language=de, java.specification.vendor=Sun Microsystems Inc., hibernate.c3p0.max_size=20, awt.toolkit=sun.awt.windows.WToolkit, c3p0.timeout=30, java.vm.info=mixed mode, sharing, java.version=1.5.0_09, java.ext.dirs=C:\Programme\Java\jdk1.5.0_09\jre\lib\ext, sun.boot.class.path=C:\Programme\Java\jdk1.5.0_09\jre\lib\rt.jar;C:\Programme\Java\jdk1.5.0_09\jre\lib\i18n.jar;C:\Programme\Java\jdk1.5.0_09\jre\lib\sunrsasign.jar;C:\Programme\Java\jdk1.5.0_09\jre\lib\jsse.jar;C:\Programme\Java\jdk1.5.0_09\jre\lib\jce.jar;C:\Programme\Java\jdk1.5.0_09\jre\lib\charsets.jar;C:\Programme\Java\jdk1.5.0_09\jre\classes, java.vendor=Sun Microsystems Inc., connection.driver_class=org.hsqldb.jdbcDriver, file.separator=\, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little, sun.desktop=windows, connection.url=jdbc:hsqldb:C:/test.hsql, dialect=org.hibernate.dialect.HSQLDialect, sun.cpu.isalist=}
717 [main] DEBUG org.hibernate.cfg.Configuration - Preparing to build session factory with filters : {}
717 [main] DEBUG org.hibernate.cfg.Configuration - processing extends queue
717 [main] DEBUG org.hibernate.cfg.Configuration - processing collection mappings
717 [main] DEBUG org.hibernate.cfg.Configuration - processing native query and ResultSetMapping mappings
717 [main] DEBUG org.hibernate.cfg.Configuration - processing association property references
717 [main] DEBUG org.hibernate.cfg.Configuration - processing foreign key constraints
841 [main] INFO org.hibernate.connection.C3P0ConnectionProvider - C3P0 using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:C:/test.hsql
841 [main] INFO org.hibernate.connection.C3P0ConnectionProvider - Connection properties: {user=sa, password=****}
841 [main] INFO org.hibernate.connection.C3P0ConnectionProvider - autocommit mode: false
857 [main] WARN org.hibernate.connection.C3P0ConnectionProvider - Both hibernate-style property 'hibernate.c3p0.timeout' and c3p0-style property 'c3p0.timeout' have been set in hibernate.properties. Hibernate-style property 'hibernate.c3p0.timeout' will be used and c3p0-style property 'c3p0.timeout' will be ignored!
857 [main] WARN org.hibernate.connection.C3P0ConnectionProvider - Both hibernate-style property 'hibernate.c3p0.min_size' and c3p0-style property 'c3p0.min_size' have been set in hibernate.properties. Hibernate-style property 'hibernate.c3p0.min_size' will be used and c3p0-style property 'c3p0.min_size' will be ignored!
857 [main] WARN org.hibernate.connection.C3P0ConnectionProvider - Both hibernate-style property 'hibernate.c3p0.max_size' and c3p0-style property 'c3p0.max_size' have been set in hibernate.properties. Hibernate-style property 'hibernate.c3p0.max_size' will be used and c3p0-style property 'c3p0.max_size' will be ignored!
888 [main] INFO com.mchange.v2.log.MLog - MLog clients using log4j logging.
1153 [main] INFO com.mchange.v2.c3p0.C3P0Registry - Initializing c3p0-0.9.1 [built 16-January-2007 14:46:42; debug? true; trace: 10]
1184 [main] DEBUG com.mchange.v2.c3p0.management.DynamicPooledDataSourceManagerMBean - MBean: com.mchange.v2.c3p0:type=PooledDataSource[1b606bm7my3vsvp1lblvbv|e91f5d] registered.
1215 [main] DEBUG com.mchange.v2.c3p0.management.DynamicPooledDataSourceManagerMBean - MBean: com.mchange.v2.c3p0:type=PooledDataSource[1b606bm7my3vsvp1lblvbv|e91f5d] unregistered, in order to be reregistered after update.
1215 [main] DEBUG com.mchange.v2.c3p0.management.DynamicPooledDataSourceManagerMBean - MBean: com.mchange.v2.c3p0:type=PooledDataSource[1b606bm7my3vsvp1lblvbv|e91f5d] registered.
1293 [main] INFO com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource - Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@82b56ed3 [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@94f0a7b9 [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, debugUnreturnedConnectionStackTraces -> false, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1b606bm7my3vsvp1lblvbv|16fe0f4, idleConnectionTestPeriod -> 0, initialPoolSize -> 0, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 30, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 20, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 0, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@48510210 [ description -> null, driverClass -> null, factoryClassLocation -> null, identityToken -> 1b606bm7my3vsvp1lblvbv|1ccce3c, jdbcUrl -> jdbc:hsqldb:C:/test.hsql, properties -> {user=******, password=******} ], preferredTestQuery -> null, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false; userOverrides: {} ], dataSourceName -> null, factoryClassLocation -> null, identityToken -> 1b606bm7my3vsvp1lblvbv|e91f5d, numHelperThreads -> 3 ]
1325 [main] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - com.mchange.v2.resourcepool.BasicResourcePool@cd5f8b config: [start -> 0; min -> 0; max -> 20; inc -> 3; num_acq_attempts -> 30; acq_attempt_delay -> 1000; check_idle_resources_delay -> 0; mox_resource_age -> 0; max_idle_time -> 30000; excess_max_idle_time -> 0; destroy_unreturned_resc_time -> 0; expiration_enforcement_delay -> 7500; break_on_acquisition_failure -> false; debug_store_checkout_exceptions -> false]
1325 [main] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - acquire test -- pool size: 0; target_pool_size: 0; desired target? 1
1325 [main] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - incremented pending_acquires: 1
1325 [main] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - incremented pending_acquires: 2
1325 [main] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - incremented pending_acquires: 3
1325 [main] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - awaitAvailable(): [unknown]
1325 [main] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@cd5f8b [managed: 0, unused: 0, excluded: 0]
1745 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] DEBUG com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool - com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager@1484a05.acquireResource() returning.
1745 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] DEBUG com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool - com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager@1484a05.acquireResource() returning.
1745 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] DEBUG com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool - com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager@1484a05.acquireResource() returning.
1745 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@cd5f8b [managed: 1, unused: 1, excluded: 0]
1745 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@cd5f8b [managed: 2, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@1542a75)
1745 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@cd5f8b [managed: 3, unused: 3, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@1542a75)
1761 [main] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@cd5f8b [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@1542a75)
1777 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - decremented pending_acquires: 2
1777 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - decremented pending_acquires: 1
1777 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - decremented pending_acquires: 0
1823 [main] INFO org.hibernate.cfg.SettingsFactory - RDBMS: HSQL Database Engine, version: 1.8.0
1823 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC driver: HSQL Database Engine Driver, version: 1.8.0
1823 [main] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@cd5f8b [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@1542a75)
1855 [main] INFO org.hibernate.dialect.Dialect - Using dialect: org.hibernate.dialect.HSQLDialect
1870 [main] INFO org.hibernate.transaction.TransactionFactoryFactory - Using default transaction strategy (direct JDBC transactions)
1886 [main] INFO org.hibernate.transaction.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
1886 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic flush during beforeCompletion(): disabled
1886 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic session close at end of transaction: disabled
1886 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC batch size: 15
1886 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC batch updates for versioned data: disabled
1886 [main] INFO org.hibernate.cfg.SettingsFactory - Scrollable result sets: enabled
1886 [main] DEBUG org.hibernate.cfg.SettingsFactory - Wrap result sets: disabled
1886 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC3 getGeneratedKeys(): disabled
1886 [main] INFO org.hibernate.cfg.SettingsFactory - Connection release mode: auto
1886 [main] INFO org.hibernate.cfg.SettingsFactory - Default batch fetch size: 1
1886 [main] INFO org.hibernate.cfg.SettingsFactory - Generate SQL with comments: disabled
1886 [main] INFO org.hibernate.cfg.SettingsFactory - Order SQL updates by primary key: disabled
1886 [main] INFO org.hibernate.cfg.SettingsFactory - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
1901 [main] INFO org.hibernate.hql.ast.ASTQueryTranslatorFactory - Using ASTQueryTranslatorFactory
1901 [main] INFO org.hibernate.cfg.SettingsFactory - Query language substitutions: {}
1901 [main] INFO org.hibernate.cfg.SettingsFactory - JPA-QL strict compliance: disabled
1901 [main] INFO org.hibernate.cfg.SettingsFactory - Second-level cache: enabled
1901 [main] INFO org.hibernate.cfg.SettingsFactory - Query cache: disabled
1901 [main] INFO org.hibernate.cfg.SettingsFactory - Cache provider: org.hibernate.cache.NoCacheProvider
1901 [main] INFO org.hibernate.cfg.SettingsFactory - Optimize cache for minimal puts: disabled
1901 [main] INFO org.hibernate.cfg.SettingsFactory - Structured second-level cache entries: disabled
1917 [main] INFO org.hibernate.cfg.SettingsFactory - Statistics: disabled
1917 [main] INFO org.hibernate.cfg.SettingsFactory - Deleted entity synthetic identifier rollback: disabled
1917 [main] INFO org.hibernate.cfg.SettingsFactory - Default entity-mode: pojo
1917 [main] INFO org.hibernate.cfg.SettingsFactory - Named query checking : enabled
1964 [main] INFO org.hibernate.impl.SessionFactoryImpl - building session factory
1964 [main] DEBUG org.hibernate.impl.SessionFactoryImpl - Session factory constructed with filter configurations : {}
1964 [main] DEBUG org.hibernate.impl.SessionFactoryImpl - instantiating session factory with properties: {java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, hibernate.connection.password=, sun.boot.library.path=C:\Programme\Java\jdk1.5.0_09\jre\bin, java.vm.version=1.5.0_09-b03, hibernate.connection.username=sa, c3p0.min_size=0, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, user.country=DE, sun.os.patch.level=Service Pack 2, java.vm.specification.name=Java Virtual Machine Specification, user.dir=C:\Development\projects\sandbox\red5test, c3p0.max_size=20, java.runtime.version=1.5.0_09-b03, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.endorsed.dirs=C:\Programme\Java\jdk1.5.0_09\jre\lib\endorsed, os.arch=x86, java.io.tmpdir=C:\DOKUME~1\C8ACC~1.ROB\LOKALE~1\Temp\, line.separator=
, java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, os.name=Windows XP, sun.jnu.encoding=Cp1252, hibernate.c3p0.timeout=30, java.library.path=C:\Programme\Java\jdk1.5.0_09\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Programme\Java\jre1.6.0\bin\client;C:\Programme\Java\jre1.6.0\bin;c:\programme\imagemagick-6.2.7-q16;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\Intel\DMIX;C:\Programme\ATI Technologies\ATI Control Panel;C:\Programme\Microsoft SQL Server\80\Tools\Binn\;C:\Programme\Gemeinsame Dateien\Sonic Shared;C:\Programme\GNU\cvsnt;C:\Programme\Bitvise Tunnelier;C:\Programme\ATI Technologies\ATI.ACE\;C:\Programme\QuickTime\QTSystem\;C:\Programme\Gemeinsame Dateien\GTK\2.0\bin;C:\Programme\ESTsoft\ALZip\;C:\Programme\ZipGenius 6\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\UltraEdit;C:\Development\applications\apache-ant\bin;C:\Programme\svn-win32\bin;C:\Programme\MinGW\bin;C:\Development\applications\ffmpeg\bin;C:\Development\applications\flvtool2\bin;C:\Programme\ESTsoft\ALZip\, java.specification.name=Java Platform API Specification, java.class.version=49.0, sun.management.compiler=HotSpot Client Compiler, os.version=5.1, user.home=C:\Dokumente und Einstellungen\xxx, connection.password=, user.timezone=, java.awt.printerjob=sun.awt.windows.WPrinterJob, connection.username=sa, java.specification.version=1.5, file.encoding=Cp1252, hibernate.c3p0.min_size=0, hibernate.connection.driver_class=org.hsqldb.jdbcDriver, java.class.path=C:\Development\projects\sandbox\red5test\bin;C:\Development\projects\sandbox\red5test\classes_red5;C:\Development\projects\yumaHead\util\bin;C:\Development\projects\yumaHead\util\lib\apache\axis\axis.jar;C:\Development\projects\yumaHead\util\lib\apache\axis\jaxrpc.jar;C:\Development\projects\yumaHead\util\lib\apache\axis\saaj.jar;C:\Development\projects\yumaHead\util\lib\apache\axis\wsdl4j-1.5.1.jar;C:\Development\projects\yumaHead\util\lib\apache\commons\commons-codec-1.3.jar;C:\Development\projects\yumaHead\util\lib\apache\commons\commons-collections-3.2.jar;C:\Development\projects\yumaHead\util\lib\apache\commons\commons-discovery-0.2.jar;C:\Development\projects\yumaHead\util\lib\apache\commons\commons-fileupload-1.1.1.jar;C:\Development\projects\yumaHead\util\lib\apache\commons\commons-httpclient-3.0.1.jar;C:\Development\projects\yumaHead\util\lib\apache\commons\commons-lang-2.2.jar;C:\Development\projects\yumaHead\util\lib\apache\commons\commons-logging-1.1.jar;C:\Development\projects\yumaHead\util\lib\apache\commons\commons-net-1.4.1.jar;C:\Development\projects\yumaHead\util\lib\apache\jakarta-oro-2.0.8.jar;C:\Development\projects\yumaHead\util\lib\apache\log4j-1.2.14.jar;C:\Development\projects\yumaHead\util\lib\apache\poi-2.5.1-final-20040804.jar;C:\Development\projects\yumaHead\util\lib\apache\velocity-1.4.jar;C:\Development\projects\yumaHead\util\lib\hibernate\antlr-2.7.6.jar;C:\Development\projects\yumaHead\util\lib\hibernate\asm.jar;C:\Development\projects\yumaHead\util\lib\hibernate\asm-attrs.jar;C:\Development\projects\yumaHead\util\lib\hibernate\cglib-2.1.3.jar;C:\Development\projects\yumaHead\util\lib\hibernate\ejb3-persistence.jar;C:\Development\projects\yumaHead\util\lib\hibernate\hibernate3.jar;C:\Development\projects\yumaHead\util\lib\hibernate\hibernate-annotations.jar;C:\Development\projects\yumaHead\util\lib\hibernate\jdbc2_0-stdext.jar;C:\Development\projects\yumaHead\util\lib\hibernate\jta.jar;C:\Development\projects\yumaHead\util\lib\jdbc\hsqldb.jar;C:\Development\projects\yumaHead\util\lib\jdbc\mysql-connector-java-5.0.4-bin.jar;C:\Development\projects\yumaHead\util\lib\xml\dom4j-1.6.1.jar;C:\Development\projects\yumaHead\util\lib\xml\xercesImpl.jar;C:\Development\projects\yumaHead\util\lib\activation.jar;C:\Development\projects\yumaHead\util\lib\httpunit.jar;C:\Development\projects\yumaHead\util\lib\junit-4.1.jar;C:\Development\projects\yumaHead\util\lib\mail.jar;C:\Development\projects\yumaHead\util\lib\Tidy.jar;C:\Development\projects\yumaHead\util\lib\htmlunit\htmlunit-1.10.jar;C:\Development\projects\yumaHead\util\lib\apache\commons\commons-vfs-1.0.jar;C:\Development\projects\yumaHead\util\lib\hibernate\ehcache-1.2.4.jar;C:\Development\projects\yumaHead\util\lib\jcommon-1.0.8.jar;C:\Development\projects\yumaHead\util\lib\jfreechart-1.0.3.jar;C:\Development\projects\yumaHead\util\lib\htmlunit\jdom.jar;C:\Development\projects\yumaHead\util\lib\htmlunit\jaxen-1.1-beta-11.jar;C:\Development\projects\yumaHead\util\lib\htmlunit\xmlParserAPIs-2.6.2.jar;C:\Development\projects\yumaHead\util\lib\pdfreport\avalon-framework-4.2.0.jar;C:\Development\projects\yumaHead\util\lib\pdfreport\batik.jar;C:\Development\projects\yumaHead\util\lib\pdfreport\fop.jar;C:\Development\projects\yumaHead\util\lib\pdfreport\fop-hyph.jar;C:\Development\projects\yumaHead\util\lib\pdfreport\xmlgraphics-commons-1.1-snapshot.jar;C:\Development\projects\yumaHead\util\lib\js.jar;C:\Development\projects\yumaHead\util\lib\nekohtml.jar;C:\Development\projects\yumaHead\util\lib\hibernate\c3p0-0.9.1.jar;C:\Development\projects\yumaHead\util\lib\apache\commons\commons-io-1.3.jar;C:\Development\projects\yumaHead\util\lib\jsch-0.1.31.jar, user.name=xxx, hibernate.bytecode.use_reflection_optimizer=false, java.vm.specification.version=1.0, sun.arch.data.model=32, java.home=C:\Programme\Java\jdk1.5.0_09\jre, hibernate.dialect=org.hibernate.dialect.HSQLDialect, hibernate.connection.url=jdbc:hsqldb:C:/test.hsql, java.specification.vendor=Sun Microsystems Inc., user.language=de, awt.toolkit=sun.awt.windows.WToolkit, hibernate.c3p0.max_size=20, java.vm.info=mixed mode, sharing, c3p0.timeout=30, java.version=1.5.0_09, java.ext.dirs=C:\Programme\Java\jdk1.5.0_09\jre\lib\ext, sun.boot.class.path=C:\Programme\Java\jdk1.5.0_09\jre\lib\rt.jar;C:\Programme\Java\jdk1.5.0_09\jre\lib\i18n.jar;C:\Programme\Java\jdk1.5.0_09\jre\lib\sunrsasign.jar;C:\Programme\Java\jdk1.5.0_09\jre\lib\jsse.jar;C:\Programme\Java\jdk1.5.0_09\jre\lib\jce.jar;C:\Programme\Java\jdk1.5.0_09\jre\lib\charsets.jar;C:\Programme\Java\jdk1.5.0_09\jre\classes, java.vendor=Sun Microsystems Inc., file.separator=\, connection.driver_class=org.hsqldb.jdbcDriver, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.cpu.endian=little, sun.io.unicode.encoding=UnicodeLittle, sun.desktop=windows, connection.url=jdbc:hsqldb:C:/test.hsql, sun.cpu.isalist=, dialect=org.hibernate.dialect.HSQLDialect}
2322 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Static SQL for entity: test.DemoClass
2322 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Version select: select id from DemoClass where id =?
2322 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Snapshot select: select democlass_.id from DemoClass democlass_ where democlass_.id=?
2322 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Insert 0: insert into DemoClass (id) values (?)
2322 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Update 0: null
2322 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Delete 0: delete from DemoClass where id=?
2322 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Identity insert: insert into DemoClass (id) values (null)
2353 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity test.DemoClass: select democlass0_.id as id0_0_ from DemoClass democlass0_ where democlass0_.id=?
2353 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity test.DemoClass: select democlass0_.id as id0_0_ from DemoClass democlass0_ where democlass0_.id=?
2353 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity test.DemoClass: select democlass0_.id as id0_0_ from DemoClass democlass0_ where democlass0_.id=?
2353 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity test.DemoClass: select democlass0_.id as id0_0_ from DemoClass democlass0_ where democlass0_.id=?
2353 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity test.DemoClass: select democlass0_.id as id0_0_ from DemoClass democlass0_ where democlass0_.id=?
2369 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for action ACTION_MERGE on entity test.DemoClass: select democlass0_.id as id0_0_ from DemoClass democlass0_ where democlass0_.id=?
2369 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for action ACTION_REFRESH on entity test.DemoClass: select democlass0_.id as id0_0_ from DemoClass democlass0_ where democlass0_.id=?
2369 [main] DEBUG org.hibernate.impl.SessionFactoryObjectFactory - initializing class SessionFactoryObjectFactory
2369 [main] DEBUG org.hibernate.impl.SessionFactoryObjectFactory - registered: 297e8282127aed5201127aed54510000 (unnamed)
2369 [main] INFO org.hibernate.impl.SessionFactoryObjectFactory - Not binding factory to JNDI, no JNDI name configured
2369 [main] DEBUG org.hibernate.impl.SessionFactoryImpl - instantiated session factory
2369 [main] DEBUG org.hibernate.impl.SessionFactoryImpl - Checking 0 named HQL queries
2369 [main] DEBUG org.hibernate.impl.SessionFactoryImpl - Checking 0 named SQL queries