Hi,
Here is the logs when starting the Hibernate for the first time
Here i am using Hibernate.cfg.xml as properties and not hibernae.properties
my hibernate.cfg.xml file is like this:
Quote:
<!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="connection.url">jdbc:mysql://localhost/pheonix?autoReconnect=true</property>
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="connection.username">root</property>
<property name="connection.password"></property>
<property name="connection.pool_size">12</property>
<property name="show_sql">true</property>
<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
<!-- Mapping files -->
<mapping resource="com/transversalnet/docmanager/category/category.hbm.xml"/>
<mapping resource="com/transversalnet/docmanager/category/categorymap.hbm.xml"/>
<mapping resource="com/transversalnet/docmanager/category/reviewer.hbm.xml"/>
<mapping resource="com/transversalnet/usersandgroups/svfatwvu.hbm.xml"/>
<mapping resource="com/transversalnet/docmanager/attribute/dmsattribute.hbm.xml"/>
<!-- <mapping resource="com/transversalnet/docmanager/permission/dm_permission.hbm.xml" /> -->
</session-factory>
</hibernate-configuration>
And my hibernae logs are as follows:
INFO: Server startup in 17141 ms
0 [http-80-Processor25] INFO org.hibernate.cfg.Environment - Hibernate 3.0rc1
0 [http-80-Processor25] INFO org.hibernate.cfg.Environment - hibernate.properties not found
15 [http-80-Processor25] INFO org.hibernate.cfg.Environment - using CGLIB reflection optimizer
15 [http-80-Processor25] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp h
andling
15 [http-80-Processor25] INFO org.hibernate.cfg.Configuration - configuring from resource: /hibe
rnate.cfg.xml
15 [http-80-Processor25] INFO org.hibernate.cfg.Configuration - Configuration resource: /hiberna
te.cfg.xml
265 [http-80-Processor25] INFO org.hibernate.cfg.Configuration - Mapping resource: com/transversa
lnet/docmanager/category/category.hbm.xml
453 [http-80-Processor25] INFO org.hibernate.cfg.HbmBinder - Mapping class: com.transversalnet.do
cmanager.category.Category -> dm_category
546 [http-80-Processor25] INFO org.hibernate.cfg.Configuration - Mapping resource: com/transversa
lnet/docmanager/category/categorymap.hbm.xml
812 [http-80-Processor25] INFO org.hibernate.cfg.HbmBinder - Mapping class: com.transversalnet.do
cmanager.category.CategoryMap -> dm_category_map
812 [http-80-Processor25] INFO org.hibernate.cfg.Configuration - Mapping resource: com/transversa
lnet/docmanager/category/reviewer.hbm.xml
843 [http-80-Processor25] INFO org.hibernate.cfg.HbmBinder - Mapping class: com.transversalnet.do
cmanager.category.CategoryReviewer -> dm_reviewers
859 [http-80-Processor25] INFO org.hibernate.cfg.Configuration - Mapping resource: com/transversa
lnet/usersandgroups/svfatwvu.hbm.xml
875 [http-80-Processor25] INFO org.hibernate.cfg.HbmBinder - Mapping class: com.transversalnet.ut
ils.DocmanagerUser -> svfatwvu
875 [http-80-Processor25] INFO org.hibernate.cfg.Configuration - Mapping resource: com/transversa
lnet/docmanager/attribute/dmsattribute.hbm.xml
906 [http-80-Processor25] INFO org.hibernate.cfg.HbmBinder - Mapping class: com.transversalnet.do
cmanager.attribute.Attribute -> dm_attribute
921 [http-80-Processor25] INFO org.hibernate.cfg.HbmBinder - Mapping class: com.transversalnet.do
cmanager.attribute.MetadataAttributeMap -> dm_metadata_attribute_map
921 [http-80-Processor25] INFO org.hibernate.cfg.HbmBinder - Mapping class: com.transversalnet.do
cmanager.metadata.Metadata -> dm_metadata
937 [http-80-Processor25] INFO org.hibernate.cfg.Configuration - Configured SessionFactory: null
937 [http-80-Processor25] INFO org.hibernate.cfg.Configuration - processing extends queue
937 [http-80-Processor25] INFO org.hibernate.cfg.Configuration - processing collection mappings
937 [http-80-Processor25] INFO org.hibernate.cfg.Configuration - processing association property
references
937 [http-80-Processor25] INFO org.hibernate.cfg.Configuration - processing foreign key constrain
ts
1187 [http-80-Processor25] INFO org.hibernate.dialect.Dialect - Using dialect: org.hibernate.diale
ct.MySQLDialect
1203 [http-80-Processor25] INFO org.hibernate.cfg.SettingsFactory - Maximum outer join fetch depth
: 2
1203 [http-80-Processor25] INFO org.hibernate.cfg.SettingsFactory - Default batch fetch size: 1
1218 [http-80-Processor25] INFO org.hibernate.cfg.SettingsFactory - Generate SQL with comments: di
sabled
1218 [http-80-Processor25] INFO org.hibernate.cfg.SettingsFactory - Order SQL updates by primary k
ey: disabled
1218 [http-80-Processor25] INFO org.hibernate.cfg.SettingsFactory - Query translator: org.hibernat
e.hql.ast.ASTQueryTranslatorFactory
1234 [http-80-Processor25] INFO org.hibernate.hql.ast.ASTQueryTranslatorFactory - Using ASTQueryTr
anslatorFactory
1234 [http-80-Processor25] INFO org.hibernate.cfg.SettingsFactory - Query language substitutions:
{}
1265 [http-80-Processor25] INFO org.hibernate.connection.DriverManagerConnectionProvider - Using H
ibernate built-in connection pool (not for production use!)
1265 [http-80-Processor25] INFO org.hibernate.connection.DriverManagerConnectionProvider - Hiberna
te connection pool size: 12
1265 [http-80-Processor25] INFO org.hibernate.connection.DriverManagerConnectionProvider - autocom
mit mode: false
1281 [http-80-Processor25] INFO org.hibernate.connection.DriverManagerConnectionProvider - using d
river: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost/pheonix?autoReconnect=true
1281 [http-80-Processor25] INFO org.hibernate.connection.DriverManagerConnectionProvider - connect
ion properties: {user=root, password=****}
1531 [http-80-Processor25] INFO org.hibernate.cfg.SettingsFactory - JDBC batch size: 15
1531 [http-80-Processor25] INFO org.hibernate.cfg.SettingsFactory - JDBC batch updates for version
ed data: disabled
1531 [http-80-Processor25] INFO org.hibernate.cfg.SettingsFactory - Scrollable result sets: enable
d
1546 [http-80-Processor25] INFO org.hibernate.cfg.SettingsFactory - JDBC3 getGeneratedKeys(): enab
led
1546 [http-80-Processor25] INFO org.hibernate.transaction.TransactionFactoryFactory - Using defaul
t transaction strategy (direct JDBC transactions)
1562 [http-80-Processor25] INFO org.hibernate.transaction.TransactionManagerLookupFactory - No Tra
nsactionManagerLookup configured (in JTA environment, use of read-write or transactional second-leve
l cache is not recommended)
1562 [http-80-Processor25] INFO org.hibernate.cfg.SettingsFactory - Automatic flush during beforeC
ompletion(): disabled
1578 [http-80-Processor25] INFO org.hibernate.cfg.SettingsFactory - Automatic session close at end
of transaction: disabled
1578 [http-80-Processor25] INFO org.hibernate.cfg.SettingsFactory - Cache provider: org.hibernate.
cache.EhCacheProvider
1593 [http-80-Processor25] INFO org.hibernate.cfg.SettingsFactory - Second-level cache: enabled
1593 [http-80-Processor25] INFO org.hibernate.cfg.SettingsFactory - Optimize cache for minimal put
s: disabled
1593 [http-80-Processor25] INFO org.hibernate.cfg.SettingsFactory - Structured second-level cache
entries: enabled
1593 [http-80-Processor25] INFO org.hibernate.cfg.SettingsFactory - Query cache: disabled
1593 [http-80-Processor25] INFO org.hibernate.cfg.SettingsFactory - Echoing all SQL to stdout
1625 [http-80-Processor25] INFO org.hibernate.cfg.SettingsFactory - Statistics: disabled
1625 [http-80-Processor25] INFO org.hibernate.cfg.SettingsFactory - Deleted entity synthetic ident
ifier rollback: disabled
1625 [http-80-Processor25] INFO org.hibernate.cfg.SettingsFactory - Default entity-mode: pojo
2031 [http-80-Processor25] INFO org.hibernate.impl.SessionFactoryImpl - building session factory
2062 [http-80-Processor25] WARN net.sf.ehcache.config.Configurator - No configuration found. Confi
guring ehcache from ehcache-failsafe.xml found in the classpath: file:/E:/Phoenix/PHONEIX II/jakarta
-tomcat-5.0.28/work/Catalina/localhost/phoenix/loader/ehcache-failsafe.xml
3421 [http-80-Processor25] INFO org.hibernate.impl.SessionFactoryObjectFactory - Not binding facto
ry to JNDI, no JNDI name configured