Example #1
0
 public boolean generateSelectByPrimaryKey() {
   boolean rc =
       tableInfoWrapper.getPrimaryKeyColumns().size() > 0
           && (tableInfoWrapper.getBaseColumns().size() > 0
               || tableInfoWrapper.getBlobColumns().size() > 0);
   return rc;
 }
Example #2
0
 public boolean generateUpdateByPrimaryKeySelective() {
   return tableInfoWrapper.getPrimaryKeyColumns().size() > 0;
 }
Example #3
0
 public boolean generateDeleteByPrimaryKey() {
   return tableInfoWrapper.getPrimaryKeyColumns().size() > 0;
 }
Example #4
0
 public boolean generateUpdateByPrimaryKeyWithBLOBs() {
   return tableInfoWrapper.getPrimaryKeyColumns().size() > 0 && false;
 }