Author: shawkins
Date: 2012-03-03 16:37:04 -0500 (Sat, 03 Mar 2012)
New Revision: 3912
Modified:
branches/7.7.x/connectors/translator-jdbc/src/main/java/org/teiid/translator/jdbc/sqlserver/SQLServerExecutionFactory.java
Log:
TEIID-499 correcting the sql server formats
Modified:
branches/7.7.x/connectors/translator-jdbc/src/main/java/org/teiid/translator/jdbc/sqlserver/SQLServerExecutionFactory.java
===================================================================
---
branches/7.7.x/connectors/translator-jdbc/src/main/java/org/teiid/translator/jdbc/sqlserver/SQLServerExecutionFactory.java 2012-03-03
15:03:10 UTC (rev 3911)
+++
branches/7.7.x/connectors/translator-jdbc/src/main/java/org/teiid/translator/jdbc/sqlserver/SQLServerExecutionFactory.java 2012-03-03
21:37:04 UTC (rev 3912)
@@ -95,8 +95,8 @@
formatMap.put("dd MMM yyyy kk:mm:ss:SSS", 113); //$NON-NLS-1$
formatMap.put("yyyy-MM-dd kk:mm:ss", 120); //$NON-NLS-1$
formatMap.put("yyyy-MM-dd kk:mm:ss.SSS", 121); //$NON-NLS-1$
- formatMap.put("yyyy-MM-ddTkk:mm:ss.SSS", 126); //$NON-NLS-1$
- formatMap.put("yyyy-MM-ddTkk:mm:ss.SSST", 127); //$NON-NLS-1$
+ formatMap.put("yyyy-MM-dd'T'kk:mm:ss.SSS", 126); //$NON-NLS-1$
+ formatMap.put("yyyy-MM-dd'T'kk:mm:ss.SSS'Z'", 127);
//$NON-NLS-1$
formatMap.put("dd MMM yyyy hh:mm:ss:SSSa", 130); //$NON-NLS-1$
formatMap.put("dd/mm/yyyy hh:mm:ss:SSSa", 131); //$NON-NLS-1$
}
@@ -310,7 +310,7 @@
}
@Override
- public boolean supportsOnlyLiteralFormat() {
+ public boolean supportsOnlyFormatLiterals() {
return true;
}
Show replies by date