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. i need to code for sparse matrix in java. please
View Tutorial          By: sudhi at 2012-10-01 09:34:57

2. good
View Tutorial          By: gummalla subbarao at 2011-03-09 01:24:58

3. u hav done Nice job..
View Tutorial          By: Rakesh at 2012-10-01 16:00:14

4. very good to use
View Tutorial          By: baby at 2013-06-14 12:08:14

5. Excellent. I want you to publish about memory allo
View Tutorial          By: Mohamed firnaz at 2011-12-07 04:54:27

6. very simple to understand
View Tutorial          By: chermaraja at 2010-05-26 00:00:05

7. Very Very nice code
View Tutorial          By: Kits at 2009-05-26 07:54:46

8. In the above, Masking sign extension program, Plea
View Tutorial          By: Praful at 2012-09-06 06:30:16

9. how can i give me a assign value to mutldimentiona
View Tutorial          By: shinde datta at 2013-01-12 10:41:15

10. Nice one for jsp learners.
View Tutorial          By: Vignesh at 2011-07-14 04:04:55