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. thanq for this tutorial. It is very useful. But i'
View Tutorial          By: syahmi at 2010-03-06 02:55:05

2. If you are working with the multi-threaded program
View Tutorial          By: it career at 2010-02-24 00:13:50

3. why we use int with main
View Tutorial          By: praveen at 2012-03-26 04:28:20

4. Please provide me a particular flow of validations
View Tutorial          By: Deepali at 2013-05-10 10:38:18

5. Abstract class example is good, What is the differ
View Tutorial          By: megakumar at 2011-04-10 04:15:10

6. Answer for comment 5
this loop is work infi

View Tutorial          By: salman at 2013-03-10 07:30:53

7. Does not work.
View Tutorial          By: Hallo at 2012-10-25 09:50:05

8. hi frnds help me please .javamail program not bee
View Tutorial          By: sella at 2011-10-05 18:33:22

9. i want to know how to connect to a remote mysql da
View Tutorial          By: lixiang at 2013-04-23 04:32:58

10. Like every other Java recursion example, this exam
View Tutorial          By: Uriah at 2010-05-08 18:59:16