Re: Problem in resultMap:Cause: java.sql.SQLException: Invalid state, the ResultSet object is closed

2008-04-23 Thread nepalon
Who can help me?I am crazy in the question. -- View this message in context: http://www.nabble.com/Problem-in-resultMap%3ACause%3A-java.sql.SQLException%3A-Invalid-state%2C-the-ResultSet-object-is-closed-tp16624071p16833562.html Sent from the iBATIS - User - Java mailing list archive at Nabble.c

Re: Problem in resultMap:Cause: java.sql.SQLException: Invalid state, the ResultSet object is closed

2008-04-16 Thread nepalon
tString(1)); > } > rs2.close(); > pst2.close(); > } > rs1.close(); > pst1.close(); > } > Jeff Butler > > > On Tue, Apr 15, 2008 at 10:36 PM, nepalon <[EMAIL PROTECTED]> wrote: > >> >> I try the code and it work well.At first

Re: Problem in resultMap:Cause: java.sql.SQLException: Invalid state, the ResultSet object is closed

2008-04-15 Thread nepalon
ore likely an issue with the driver, possibly configuration. > > Try simplifying the mapped statement and/or doing the query with JDBC > instead and see what happens. > > Larry > > > On Mon, Apr 14, 2008 at 11:46 PM, nepalon <[EMAIL PROTECTED]> wrote: >> >&

Re: Problem in resultMap:Cause: java.sql.SQLException: Invalid state, the ResultSet object is closed

2008-04-14 Thread nepalon
re > your DB is configured to allow this. > > Jeff Butler > > On Sat, Apr 12, 2008 at 10:47 PM, nepalon <[EMAIL PROTECTED]> wrote: > >> >> The DB i using is SQL Server2005.The error string(HY010) means "Invalid >> state, the ResultSet object is closed&quo

Re: Problem in resultMap:Cause: java.sql.SQLException: Invalid state, the ResultSet object is closed

2008-04-12 Thread nepalon
The DB i using is SQL Server2005.The error string(HY010) means "Invalid state, the ResultSet object is closed".Somebody says this error cause by using miscrosoft sql server driver,but I using jtds as my dirver. Larry Meadors wrote: > > This looks like a DB2 issue, you may want to search for that

Re: Problem in resultMap:Cause: java.sql.SQLException: Invalid state, the ResultSet object is closed

2008-04-11 Thread nepalon
I have try ibatis version 2.3.0.677 and 2.3.1.710,spring version 2.0.7 and 2.5.3. -- View this message in context: http://www.nabble.com/Problem-in-resultMap%3ACause%3A-java.sql.SQLException%3A-Invalid-state%2C-the-ResultSet-object-is-closed-tp16624071p16645060.html Sent from the iBATIS - User -

Problem in resultMap:Cause: java.sql.SQLException: Invalid state, the ResultSet object is closed

2008-04-10 Thread nepalon
There are two class.: public class CategoryModel implements Serializable { private int id; private String name; private int parentCategoryId; private CategoryModel parentCategory; // setter/getter .. } public class SoftwareMod