This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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
Have you checked out Aspose?
subject: Struts2 + Hibernate
It's not a secret anymore!