Comment on Tutorial - Creating Connection Pool for JDBC Connections in Hibernate By Felix



Comment Added by : pmr

Comment Added at : 2011-07-18 02:58:08

Comment on Tutorial : Creating Connection Pool for JDBC Connections in Hibernate By Felix
Dear All , I have query reg hibernate with WAS /WPS in portal application. we are suspecting connection leaking as number users keep on growing. Please can you help below configuration in xml will create any leaking if i use data source name , same i m configring at websphere application server ? OR do i need to go for cp03 ?
<session-factory>
<property name="hibernate.bytecode.use_reflection_optimizer">false</property>
<property name="hibernate.showsql">false</property>
<property name="hibernate.current_session_context_class">thread</property>
<property name="hibernate.dialect">org.hibernate.dialect.Oracle9Dialect</property>
<property name="hibernate.connection.datasource">jdbc/mydataSource</property>

i m not using any hibernate connection properity here , as above ariticle i should't use same in production. so confirm my approach is correct to move head with out connection leaking problem specific to hibernate.

thanks
pmr


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. This the very good introduction to the J2ME for th
View Tutorial          By: chetan jain at 2010-04-01 06:39:32

2. Good explanation on how to parse.

Y

View Tutorial          By: Sravan at 2010-10-05 05:16:39

3. thank you for code
View Tutorial          By: turki at 2013-12-11 13:23:44

4. why java from two to the power 7 bit was upgraded
View Tutorial          By: avinash at 2013-05-28 08:34:24

5. Dudes

I used the abov

View Tutorial          By: Nithin p at 2013-01-06 06:54:33

6. we are getting an error saying that " the sta
View Tutorial          By: chaitra at 2014-03-20 10:53:02

7. /* File name : Employee.java */
public abst

View Tutorial          By: Anonymous at 2012-11-16 12:23:17

8. Very Nice and Perfectly Understandable.....
View Tutorial          By: rex at 2015-04-16 12:27:03

9. but how is the string concatenation done with the
View Tutorial          By: Vipin at 2009-05-09 03:08:51

10. hi every body i want full java code to send messag
View Tutorial          By: Yous at 2010-12-26 06:45:30