File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes Struts2 + Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Struts2 + Hibernate" Watch "Struts2 + Hibernate" New topic

Struts2 + Hibernate

Ivar sol

Joined: Aug 18, 2009
Posts: 3
Hi i am using Hibernate to insert bulk records/ query bulk records at a time.

All works well but suddenly after some time error comes up saying that cannot open connection/TNS listener not listening in the middle of the application.
What does it mean?

Error i get is :

My program is like this, this function is called in a loop more than 1000 times,however i get error at the 10th row if i use Oracle 10g XE,
and on around 100th row if i use Oracle 10g.
All previous take out coorect data/ insert data in database.but after some time this error creeps in

Please suggest what is going wrong.
Ivar sol

Joined: Aug 18, 2009
Posts: 3
And i am using Tomcat 6 server
I agree. Here's the link:
subject: Struts2 + Hibernate
jQuery in Action, 3rd edition