-
Bug
-
Resolution: Done
-
Major
-
1.4.0.Final
-
None
-
False
-
False
-
Undefined
-
-
DML statements longer than 4000 characters are incorrectly combined when several updates have same SCN. As I see it the cause is:
1) long queries are combined in getSqlRedo of RowMapper class;
2) DML for getSqlRedo supplied by query from V$LOGMNR_CONTENTS composed by logMinerContentsQuery of SqlUtils class;
3) Query from V$LOGMNR_CONTENTS contains sorting by only SCN, so when several updates have same SCN then order of parts of same queries could be confused and resulting DML became unparsable.
Maybe V$LOGMNR_CONTENTS.SEQUENCE# should also be used to sort rows properly.