Announcement Announcement Module
Collapse
No announcement yet.
BatchSqlUpdate flush returns array of -2 values Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • BatchSqlUpdate flush returns array of -2 values

    Hi,
    I'm using BatchSqlUpdate for updating database. At first I update rows and I want to check what rows was affected. But flush() returns always array of -2 values (public static final int SUCCESS_NO_INFO). So rows are updated but I don't know what of them are. I need to know it because rows are not affected must be inserted.

    The DB is Oracle 9.2.0.5 driver is 9.2.0.5 this (ojdbc14.jar)
    Java version is 1.4.2

    Help me

    Thanks
    Antoni

  • #2
    This seems to be a limitation of the JDBC driver. Unfortunately I don't think Spring JDBC can help much: you'll need to write application code to obtain more information from the database.

    Comment

    Working...
    X