wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Struts2 + Hibernate" Watch "Struts2 + Hibernate" New topic
Author

Struts2 + Hibernate

Ivar sol
Greenhorn

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
Greenhorn

Joined: Aug 18, 2009
Posts: 3
And i am using Tomcat 6 server
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts2 + Hibernate
 
Similar Threads
Struts2 annotation in JBoss 4.0.5.GA
The requested list key 'trngList' could not be resolved as a collection/array/map/enumeration/iterat
java.lang.ClassNotFoundException: javax.persistence.JoinTable
java.lang.NoSuchMethodError: com.opensymphony.xwork2.ActionContext.get(Ljava/lang/Object;)Ljava/lang
strtus 2 application error