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. Dear Friends, I get the following exception...

View Tutorial          By: NT.Jay at 2011-10-06 05:33:09

2. Thanks this page is very useful for me and now I k
View Tutorial          By: Yee Wai Wyne at 2009-10-18 23:03:41

3. Awesome............
View Tutorial          By: Amol at 2011-06-11 05:32:49

4. Wow Such a good tutorial. It really really make me
View Tutorial          By: Anonymous at 2010-02-19 05:53:11

5. Thanks ... nice one with clear picture.
View Tutorial          By: Nithin at 2012-04-01 06:58:41

6. plz send java object class with examples
View Tutorial          By: naidu at 2009-07-18 00:00:16

7. ya its correct but tell me where is main method???
View Tutorial          By: kashiNATH MOKASHI at 2011-08-20 05:33:19

8. Hi, Please let me know how to implement this progr
View Tutorial          By: Mukul Chadha at 2011-06-29 09:13:28

9. Thanks. A couple of typos, though:
- &quo

View Tutorial          By: Steve Parker at 2013-09-25 09:47:08

10. Thank you
View Tutorial          By: vbulletincoder at 2011-09-13 13:16:40