Application Server = JBOSS
DB = Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
Dialect: Oracle9FixedSequencesDialect
Getting this messge everytime I Acccess the DB. It cuases an increase of 1MB in PermGen Memory.
Code:2009-01-06 18:17:58,098 INFO [org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean] Building new Hibernate SessionFactory 2009-01-06 18:17:58,122 WARN [org.hibernate.cfg.Environment] Property [hibernate.cglib.use_reflection_optimizer] has been renamed to [hibernate.bytecode.use_reflectio n_optimizer]; update your properties appropriately 2009-01-06 18:17:58,122 INFO [org.hibernate.connection.ConnectionProviderFactory] Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSource ConnectionProvider 2009-01-06 18:17:58,122 INFO [org.hibernate.cfg.SettingsFactory] RDBMS: Oracle, version: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production With the Partitioning, OLAP and Data Mining options
Thanks for your Help in Advance...
Code:<bean id="sessionFactory" class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean"> <property name="dataSource"> <ref bean="dataSource" /> </property> <property name="annotatedClasses"> <list> <value>.....</value> <value>.....</value> </list> </property> <property name="hibernateProperties"> <props> <prop key="hibernate.hbm2ddl.auto">${db.hbm2ddl}</prop> <prop key="hibernate.dialect">${db.dialect}</prop> <prop key="hibernate.show_sql">false</prop> <prop key="hibernate.transaction.factory_class"> org.hibernate.transaction.JTATransactionFactory </prop> <prop key="hibernate.bytecode.use_reflection_optimizer"> true </prop> <prop key="hibernate.connection.SetBigStringTryClob"> true </prop> <prop key="hibernate.jdbc.batch_size">0</prop> <prop key="connection.provider_class"> org.hibernate.connection.C3P0ConnectionProvider </prop> <prop key="hibernate.c3p0.min_size">1</prop> <prop key="hibernate.c3p0.max_size">10</prop> <prop key="hibernate.c3p0.timeout">300</prop> <prop key="hibernate.c3p0.validate">true</prop> <prop key="hibernate.cache.use_query_cache">false</prop> <prop key="net.sf.ehcache.configurationResourceName"> /ehcache.xml </prop> </props> </property> </bean>


Reply With Quote