-->
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.  [ 1 post ] 
Author Message
 Post subject: Hibernate issue
PostPosted: Thu Jun 30, 2005 3:39 am 
Beginner
Beginner

Joined: Thu Mar 24, 2005 6:29 am
Posts: 24
Hi,
I am uisng Hibernate version:3.0


I am a newbie , i am using hibernate with tomcat but not using JDNI.
and i am using the Basic Hibernate helper class, handles SessionFactory, Session and Transaction. written by christian@hibernate.org

so when running my application for the first time it takes lot of time to load

and long messages are written in the console is this regular for all applications using hibernate
I am also listing the message which i get


Code:
0    [http-80-Processor23] INFO  org.hibernate.cfg.Environment  - Hibernate 3.0r
c1
16   [http-80-Processor23] INFO  org.hibernate.cfg.Environment  - hibernate.prop
erties not found
16   [http-80-Processor23] INFO  org.hibernate.cfg.Environment  - using CGLIB re
flection optimizer
94   [http-80-Processor23] INFO  org.hibernate.cfg.Environment  - using JDK 1.4
java.sql.Timestamp handling
94   [http-80-Processor23] INFO  org.hibernate.cfg.Configuration  - configuring
from resource: /hibernate.cfg.xml
94   [http-80-Processor23] INFO  org.hibernate.cfg.Configuration  - Configuratio
n resource: /hibernate.cfg.xml
922  [http-80-Processor23] INFO  org.hibernate.cfg.Configuration  - Mapping reso
urce: com/transversalnet/docmanager/category/category.hbm.xml
1360 [http-80-Processor23] INFO  org.hibernate.cfg.HbmBinder  - Mapping class: c
om.transversalnet.docmanager.category.Category -> dm_category
1563 [http-80-Processor23] INFO  org.hibernate.cfg.Configuration  - Mapping reso
urce: com/transversalnet/docmanager/category/categorymap.hbm.xml
1641 [http-80-Processor23] INFO  org.hibernate.cfg.HbmBinder  - Mapping class: c
om.transversalnet.docmanager.category.CategoryMap -> dm_category_map
1641 [http-80-Processor23] INFO  org.hibernate.cfg.Configuration  - Mapping reso
urce: com/transversalnet/docmanager/category/reviewer.hbm.xml
1735 [http-80-Processor23] INFO  org.hibernate.cfg.HbmBinder  - Mapping class: c
om.transversalnet.docmanager.category.CategoryReviewer -> dm_reviewers
1735 [http-80-Processor23] INFO  org.hibernate.cfg.Configuration  - Mapping reso
urce: com/transversalnet/usersandgroups/svfatwvu.hbm.xml
1797 [http-80-Processor23] INFO  org.hibernate.cfg.HbmBinder  - Mapping class: c
om.transversalnet.utils.DocmanagerUser -> svfatwvu
1813 [http-80-Processor23] INFO  org.hibernate.cfg.Configuration  - Mapping reso
urce: com/transversalnet/docmanager/attribute/dmsattribute.hbm.xml
1907 [http-80-Processor23] INFO  org.hibernate.cfg.HbmBinder  - Mapping class: c
om.transversalnet.docmanager.attribute.Attribute -> dm_attribute
1922 [http-80-Processor23] INFO  org.hibernate.cfg.HbmBinder  - Mapping class: c
om.transversalnet.docmanager.attribute.MetadataAttributeMap -> dm_metadata_attri
bute_map
1938 [http-80-Processor23] INFO  org.hibernate.cfg.HbmBinder  - Mapping class: c
om.transversalnet.docmanager.metadata.Metadata -> dm_metadata
1938 [http-80-Processor23] INFO  org.hibernate.cfg.Configuration  - Configured S
essionFactory: null
1938 [http-80-Processor23] INFO  org.hibernate.cfg.Configuration  - processing e
xtends queue
2016 [http-80-Processor23] INFO  org.hibernate.cfg.Configuration  - processing c
ollection mappings
2032 [http-80-Processor23] INFO  org.hibernate.cfg.Configuration  - processing a
ssociation property references
2032 [http-80-Processor23] INFO  org.hibernate.cfg.Configuration  - processing f
oreign key constraints
2453 [http-80-Processor23] INFO  org.hibernate.dialect.Dialect  - Using dialect:
org.hibernate.dialect.MySQLDialect
2532 [http-80-Processor23] INFO  org.hibernate.cfg.SettingsFactory  - Maximum ou
ter join fetch depth: 2
2532 [http-80-Processor23] INFO  org.hibernate.cfg.SettingsFactory  - Default ba
tch fetch size: 1
2532 [http-80-Processor23] INFO  org.hibernate.cfg.SettingsFactory  - Generate S
QL with comments: disabled
2532 [http-80-Processor23] INFO  org.hibernate.cfg.SettingsFactory  - Order SQL
updates by primary key: disabled
2532 [http-80-Processor23] INFO  org.hibernate.cfg.SettingsFactory  - Query tran
slator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
2625 [http-80-Processor23] INFO  org.hibernate.hql.ast.ASTQueryTranslatorFactory
  - Using ASTQueryTranslatorFactory
2657 [http-80-Processor23] INFO  org.hibernate.cfg.SettingsFactory  - Query lang
uage substitutions: {}
2688 [http-80-Processor23] INFO  org.hibernate.connection.DriverManagerConnectio
nProvider  - Using Hibernate built-in connection pool (not for production use!)
2688 [http-80-Processor23] INFO  org.hibernate.connection.DriverManagerConnectio
nProvider  - Hibernate connection pool size: 12
2688 [http-80-Processor23] INFO  org.hibernate.connection.DriverManagerConnectio
nProvider  - autocommit mode: false
2750 [http-80-Processor23] INFO  org.hibernate.connection.DriverManagerConnectio
nProvider  - using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost/
pheonix?autoReconnect=true
2797 [http-80-Processor23] INFO  org.hibernate.connection.DriverManagerConnectio
nProvider  - connection properties: {user=root, password=****}
3235 [http-80-Processor23] INFO  org.hibernate.cfg.SettingsFactory  - JDBC batch
size: 15
3235 [http-80-Processor23] INFO  org.hibernate.cfg.SettingsFactory  - JDBC batch
updates for versioned data: disabled
3250 [http-80-Processor23] INFO  org.hibernate.cfg.SettingsFactory  - Scrollable
result sets: enabled
3250 [http-80-Processor23] INFO  org.hibernate.cfg.SettingsFactory  - JDBC3 getG
eneratedKeys(): enabled
3266 [http-80-Processor23] INFO  org.hibernate.transaction.TransactionFactoryFac
tory  - Using default transaction strategy (direct JDBC transactions)
3282 [http-80-Processor23] INFO  org.hibernate.transaction.TransactionManagerLoo
kupFactory  - No TransactionManagerLookup configured (in JTA environment, use of
read-write or transactional second-level cache is not recommended)
3344 [http-80-Processor23] INFO  org.hibernate.cfg.SettingsFactory  - Automatic
flush during beforeCompletion(): disabled
3344 [http-80-Processor23] INFO  org.hibernate.cfg.SettingsFactory  - Automatic
session close at end of transaction: disabled
3344 [http-80-Processor23] INFO  org.hibernate.cfg.SettingsFactory  - Cache prov
ider: org.hibernate.cache.EhCacheProvider
3375 [http-80-Processor23] INFO  org.hibernate.cfg.SettingsFactory  - Second-lev
el cache: enabled
3375 [http-80-Processor23] INFO  org.hibernate.cfg.SettingsFactory  - Optimize c
ache for minimal puts: disabled
3375 [http-80-Processor23] INFO  org.hibernate.cfg.SettingsFactory  - Structured
second-level cache entries: enabled
3438 [http-80-Processor23] INFO  org.hibernate.cfg.SettingsFactory  - Query cach
e: disabled
3438 [http-80-Processor23] INFO  org.hibernate.cfg.SettingsFactory  - Echoing al
l SQL to stdout
3453 [http-80-Processor23] INFO  org.hibernate.cfg.SettingsFactory  - Statistics
: disabled
3453 [http-80-Processor23] INFO  org.hibernate.cfg.SettingsFactory  - Deleted en
tity synthetic identifier rollback: disabled
3453 [http-80-Processor23] INFO  org.hibernate.cfg.SettingsFactory  - Default en
tity-mode: pojo
4485 [http-80-Processor23] INFO  org.hibernate.impl.SessionFactoryImpl  - buildi
ng session factory
4578 [http-80-Processor23] WARN  net.sf.ehcache.config.Configurator  - No config
uration found. Configuring ehcache from ehcache-failsafe.xml found in the classp
ath: file:/E:/jakarta-tomcat-5.0.27/work/Catalina/localhost/_/loader/ehcache-fai
lsafe.xml
Terminate batch job (Y/N)?



Thanks in advance


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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.