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. The one more best way is

public cl

View Tutorial          By: Palla Subramanyam at 2012-01-25 20:18:03

2. I do not understand this line:
Map.Entry me

View Tutorial          By: hap Og at 2011-11-03 01:42:33

3. The above code is not for storing values it return
View Tutorial          By: vinoj at 2010-04-28 15:58:47

4. its great!!!!
View Tutorial          By: safrgdg at 2015-02-12 10:10:07

5. teacher namin na si Engr. Lumasag nakakasira ng ba
View Tutorial          By: rossy at 2011-10-06 06:12:53

6. In this code what should i add in place of "y
View Tutorial          By: manju at 2011-11-10 09:01:50

7. Da program wont work if '#' is the first character
View Tutorial          By: Kala at 2012-09-05 00:24:59

8. Hi,
Please tell me how to execute the above

View Tutorial          By: DurgaPrasad at 2011-11-24 06:04:48

9. very good explanation,very good examples..
View Tutorial          By: sra1 at 2011-11-14 08:30:47

10. Can you please tell me what software to be install
View Tutorial          By: Heena Yeole at 2015-03-10 18:05:18