Merged release-1.0c into release-2.0

This commit is contained in:
Heng Sin Low 2013-11-22 12:37:32 +08:00
commit 5e342989c0
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ public class GenericPOElementHandler extends AbstractElementHandler {
}
if (createElement) {
if (po.get_ID() > 0) {
if (po.get_KeyColumns() != null && po.get_KeyColumns().length == 1 && po.get_ID() > 0) {
ElementHandler handler = ctx.packOut.getHandler(po.get_TableName());
if (handler != null && !handler.getClass().equals(this.getClass()) ) {
handler.packOut(ctx.packOut, document, ctx.logDocument, po.get_ID());