Code:
2008-02-26 14:45:16,293 INFO [org.springframework.context.support.FileSystemXmlApplicationContext] - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@bd0108: display name [org.springframework.context.support.FileSystemXmlApplicationContext@bd0108]; startup date [Tue Feb 26 14:45:16 EST 2008]; root of context hierarchy
2008-02-26 14:45:16,385 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from file [/home/varun/workspace/chotaTest/application-context.xml]
2008-02-26 14:45:17,175 INFO [org.springframework.context.support.FileSystemXmlApplicationContext] - Bean factory for application context [org.springframework.context.support.FileSystemXmlApplicationContext@bd0108]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1112783
2008-02-26 14:45:17,271 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1112783: defining beans [dataSource,db-properties,sessionFactory,userDAO,transactionManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.config.internalTransactionAdvisor]; root of factory hierarchy
2008-02-26 14:45:17,427 INFO [org.hibernate.cfg.annotations.Version] - Hibernate Annotations 3.2.1.GA
2008-02-26 14:45:17,443 INFO [org.hibernate.cfg.Environment] - Hibernate 3.2.1
2008-02-26 14:45:17,448 INFO [org.hibernate.cfg.Environment] - hibernate.properties not found
2008-02-26 14:45:17,452 INFO [org.hibernate.cfg.Environment] - Bytecode provider name : cglib
2008-02-26 14:45:17,457 INFO [org.hibernate.cfg.Environment] - using JDK 1.4 java.sql.Timestamp handling
2008-02-26 14:45:17,633 INFO [org.hibernate.cfg.AnnotationConfiguration] - Mapping package com.test.pojo
2008-02-26 14:45:17,634 WARN [org.hibernate.cfg.AnnotationBinder] - Package not found or wo package-info.java: com.test.pojo
2008-02-26 14:45:17,634 INFO [org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean] - Building new Hibernate SessionFactory
2008-02-26 14:45:17,681 INFO [org.hibernate.cfg.AnnotationBinder] - Binding entity from annotated class: com.test.pojo.User
2008-02-26 14:45:17,735 INFO [org.hibernate.cfg.annotations.EntityBinder] - Bind entity com.test.pojo.User on table user
2008-02-26 14:45:17,812 INFO [org.hibernate.cfg.AnnotationBinder] - Binding entity from annotated class: com.test.pojo.Demographic
2008-02-26 14:45:17,813 INFO [org.hibernate.cfg.annotations.EntityBinder] - Bind entity com.test.pojo.Demographic on table demographic
2008-02-26 14:45:17,933 INFO [org.hibernate.connection.ConnectionProviderFactory] - Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
2008-02-26 14:45:18,206 INFO [org.hibernate.cfg.SettingsFactory] - RDBMS: MySQL, version: 5.0.45-Debian_1ubuntu3.1-log
2008-02-26 14:45:18,207 INFO [org.hibernate.cfg.SettingsFactory] - JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.0.6 ( $Date: 2007-03-09 22:13:57 +0100 (Fri, 09 Mar 2007) $, $Revision: 6341 $ )
2008-02-26 14:45:18,224 INFO [org.hibernate.dialect.Dialect] - Using dialect: org.hibernate.dialect.MySQLDialect
2008-02-26 14:45:18,229 INFO [org.hibernate.transaction.TransactionFactoryFactory] - Using default transaction strategy (direct JDBC transactions)
2008-02-26 14:45:18,231 INFO [org.hibernate.transaction.TransactionManagerLookupFactory] - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
2008-02-26 14:45:18,231 INFO [org.hibernate.cfg.SettingsFactory] - Automatic flush during beforeCompletion(): disabled
2008-02-26 14:45:18,231 INFO [org.hibernate.cfg.SettingsFactory] - Automatic session close at end of transaction: disabled
2008-02-26 14:45:18,231 INFO [org.hibernate.cfg.SettingsFactory] - JDBC batch size: 15
2008-02-26 14:45:18,232 INFO [org.hibernate.cfg.SettingsFactory] - JDBC batch updates for versioned data: disabled
2008-02-26 14:45:18,232 INFO [org.hibernate.cfg.SettingsFactory] - Scrollable result sets: enabled
2008-02-26 14:45:18,232 INFO [org.hibernate.cfg.SettingsFactory] - JDBC3 getGeneratedKeys(): enabled
2008-02-26 14:45:18,232 INFO [org.hibernate.cfg.SettingsFactory] - Connection release mode: on_close
2008-02-26 14:45:18,233 INFO [org.hibernate.cfg.SettingsFactory] - Maximum outer join fetch depth: 2
2008-02-26 14:45:18,233 INFO [org.hibernate.cfg.SettingsFactory] - Default batch fetch size: 1
2008-02-26 14:45:18,233 INFO [org.hibernate.cfg.SettingsFactory] - Generate SQL with comments: disabled
2008-02-26 14:45:18,233 INFO [org.hibernate.cfg.SettingsFactory] - Order SQL updates by primary key: disabled
2008-02-26 14:45:18,233 INFO [org.hibernate.cfg.SettingsFactory] - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
2008-02-26 14:45:18,237 INFO [org.hibernate.hql.ast.ASTQueryTranslatorFactory] - Using ASTQueryTranslatorFactory
2008-02-26 14:45:18,237 INFO [org.hibernate.cfg.SettingsFactory] - Query language substitutions: {}
2008-02-26 14:45:18,238 INFO [org.hibernate.cfg.SettingsFactory] - JPA-QL strict compliance: disabled
2008-02-26 14:45:18,238 INFO [org.hibernate.cfg.SettingsFactory] - Second-level cache: disabled
2008-02-26 14:45:18,238 INFO [org.hibernate.cfg.SettingsFactory] - Query cache: disabled
2008-02-26 14:45:18,238 INFO [org.hibernate.cfg.SettingsFactory] - Optimize cache for minimal puts: disabled
2008-02-26 14:45:18,238 INFO [org.hibernate.cfg.SettingsFactory] - Structured second-level cache entries: disabled
2008-02-26 14:45:18,243 INFO [org.hibernate.cfg.SettingsFactory] - Echoing all SQL to stdout
2008-02-26 14:45:18,243 INFO [org.hibernate.cfg.SettingsFactory] - Statistics: disabled
2008-02-26 14:45:18,243 INFO [org.hibernate.cfg.SettingsFactory] - Deleted entity synthetic identifier rollback: disabled
2008-02-26 14:45:18,244 INFO [org.hibernate.cfg.SettingsFactory] - Default entity-mode: pojo
2008-02-26 14:45:18,284 INFO [org.hibernate.impl.SessionFactoryImpl] - building session factory
2008-02-26 14:45:18,653 INFO [org.hibernate.impl.SessionFactoryObjectFactory] - Not binding factory to JNDI, no JNDI name configured
2008-02-26 14:45:18,666 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] - Running hbm2ddl schema export
2008-02-26 14:45:18,666 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] - exporting generated schema to database
2008-02-26 14:45:18,714 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] - schema export complete
2008-02-26 14:45:18,741 INFO [org.springframework.orm.hibernate3.HibernateTransactionManager] - Using DataSource [org.apache.commons.dbcp.BasicDataSource@1412e75] of Hibernate SessionFactory for HibernateTransactionManager
Hibernate:
insert
into
user
(username, password, name, created)
values
(?, ?, ?, ?)
Whew!! finally... done..