I
Ivan
I just read "JDBC RowSet Implementations Tutorial.pdf" and something I don't
understand.
RowSet can do this:
-connect to database
-make query i.e. fill it with data and disconnect from db
-can be transfered over "wire" because it implement serializable
-have cursor and can scroll through data
-can insert new data when is disconnected and latter can connect to db and
insert that new data in db automatically
If I read well, RowSet memorize which data was taken from db i.e. where was
data taken from db, and automatically make update if data change?
And if new data are added to disconnect RowSet with new connection to db
data are automatically inserted?
Did I miss something here???
Why then Hibernate, JDO, etc., when RowSet make things easier, I mean
everything is simplified, specially automatic insert and update?
And I think that's easy to work with RowSet and data-aware JSF and
Swing/AWT/SWT component?
I know Sun have RowSet implementation, do you know for other?
understand.
RowSet can do this:
-connect to database
-make query i.e. fill it with data and disconnect from db
-can be transfered over "wire" because it implement serializable
-have cursor and can scroll through data
-can insert new data when is disconnected and latter can connect to db and
insert that new data in db automatically
If I read well, RowSet memorize which data was taken from db i.e. where was
data taken from db, and automatically make update if data change?
And if new data are added to disconnect RowSet with new connection to db
data are automatically inserted?
Did I miss something here???
Why then Hibernate, JDO, etc., when RowSet make things easier, I mean
everything is simplified, specially automatic insert and update?
And I think that's easy to work with RowSet and data-aware JSF and
Swing/AWT/SWT component?
I know Sun have RowSet implementation, do you know for other?