BF [ 1787920 ] GenerateModel doesnt pay attention to IsActive
* removed System.out.println calls
This commit is contained in:
parent
349beff931
commit
fe8f79a3b6
|
|
@ -299,7 +299,8 @@ public class ModelClassGenerator
|
||||||
+ " AND c.ColumnName <> 'IsActive'"
|
+ " AND c.ColumnName <> 'IsActive'"
|
||||||
+ " AND c.ColumnName NOT LIKE 'Created%'"
|
+ " AND c.ColumnName NOT LIKE 'Created%'"
|
||||||
+ " AND c.ColumnName NOT LIKE 'Updated%' "
|
+ " AND c.ColumnName NOT LIKE 'Updated%' "
|
||||||
+ "ORDER BY c.ColumnName";
|
+ " AND c.IsActive='Y'"
|
||||||
|
+ " ORDER BY c.ColumnName";
|
||||||
PreparedStatement pstmt = null;
|
PreparedStatement pstmt = null;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -240,7 +240,8 @@ public class ModelInterfaceGenerator {
|
||||||
+ " AND c.ColumnName <> 'IsActive'"
|
+ " AND c.ColumnName <> 'IsActive'"
|
||||||
+ " AND c.ColumnName NOT LIKE 'Created%'"
|
+ " AND c.ColumnName NOT LIKE 'Created%'"
|
||||||
+ " AND c.ColumnName NOT LIKE 'Updated%' "
|
+ " AND c.ColumnName NOT LIKE 'Updated%' "
|
||||||
+ "ORDER BY c.ColumnName";
|
+ " AND c.IsActive='Y'"
|
||||||
|
+ " ORDER BY c.ColumnName";
|
||||||
PreparedStatement pstmt = null;
|
PreparedStatement pstmt = null;
|
||||||
try {
|
try {
|
||||||
pstmt = DB.prepareStatement(sql, null);
|
pstmt = DB.prepareStatement(sql, null);
|
||||||
|
|
@ -483,7 +484,8 @@ public class ModelInterfaceGenerator {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (className.equals("byte[]")) {
|
if (className.equals("byte[]")) {
|
||||||
System.out.println("ERROR");
|
log.warning("Invalid type - "+className);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
s_importClasses.add(className);
|
s_importClasses.add(className);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue