Subject | Re: [Firebird-Java] Re: JayBird and Sun Java Studio Creator - Need help |
---|---|
Author | Roman Rokytskyy |
Post date | 2004-11-18T21:24:52Z |
> Thanks a lot. As I am beginner in java, could you help me a little,I have tried to search the web to find an example, but did not find anything
> plz. How could I use this interface ?
useful. All say "for a CachedRowSet you can write your own RowSetWriter",
but that's all - no examples.
I suspect that the easiest way would be to override insertRow() and
updateRow() operations and execute SQL there. Though for UPDATE you have to
know what statement should be executed, i.e. the WHERE clause. This might be
tricky, because currently JayBird does not return "best row identifier" and
you will need to code some additional logic to discover PK value.
Roman