hi!
 how to use get&set Property in javabinding when i do query?
In the sample:F:\CacheSys\Dev\Java\samples\CJTest6.java

 while (rs.next()) {
                /* Dump the columns in each row */
                String s = "";
                for (int i = 1; i <= rs.getMetaData().getColumnCount(); i++)
{
                    if (s.length() > 0) {
                        s += ": ";
                    }

                    s += rs.getString( i );
                }

                System.out.println( s );
            }
Now I want to do person.setName(rs.getString( 1 )),how to use it in the
sample?


Reply via email to