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