| Author |
the question about CachedRowSet and CachedRowSetImpl
|
tanyh tanyh
Greenhorn
Joined: Dec 14, 2004
Posts: 2
|
|
Enviroment:windows2000+weblogic8+oracle9i+jdk1.5 method: import javax.sql.rowset.CachedRowSet; import com.sun.rowset.CachedRowSetImpl; implements the program: CachedRowSet rowset = new CachedRowSetImpl(); rowset.release(); rowset.setCommand("Select * from table_one"); rowset.execute(connHandle); error code: java.lang.NullPointerException at java.io.Reader.<init>(Reader.java:61) at java.io.InputStreamReader.<init>(InputStreamReader.java:80) at java.util.Properties.load(Properties.java:189) at java.util.PropertyResourceBundle.<init>(PropertyResourceBundle.java:96) at com.sun.rowset.JdbcRowSetResourceBundle.<init>(Unknown Source) at com.sun.rowset.JdbcRowSetResourceBundle.getJdbcRowSetResourceBundle(Unknown Sou rce) at com.sun.rowset.CachedRowSetImpl.<init>(Unknown Source)
|
 |
Raj Chila
Ranch Hand
Joined: Mar 18, 2004
Posts: 125
|
|
|
is it appropriate to release a CachedRowset immediately after creating the instance of it?
|
 |
tanyh tanyh
Greenhorn
Joined: Dec 14, 2004
Posts: 2
|
|
|
Thanks!Please try it again! I think it not to found file(*.properties)
|
 |
 |
|
|
subject: the question about CachedRowSet and CachedRowSetImpl
|
|
|