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



Ask a Question

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 is not good example we want better...
View Tutorial          By: sabari nathan.p at 2011-06-15 03:27:18

2. It can be Made Popular by adding Links or Suggesti
View Tutorial          By: Ramalingam at 2010-03-20 23:00:41

3. this article is very good for the beginners. I am
View Tutorial          By: manoj kumar palbabu at 2009-12-02 10:44:04

4. Nice Intro to start J2Me
View Tutorial          By: Mak at 2009-07-04 10:36:00

5. Good Tutorial.
Thanks.

View Tutorial          By: Oki Wicaksono at 2012-05-29 04:09:05

6. #!/bin/bash

echo "Enter number

View Tutorial          By: ashish at 2011-03-25 07:46:09

7. How to send to multiple mobiles at a time
View Tutorial          By: rakesh at 2010-04-30 10:33:51

8. Thanks for the example taken directly from the Jav
View Tutorial          By: Lewis Chase at 2013-09-24 23:39:21

9. Thank you. This is really awesome... Helped us a l
View Tutorial          By: Shivakumar at 2012-09-12 15:23:21

10. Thank You So Much ^,^
I get rid of that err

View Tutorial          By: moji junk at 2009-02-24 07:48:19