Author: jeff.yuchang
Date: 2011-01-09 19:44:14 -0500 (Sun, 09 Jan 2011)
New Revision: 1224
Modified:
branches/RiftSaw-ODE-2.1.x/scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/JdbcDelegate.java
Log:
*RIFTSAW-306, added ASE 15 support for simple scheduler module.
Modified:
branches/RiftSaw-ODE-2.1.x/scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/JdbcDelegate.java
===================================================================
---
branches/RiftSaw-ODE-2.1.x/scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/JdbcDelegate.java 2011-01-07
14:26:09 UTC (rev 1223)
+++
branches/RiftSaw-ODE-2.1.x/scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/JdbcDelegate.java 2011-01-10
00:44:14 UTC (rev 1224)
@@ -460,9 +460,9 @@
d = Dialect.SQLSERVER;
} else if (dbProductName.indexOf("MySQL") >= 0) {
d = Dialect.MYSQL;
- } else if (dbProductName.indexOf("Sybase") >= 0 ||
dbProductName.indexOf("Adaptive") >= 0) {
+ } else if (dbProductName.indexOf("Sybase") >= 0 ||
dbProductName.indexOf("ASE") >= 0 ||
dbProductName.indexOf("Adaptive") >= 0) {
d = Dialect.SYBASE;
- if( dbMajorVer == 12 ) {
+ if( dbMajorVer >= 12 ) {
d = Dialect.SYBASE12;
}
}
Show replies by date