Author: jeff.yuchang
Date: 2011-01-09 20:13:01 -0500 (Sun, 09 Jan 2011)
New Revision: 1226
Modified:
branches/ODE/RiftSaw-ODE-trunk/scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/jdbc/SchedulerDAOConnectionImpl.java
Log:
*RIFTSAW-306, added ASE support for scheduler simple module.
Modified:
branches/ODE/RiftSaw-ODE-trunk/scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/jdbc/SchedulerDAOConnectionImpl.java
===================================================================
---
branches/ODE/RiftSaw-ODE-trunk/scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/jdbc/SchedulerDAOConnectionImpl.java 2011-01-10
01:10:58 UTC (rev 1225)
+++
branches/ODE/RiftSaw-ODE-trunk/scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/jdbc/SchedulerDAOConnectionImpl.java 2011-01-10
01:13:01 UTC (rev 1226)
@@ -472,9 +472,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