Re: Problem with jdbc, RowSet and Oracle
- From: "kuassi.mensah@xxxxxxxxx" <kuassi.mensah@xxxxxxxxx>
- Date: 13 Dec 2006 09:14:46 -0800
JDBCRowSet objects are by default scrollable (i.e.,
ResultSet.TYPE_SCROLL_SENSITIVE) and read-only (i.e.,
ResultSet.CONCUR_READ_ONLY) but can be made updatable by calling
setReadOnly (false).
przemmal@xxxxx wrote:
kuassi.mensah@xxxxxxxxx napisal(a):
Assuming we are not talking about ResultSet, as described in my
following blog entry
http://db360.blogspot.com/2006/09/manipulating-tabular-data-using-jdbc_03.html
there are 5 RowSet model (JdbcRowSet, CachedRowSet, WebRowSet,
JoinRowSet and FileterdRowSet). Which one are you using?
I'm useing JdbcRowSet (OracleJDBCRowSet in implementation of Oracle)
Fwiw, I have working examples in chapter 8 of my book.
I have a problem with data modification in Oracle while useing jdbc and
RowSet (both Sun and Oracle implementation). RowSet is not updatable.
When I use Statement and ResultSet everything is OK. Oracle in 10g
version (with v9 is the same), jdbc - ojdbc14.jar. With jdbc drivers
from commercial developers there is no problem. Any ideas?
.
- References:
- Problem with jdbc, RowSet and Oracle
- From: przemmal
- Re: Problem with jdbc, RowSet and Oracle
- From: kuassi.mensah@xxxxxxxxx
- Re: Problem with jdbc, RowSet and Oracle
- From: przemmal
- Problem with jdbc, RowSet and Oracle
- Prev by Date: Re: Problem with jdbc, RowSet and Oracle
- Next by Date: Re: Problem with jdbc, RowSet and Oracle
- Previous by thread: Re: Problem with jdbc, RowSet and Oracle
- Next by thread: Re: Problem with jdbc, RowSet and Oracle
- Index(es):
Relevant Pages
|