SQL Error

My code is working well but when am checking 5/6 times then it throws the follwoing error: java.sql.SQLException: ORA-01000: maximum open cursors exceededplease guide me what should I do?thanks in advance
[232 byte] By [farakha] at [2007-11-27 1:37:34]
# 1
You should close your Statement and PreparedStatement objects as soon as possible. This error means you have too many of them open.
masijade.a at 2007-7-12 0:48:21 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 2
thanks a lotmasijade you are helping the java seekers in real sensethanks from the core of my heart
farakha at 2007-7-12 0:48:21 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...