[ 2495069 ] PackIn SQLStatement fails on PostgreSQL
https://sourceforge.net/tracker/index.php?func=detail&aid=2495069&group_id=176962&atid=879332 Backward compatibility with old packages developed by hand
This commit is contained in:
parent
7b8ee80ab1
commit
17aaeda68c
|
@ -56,7 +56,11 @@ public class SQLStatementElementHandler extends AbstractElementHandler {
|
|||
pstmt.executeUpdate();
|
||||
log.info("Executed SQL Statement for Oracle: "+ atts.getValue("statement"));
|
||||
}
|
||||
else if(DB.isPostgreSQL() == true && DBType.equals("Postgres")){
|
||||
else if ( DB.isPostgreSQL()
|
||||
&& ( DBType.equals("Postgres")
|
||||
|| DBType.equals("PostgreSQL") // backward compatibility with old packages developed by hand
|
||||
)
|
||||
) {
|
||||
// Avoid convert layer - command specific for postgresql
|
||||
//
|
||||
// pstmt = DB.prepareStatement(sql, null);
|
||||
|
|
Loading…
Reference in New Issue