[teiid-commits] teiid SVN: r2633 - branches/7.1.x/jboss-integration/src/main/java/org/teiid/jboss/deployers.

teiid-commits at lists.jboss.org teiid-commits at lists.jboss.org
Thu Oct 7 14:24:52 EDT 2010


Author: rareddy
Date: 2010-10-07 14:24:52 -0400 (Thu, 07 Oct 2010)
New Revision: 2633

Modified:
   branches/7.1.x/jboss-integration/src/main/java/org/teiid/jboss/deployers/RuntimeEngineDeployer.java
Log:
TEIID-982: fixing the code so that it will work with null values in the result set.

Modified: branches/7.1.x/jboss-integration/src/main/java/org/teiid/jboss/deployers/RuntimeEngineDeployer.java
===================================================================
--- branches/7.1.x/jboss-integration/src/main/java/org/teiid/jboss/deployers/RuntimeEngineDeployer.java	2010-10-07 18:18:59 UTC (rev 2632)
+++ branches/7.1.x/jboss-integration/src/main/java/org/teiid/jboss/deployers/RuntimeEngineDeployer.java	2010-10-07 18:24:52 UTC (rev 2633)
@@ -107,7 +107,6 @@
 @ManagementObject(name="RuntimeEngineDeployer", isRuntime=true, componentType=@ManagementComponent(type="teiid",subtype="dqp"), properties=ManagementProperties.EXPLICIT)
 public class RuntimeEngineDeployer extends DQPConfiguration implements DQPManagement, Serializable , ClientServiceRegistry  {
 	private static final long serialVersionUID = -4676205340262775388L;
-	private static SimpleDateFormat SDF = new SimpleDateFormat("yyyy-MM-dd' 'HH:mm:ss.SSSZ"); //$NON-NLS-1$
 	
 	private transient SocketConfiguration jdbcSocketConfiguration;
 	private transient SocketConfiguration adminSocketConfiguration;
@@ -576,9 +575,6 @@
 					if (col instanceof Number || col instanceof String || col instanceof Character) {
 						newRow.add(col);
 					}
-					else if (col instanceof Date){
-						newRow.add(SDF.format((Date)col));
-					}
 					else if (col instanceof Blob) {
 						newRow.add("blob"); //$NON-NLS-1$
 					}



More information about the teiid-commits mailing list