teiid SVN: r3710 - in trunk: common-core/src/main/java/org/teiid/core/types and 19 other directories.
by teiid-commits@lists.jboss.org
Author: shawkins
Date: 2011-11-30 17:17:23 -0500 (Wed, 30 Nov 2011)
New Revision: 3710
Modified:
trunk/build/kits/jboss-container/teiid-releasenotes.html
trunk/common-core/src/main/java/org/teiid/core/types/DataTypeManager.java
trunk/common-core/src/main/java/org/teiid/core/types/basic/FloatingNumberToBigIntegerTransform.java
trunk/connectors/translator-jdbc/src/test/java/org/teiid/translator/jdbc/netezza/TestNetezzaTranslatorCapabilities.java
trunk/connectors/translator-jdbc/src/test/java/org/teiid/translator/jdbc/sybase/TestSybaseSQLConversionVisitor.java
trunk/documentation/admin-guide/src/main/docbook/en-US/content/appendix-c.xml
trunk/engine/src/main/java/org/teiid/query/function/FunctionLibrary.java
trunk/engine/src/main/java/org/teiid/query/function/FunctionMethods.java
trunk/engine/src/main/java/org/teiid/query/function/aggregate/Avg.java
trunk/engine/src/main/java/org/teiid/query/function/aggregate/Sum.java
trunk/engine/src/main/java/org/teiid/query/parser/SQLParserUtil.java
trunk/engine/src/main/java/org/teiid/query/resolver/util/ResolverUtil.java
trunk/engine/src/main/java/org/teiid/query/resolver/util/ResolverVisitor.java
trunk/engine/src/main/java/org/teiid/query/sql/symbol/AggregateSymbol.java
trunk/engine/src/main/java/org/teiid/query/tempdata/TempTableDataManager.java
trunk/engine/src/main/javacc/org/teiid/query/parser/SQLParser.jj
trunk/engine/src/main/resources/org/teiid/query/i18n.properties
trunk/engine/src/test/java/org/teiid/query/function/TestFunctionLibrary.java
trunk/engine/src/test/java/org/teiid/query/parser/TestParser.java
trunk/engine/src/test/java/org/teiid/query/processor/TestProcessor.java
trunk/engine/src/test/java/org/teiid/query/processor/relational/TestGroupingNode.java
trunk/engine/src/test/java/org/teiid/query/resolver/TestResolver.java
trunk/engine/src/test/java/org/teiid/query/rewriter/TestQueryRewriter.java
trunk/test-integration/common/src/test/java/org/teiid/dqp/internal/process/TestTPCR.java
Log:
TEIID-1600 bringing decimal parsing and exact numeric AVG in line with the spec
Modified: trunk/build/kits/jboss-container/teiid-releasenotes.html
===================================================================
--- trunk/build/kits/jboss-container/teiid-releasenotes.html 2011-11-30 19:08:23 UTC (rev 3709)
+++ trunk/build/kits/jboss-container/teiid-releasenotes.html 2011-11-30 22:17:23 UTC (rev 3710)
@@ -35,10 +35,16 @@
<li>Support for using the FROM clause post item hints MAKEDEP/MAKENOTDEP has been deprecated. Use the pre item comment hint syntax instead, e.g. /*+ MAKEDEP */ tbl
</ul>
-<h4>from 7.6</h4>
+<h4>from 7.x</h4>
<ul>
<li>TRANSLATE/HAS CRITERIA has been removed. INSTEAD OF trigger actions should be used instead. ROWS_UPDATED, INPUTS, and INPUT are no longer procedure reserved words.
- <li>7.6 or earlier VDBs with table cardinalities set the old unknown value 0 will now report that value as -1 via the metadata API or SYS.TABLES.
+ <li>7.x or earlier VDBs with table cardinalities set the old unknown value 0 will now report that value as -1 via the metadata API or SYS.TABLES.
+ <li>Exact fixed point literals, e.g. 1.0, are now parsed as decimal/BigDecimal values as per the ANSI specification, rather than as double values.
+ Also the AVG aggregate function will return an exact numeric (BigDecimal) value for integral types rather than returning a double value.
+ Views that were projecting doubles from exact numeric literals or using AVG will need to be updated. There is also a new system property org.teiid.parseDecimalAsDouble to
+ enable the pre-8.0 parsing of exact fixed point literals as doubles. The BigDecimal form of the AVG function now uses the same precision and scale logic as the division system function, rather than using a
+ fixed scale of 9.
+ <li>BigDecimal division that returns a quotient that is equal to zero will have a scale of zero as well. Prior releases would typically return a zero value with a scale of 16.
</ul>
<h4>from 7.5</h4>
@@ -91,27 +97,6 @@
<ul>
<li>The term data policy was replaced with data role. The AdminAPI methods for adding role mappings have changed from addRoleToDataPolicy and removeRoleFromDataPolicy to addDataRoleMapping and removeDataRoleMapping respectively.
</ul>
-<h4>from 6.2</h4>
-<ul>
- <li>The connector API has changed substantially. Custom connectors need to be retargeted to the new Translator API. See <a href="https://jira.jboss.org/browse/TEIID-1003">TEIID-1003</a> and the <a href="teiid-docs/teiid_developers_guide.pdf">Developer's Guide</a> for more information.
- <li>Connector bindings are no longer valid. Use the Designer Tooling or see the AdminShell download for a migration utility.
- <li>Calling out to web services and xml processing has been dramatically simplified and improved, but is a breaking change from prior releases.
- XML/Relational processing has been replaced by XMLTABLE, retrieving XML from file has been replaced by the File Translator/Resource Adapter, and
- web service calls have been replaced by the WS Translator/Resource Adapter. See <a href="https://jira.jboss.org/browse/TEIID-1118">TEIID-1118</a>, <a href="https://jira.jboss.org/browse/TEIID-1114">TEIID-1114</a>, and the <a href="teiid-docs/teiid_reference.pdf">Reference</a> guide for more information.
- <li>The direct usage of XQuery has been replaced with the XMLQuery function.
- <li>The text connector file processing has been replaced with the TEXTTABLE function. See <a href="https://jira.jboss.org/browse/TEIID-1102">TEIID-1102</a> and the <a href="teiid-docs/teiid_reference.pdf">Reference</a> guide for more information
- <li>Double quoted values are now parsed as identifiers by default. See <a href="https://jira.jboss.org/browse/TEIID-145">TEIID-145</a> and the <a href="teiid-docs/teiid_reference.pdf">Reference</a> guide for more information.
- <li>The system information schema has changed from System to SYS. The tables and table structures have also changed. See <a href="https://jira.jboss.org/browse/TEIID-871">TEIID-871</a> and the <a href="teiid-docs/teiid_reference.pdf">Reference</a> guide for more information.
- <li>Client control over query plans has changed. OPTION PLANONLY, DEBUG, and SHOWPLAN are no longer allowed. This behavior should not be controlled by the SET statement, SET SHOWPLAN (ON|OFF|DEBUG) and SET NOEXEC (ON|OFF). Usage of the client PlanNode class will also need to be updated.
- <li>Teiid specific JDBC client interfaces and methods have changed. In general these custom features have mostly been moved to other more standard locations or been removed. See <a href="https://jira.jboss.org/browse/TEIID-1020">TEIID-1020</a> and the <a href="teiid-docs/teiid_client_developers_guide.pdf">Client Developers</a> guide for more information.
- <li>Teiid's reserved words have changed. Many of the Teiid specific reserved words have become non-reserved words. All of SQL Foundation and SQL/MED 2003, and SQL/XML from SQL 2006 reserved words have been added as reserved words. It is generally required to double quote all reserved words. It is advisable to double quote all non-reserved words as well. The use of the INPUT qualifier for procedure inputs has been deprecated in favor of INPUTS. The use of the USING qualifier for dynamic SQL inputs has been deprecated in favor of DVARS.
- <li>The AdminApi has been redesigned for use with the new Translator/JCA split and for deployment in JBoss AS.
- <li>The AdminShell is based on Groovy. Most BeanShell syntax is also valid in Groovy, but there are extensive changes in the AdminAPI that may necessitate rewriting scripts.
- <li>OPTION NO CACHE <table list> will now only by-pass cache for the given tables at their immediate view layer. Previously all caches would have transitively been skipped. See <a href="https://jira.jboss.org/browse/TEIID-900">TEIID-900</a> for more information.
- <li>Nan and +-Infinity are no longer allowed as numerical results by default. This may be changed via the system property org.teiid.allowNanInfinity.
- <li>The scale of BigDecimal values is now adjusted to allow for more intuitive results. Conversion from floating numeric types will preserve the approximate scale and division results will allow for additional scale. See <a href="https://jira.jboss.org/browse/TEIID-159">TEIID-159</a> for more information.
- <li>The 7.0 client is not compatible with 6.x or vice versa. It is expected that 7.0 clients will be compatible with 7.x releases for standard JDBC operations.
-</ul>
<h2><a name="Configuration">Configuration Issues</a></h2>
@@ -169,13 +154,6 @@
<li>Code table relate configuration properties have been removed. Code tables are now implemented as materialized views.
</ul>
-<h4>from 6.2</h4>
-<ul>
- <li>A JBoss AS instance is now required. Embedded mode is also currently not supported.</li>
- <li>Engine configuration is now handled through the admin console or deploy/teiid/teiid-jboss-beans.xml
- <li>Logging is now done through the container's log4j instance. Any Teiid specific logging changes, see the conf/jboss-teiid-log4j.xml, need to be incorporated into the master jboss-log4j.xml.
-</ul>
-
<h2><a name="Other">Other Issues</a></h2>
<ul>
<li>TEIID-1170 - correlated subqueries are not allowed in UPDATEs or DELETEs against internal Teiid tables (internal materialized views or temporary tables).
@@ -190,12 +168,6 @@
<ul>
<li>Fixed xsd type handling for SQL/XML and XML document models. xsd:date, xsd:dateTime, and xsd:time types will now all be displayed using the GMT timezone (Z). SQL types, such as timestamp, used for an XMLTABLE column will now expect their values to be in the form of the corresponding xsd type.
</ul>
-<h4>From 6.2</h4>
-<ul>
- <li>Start time is now significantly longer due to the container deployment. However many operations can be performed on configruation files that will trigger a redeployment without the need for a restart.
- <li>Inversion of parse, format, and convert system functions is not used if it can be narrowing. In situations where a predicate has the form: parseTime(column, 'format') = {t 'time value'} may lead to reduced performance, since
- the parseTime function cannot be pushed down. This should be addressed in future releases.
-</ul>
<h2><a name="LibraryUpdates">Thirdparty Library Updates</a></h2>
@@ -217,13 +189,6 @@
<li>Netty was upgraded to 3.2.0
<li>JDOM was removed.
</ul>
-<h4>From 6.2</h4>
-<ul>
- <li>Netty was upgraded to 3.1.5
- <li>Saxon was upgraded to 9.1.0.8
- <li>A 5.1 container's version of Arjuna is newer than what was previously included in Teiid 6.x.
- <li>Various other dependencies have been removed as they are no longer needed or now provided by the container.
-</ul>
<h2><a name="Details">Detailed Release Notes</a></h2>
Detailed Release Notes - Teiid - Version ${project.version}
Modified: trunk/common-core/src/main/java/org/teiid/core/types/DataTypeManager.java
===================================================================
--- trunk/common-core/src/main/java/org/teiid/core/types/DataTypeManager.java 2011-11-30 19:08:23 UTC (rev 3709)
+++ trunk/common-core/src/main/java/org/teiid/core/types/DataTypeManager.java 2011-11-30 22:17:23 UTC (rev 3710)
@@ -41,22 +41,7 @@
import java.util.Set;
import org.teiid.core.CorePlugin;
-import org.teiid.core.types.basic.AnyToObjectTransform;
-import org.teiid.core.types.basic.AnyToStringTransform;
-import org.teiid.core.types.basic.BooleanToNumberTransform;
-import org.teiid.core.types.basic.FixedNumberToBigDecimalTransform;
-import org.teiid.core.types.basic.FixedNumberToBigIntegerTransform;
-import org.teiid.core.types.basic.FloatingNumberToBigDecimalTransform;
-import org.teiid.core.types.basic.FloatingNumberToBigIntegerTransform;
-import org.teiid.core.types.basic.NullToAnyTransform;
-import org.teiid.core.types.basic.NumberToBooleanTransform;
-import org.teiid.core.types.basic.NumberToByteTransform;
-import org.teiid.core.types.basic.NumberToDoubleTransform;
-import org.teiid.core.types.basic.NumberToFloatTransform;
-import org.teiid.core.types.basic.NumberToIntegerTransform;
-import org.teiid.core.types.basic.NumberToLongTransform;
-import org.teiid.core.types.basic.NumberToShortTransform;
-import org.teiid.core.types.basic.ObjectToAnyTransform;
+import org.teiid.core.types.basic.*;
import org.teiid.core.util.ArgCheck;
import org.teiid.core.util.HashCodeUtil;
import org.teiid.core.util.PropertiesUtils;
@@ -336,7 +321,7 @@
* @param dataType
* New data type defined by Class
*/
- static void addDataType(String typeName, Class dataType) {
+ static void addDataType(String typeName, Class<?> dataType) {
dataTypeNames.put(typeName, dataType);
dataTypeClasses.put(dataType, typeName);
}
@@ -361,13 +346,13 @@
* Data type name
* @return Data type class
*/
- public static Class getDataTypeClass(String name) {
+ public static Class<?> getDataTypeClass(String name) {
if (name == null) {
return DefaultDataClasses.NULL;
}
// Hope this is the correct case (as it will be if using the constants
- Class dataTypeClass = dataTypeNames.get(name);
+ Class<?> dataTypeClass = dataTypeNames.get(name);
// If that fails, do a lower case to make sure we match
if (dataTypeClass == null) {
@@ -380,7 +365,7 @@
return dataTypeClass;
}
- public static String getDataTypeName(Class typeClass) {
+ public static String getDataTypeName(Class<?> typeClass) {
if (typeClass == null) {
return DefaultDataTypes.NULL;
}
@@ -424,7 +409,7 @@
* Outgoing value type
* @return A transform if one exists, null otherwise
*/
- public static Transform getTransform(Class sourceType, Class targetType) {
+ public static Transform getTransform(Class<?> sourceType, Class<?> targetType) {
if (sourceType == null || targetType == null) {
throw new IllegalArgumentException(CorePlugin.Util.getString(
"ERR.003.029.0002", sourceType, targetType)); //$NON-NLS-1$
@@ -464,14 +449,8 @@
* Outgoing value type
* @return True if a transform exists
*/
- public static boolean isTransformable(Class sourceType, Class targetType) {
- if (sourceType == null || targetType == null) {
- throw new IllegalArgumentException(CorePlugin.Util.getString(
- "ERR.003.029.0002", sourceType, targetType)); //$NON-NLS-1$
- }
- return (getTransformFromMaps(DataTypeManager
- .getDataTypeName(sourceType), DataTypeManager
- .getDataTypeName(targetType)) != null);
+ public static boolean isTransformable(Class<?> sourceType, Class<?> targetType) {
+ return getTransform(sourceType, targetType) != null;
}
/**
Modified: trunk/common-core/src/main/java/org/teiid/core/types/basic/FloatingNumberToBigIntegerTransform.java
===================================================================
--- trunk/common-core/src/main/java/org/teiid/core/types/basic/FloatingNumberToBigIntegerTransform.java 2011-11-30 19:08:23 UTC (rev 3709)
+++ trunk/common-core/src/main/java/org/teiid/core/types/basic/FloatingNumberToBigIntegerTransform.java 2011-11-30 22:17:23 UTC (rev 3710)
@@ -53,7 +53,7 @@
* Type of the incoming value.
* @return Source type
*/
- public Class getSourceType() {
+ public Class<?> getSourceType() {
return sourceType;
}
@@ -61,7 +61,7 @@
* Type of the outgoing value.
* @return Target type
*/
- public Class getTargetType() {
+ public Class<?> getTargetType() {
return DataTypeManager.DefaultDataClasses.BIG_INTEGER;
}
Modified: trunk/connectors/translator-jdbc/src/test/java/org/teiid/translator/jdbc/netezza/TestNetezzaTranslatorCapabilities.java
===================================================================
--- trunk/connectors/translator-jdbc/src/test/java/org/teiid/translator/jdbc/netezza/TestNetezzaTranslatorCapabilities.java 2011-11-30 19:08:23 UTC (rev 3709)
+++ trunk/connectors/translator-jdbc/src/test/java/org/teiid/translator/jdbc/netezza/TestNetezzaTranslatorCapabilities.java 2011-11-30 22:17:23 UTC (rev 3710)
@@ -21,37 +21,27 @@
*/
package org.teiid.translator.jdbc.netezza;
-import junit.framework.TestCase;
+import static org.junit.Assert.*;
+import org.junit.BeforeClass;
import org.junit.Test;
import org.mockito.Mockito;
import org.teiid.cdk.unittest.FakeTranslationFactory;
-import org.teiid.dqp.internal.datamgr.FakeExecutionContextImpl;
import org.teiid.language.Command;
import org.teiid.translator.ExecutionContext;
import org.teiid.translator.TranslatorException;
import org.teiid.translator.jdbc.TranslatedCommand;
-import org.teiid.translator.jdbc.TranslationHelper;
-public class TestNetezzaTranslatorCapabilities extends TestCase {
+@SuppressWarnings("nls")
+public class TestNetezzaTranslatorCapabilities {
private static NetezzaExecutionFactory TRANSLATOR;
- private static ExecutionContext EMPTY_CONTEXT = new FakeExecutionContextImpl();
- static {
- try {
- TRANSLATOR = new NetezzaExecutionFactory();
- TRANSLATOR.start();
- } catch(TranslatorException e) {
- e.printStackTrace();
- }
+ @BeforeClass public static void oneTimeSetup() throws TranslatorException {
+ TRANSLATOR = new NetezzaExecutionFactory();
+ TRANSLATOR.start();
}
-
- private String getTestBQTVDB() {
- return TranslationHelper.BQT_VDB;
- }
-
public void helpTestVisitor(String input, String expectedOutput) throws TranslatorException {
// Convert from sql to objects
Command obj = FakeTranslationFactory.getInstance().getBQTTranslationUtility().parseCommand(input);
@@ -198,7 +188,7 @@
@Test public void testScalarSubQuery() throws Exception {
String input = "select intkey, intnum from bqt1.smalla where intnum < (0.01 * (select sum(intnum) from bqt1.smalla ))";
- String output = "SELECT SmallA.IntKey, SmallA.IntNum FROM SmallA WHERE SmallA.IntNum < (0.010000000000000 * (SELECT SUM(SmallA.IntNum) FROM SmallA))";
+ String output = "SELECT SmallA.IntKey, SmallA.IntNum FROM SmallA WHERE SmallA.IntNum < (0.01 * (SELECT SUM(SmallA.IntNum) FROM SmallA))";
helpTestVisitor(
input,
Modified: trunk/connectors/translator-jdbc/src/test/java/org/teiid/translator/jdbc/sybase/TestSybaseSQLConversionVisitor.java
===================================================================
--- trunk/connectors/translator-jdbc/src/test/java/org/teiid/translator/jdbc/sybase/TestSybaseSQLConversionVisitor.java 2011-11-30 19:08:23 UTC (rev 3709)
+++ trunk/connectors/translator-jdbc/src/test/java/org/teiid/translator/jdbc/sybase/TestSybaseSQLConversionVisitor.java 2011-11-30 22:17:23 UTC (rev 3710)
@@ -227,7 +227,7 @@
@Test
public void testNonIntMod() throws Exception {
String input = "select mod(intkey/1.5, 3) from bqt1.smalla"; //$NON-NLS-1$
- String output = "SELECT ((cast(SmallA.IntKey AS double precision) / 1.5) - (sign((cast(SmallA.IntKey AS double precision) / 1.5)) * floor(abs(((cast(SmallA.IntKey AS double precision) / 1.5) / 3.0))) * abs(3.0))) FROM SmallA"; //$NON-NLS-1$
+ String output = "SELECT ((cast(SmallA.IntKey AS numeric(38, 19)) / 1.5) - (sign((cast(SmallA.IntKey AS numeric(38, 19)) / 1.5)) * floor(abs(((cast(SmallA.IntKey AS numeric(38, 19)) / 1.5) / 3))) * abs(3))) FROM SmallA"; //$NON-NLS-1$
helpTestVisitor(getBQTVDB(),
input,
Modified: trunk/documentation/admin-guide/src/main/docbook/en-US/content/appendix-c.xml
===================================================================
--- trunk/documentation/admin-guide/src/main/docbook/en-US/content/appendix-c.xml 2011-11-30 19:08:23 UTC (rev 3709)
+++ trunk/documentation/admin-guide/src/main/docbook/en-US/content/appendix-c.xml 2011-11-30 22:17:23 UTC (rev 3710)
@@ -40,5 +40,10 @@
Set to true to use ISO 8601 rules for week calculations regardless of the locale. When true the dayOfWeek function will begin with 1 for MONDAY rather than SUNDAY, and the week function will require that week 1 of a year contains the year's first Thursday.
</para>
</listitem>
+ <listitem>
+ <para><emphasis>org.teiid.parseDecimalAsDouble</emphasis> - defaults to false.
+ Set to true to parse exact fixed point literals, e.g. 1.0, as double values rather than as decimal/BigDecimal values in the same way as releases earlier than 8.0.
+ </para>
+ </listitem>
</itemizedlist>
</appendix>
\ No newline at end of file
Modified: trunk/engine/src/main/java/org/teiid/query/function/FunctionLibrary.java
===================================================================
--- trunk/engine/src/main/java/org/teiid/query/function/FunctionLibrary.java 2011-11-30 19:08:23 UTC (rev 3709)
+++ trunk/engine/src/main/java/org/teiid/query/function/FunctionLibrary.java 2011-11-30 22:17:23 UTC (rev 3710)
@@ -32,8 +32,11 @@
import org.teiid.api.exception.query.InvalidFunctionException;
import org.teiid.api.exception.query.QueryResolverException;
import org.teiid.core.types.DataTypeManager;
+import org.teiid.core.types.Transform;
import org.teiid.metadata.FunctionMethod;
import org.teiid.metadata.FunctionParameter;
+import org.teiid.query.resolver.util.ResolverUtil;
+import org.teiid.query.sql.symbol.Constant;
import org.teiid.query.sql.symbol.Expression;
import org.teiid.query.sql.symbol.Function;
@@ -193,22 +196,21 @@
* executing the function.
* @param name Name of function
* @param returnType
+ * @param args
* @param types Existing types passed to the function
* @return Null if no conversion could be found, otherwise an array of conversions
* to apply to each argument. The list should match 1-to-1 with the parameters.
* Parameters that do not need a conversion are null; parameters that do are
- * FunctionDescriptors.
+ * FunctionDescriptors.
+ * @throws InvalidFunctionException
* @throws QueryResolverException
*/
- public FunctionDescriptor[] determineNecessaryConversions(String name, Class<?> returnType, Class<?>[] types, boolean hasUnknownType) {
+ public FunctionDescriptor[] determineNecessaryConversions(String name, Class<?> returnType, Expression[] args, Class<?>[] types, boolean hasUnknownType) throws InvalidFunctionException {
// Check for no args - no conversion necessary
if(types.length == 0) {
- return new FunctionDescriptor[0];
+ return null;
}
- // Construct results array
- FunctionDescriptor[] results = null;
-
//First find existing functions with same name and same number of parameters
final Collection<FunctionMethod> functionMethods = new LinkedList<FunctionMethod>();
functionMethods.addAll( this.systemFunctions.findFunctionMethods(name, types.length) );
@@ -223,12 +225,12 @@
//Current best score (lower score is best. Higher score results in more implicit conversions
int bestScore = Integer.MAX_VALUE;
boolean ambiguous = false;
+ FunctionMethod result = null;
for (FunctionMethod nextMethod : functionMethods) {
- int currentScore = 0;
+ int currentScore = 0;
final List<FunctionParameter> methodTypes = nextMethod.getInputParameters();
//Holder for current signature with converts where required
- FunctionDescriptor[] currentSignature = new FunctionDescriptor[types.length];
//Iterate over the parameters adding conversions where required or failing when
//no implicit conversion is possible
@@ -240,17 +242,21 @@
Class<?> sourceType = types[i];
if (sourceType == null) {
- FunctionDescriptor fd = findTypedConversionFunction(DataTypeManager.DefaultDataClasses.NULL, targetType);
- currentSignature[i] = fd;
currentScore++;
continue;
}
try {
- FunctionDescriptor fd = getConvertFunctionDescriptor(sourceType, targetType);
- if (fd != null) {
- currentScore++;
- currentSignature[i] = fd;
+ Transform t = getConvertFunctionDescriptor(sourceType, targetType);
+ if (t != null) {
+ if (t.isExplicit()) {
+ if (!(args[i] instanceof Constant) || ResolverUtil.convertConstant(DataTypeManager.getDataTypeName(sourceType), tmpTypeName, (Constant)args[i]) == null) {
+ break;
+ }
+ currentScore++;
+ } else {
+ currentScore++;
+ }
}
} catch (InvalidFunctionException e) {
break;
@@ -265,13 +271,18 @@
if (hasUnknownType) {
if (returnType != null) {
try {
- FunctionDescriptor fd = getConvertFunctionDescriptor(DataTypeManager.getDataTypeClass(nextMethod.getOutputParameter().getType()), returnType);
- if (fd != null) {
- currentScore++;
+ Transform t = getConvertFunctionDescriptor(DataTypeManager.getDataTypeClass(nextMethod.getOutputParameter().getType()), returnType);
+ if (t != null) {
+ if (t.isExplicit()) {
+ //there still may be a common type, but use any other valid conversion over this one
+ currentScore += types.length + 1;
+ } else {
+ currentScore++;
+ }
}
} catch (InvalidFunctionException e) {
//there still may be a common type, but use any other valid conversion over this one
- currentScore += (types.length + 1);
+ currentScore += (types.length * types.length);
}
}
ambiguous = currentScore == bestScore;
@@ -279,40 +290,52 @@
if (currentScore < bestScore) {
- if (currentScore == 0) {
+ if (currentScore == 0) {
//this must be an exact match
- return currentSignature;
+ return null;
}
bestScore = currentScore;
- results = currentSignature;
+ result = nextMethod;
}
}
- if (ambiguous) {
- return null;
+ if (ambiguous || result == null) {
+ throw new InvalidFunctionException();
}
- return results;
+ return getConverts(result, types);
}
- private FunctionDescriptor getConvertFunctionDescriptor(Class<?> sourceType, Class<?> targetType) throws InvalidFunctionException {
- final String sourceTypeName = DataTypeManager.getDataTypeName(sourceType);
- final String targetTypeName = DataTypeManager.getDataTypeName(targetType);
+ private FunctionDescriptor[] getConverts(FunctionMethod method, Class<?>[] types) {
+ final List<FunctionParameter> methodTypes = method.getInputParameters();
+ FunctionDescriptor[] result = new FunctionDescriptor[types.length];
+ for(int i = 0; i < types.length; i++) {
+ //treat all varags as the same type
+ final String tmpTypeName = methodTypes.get(Math.min(i, methodTypes.size() - 1)).getType();
+ Class<?> targetType = DataTypeManager.getDataTypeClass(tmpTypeName);
+
+ Class<?> sourceType = types[i];
+ if (sourceType == null) {
+ result[i] = findTypedConversionFunction(DataTypeManager.DefaultDataClasses.NULL, targetType);
+ } else if (sourceType != targetType){
+ result[i] = findTypedConversionFunction(sourceType, targetType);
+ }
+ }
+ return result;
+ }
+
+ private Transform getConvertFunctionDescriptor(Class<?> sourceType, Class<?> targetType) throws InvalidFunctionException {
//If exact match no conversion necessary
- if(sourceTypeName.equals(targetTypeName)) {
+ if(sourceType.equals(targetType)) {
return null;
}
+ Transform result = DataTypeManager.getTransform(sourceType, targetType);
//Else see if an implicit conversion is possible.
- if(!DataTypeManager.isImplicitConversion(sourceTypeName, targetTypeName)){
+ if(result == null){
throw new InvalidFunctionException();
}
- //Else no conversion is available and the current method is not a valid match
- final FunctionDescriptor fd = findTypedConversionFunction(sourceType, targetType);
- if(fd == null) {
- throw new InvalidFunctionException();
- }
- return fd;
+ return result;
}
/**
Modified: trunk/engine/src/main/java/org/teiid/query/function/FunctionMethods.java
===================================================================
--- trunk/engine/src/main/java/org/teiid/query/function/FunctionMethods.java 2011-11-30 19:08:23 UTC (rev 3709)
+++ trunk/engine/src/main/java/org/teiid/query/function/FunctionMethods.java 2011-11-30 22:17:23 UTC (rev 3710)
@@ -166,9 +166,15 @@
return x.divide(y);
}
+ private static final BigDecimal ZERO = new BigDecimal(0);
+
public static Object divide(BigDecimal x, BigDecimal y) {
BigDecimal bd = x.divide(y, Math.max(16, x.scale() + y.precision() + 1), RoundingMode.HALF_UP).stripTrailingZeros();
- return bd.setScale(Math.max(x.scale(), bd.scale()));
+ bd = bd.setScale(Math.max(x.scale(), bd.scale()));
+ if (bd.compareTo(ZERO) == 0) {
+ return ZERO;
+ }
+ return bd;
}
// ================== Function = abs =====================
Modified: trunk/engine/src/main/java/org/teiid/query/function/aggregate/Avg.java
===================================================================
--- trunk/engine/src/main/java/org/teiid/query/function/aggregate/Avg.java 2011-11-30 19:08:23 UTC (rev 3709)
+++ trunk/engine/src/main/java/org/teiid/query/function/aggregate/Avg.java 2011-11-30 22:17:23 UTC (rev 3710)
@@ -30,6 +30,7 @@
import org.teiid.core.TeiidComponentException;
import org.teiid.core.types.DataTypeManager;
import org.teiid.query.QueryPlugin;
+import org.teiid.query.function.FunctionMethods;
/**
@@ -40,8 +41,6 @@
*/
public class Avg extends Sum {
- private static final int AVG_SCALE = 9;
-
private int count = 0;
/**
@@ -87,9 +86,9 @@
case BIG_DECIMAL:
try {
- return ((BigDecimal)sum).divide(new BigDecimal(count), AVG_SCALE, BigDecimal.ROUND_HALF_UP);
+ return FunctionMethods.divide((BigDecimal)sum, new BigDecimal(count));
} catch(ArithmeticException e) {
- throw new FunctionExecutionException(e, "ERR.015.001.0048", QueryPlugin.Util.getString("ERR.015.001.0048", sum, new Integer(count))); //$NON-NLS-1$ //$NON-NLS-2$
+ throw new FunctionExecutionException(e, "ERR.015.001.0048", QueryPlugin.Util.getString("ERR.015.001.0048", sum, count)); //$NON-NLS-1$ //$NON-NLS-2$
}
default:
throw new AssertionError("unknown accumulator type"); //$NON-NLS-1$
Modified: trunk/engine/src/main/java/org/teiid/query/function/aggregate/Sum.java
===================================================================
--- trunk/engine/src/main/java/org/teiid/query/function/aggregate/Sum.java 2011-11-30 19:08:23 UTC (rev 3709)
+++ trunk/engine/src/main/java/org/teiid/query/function/aggregate/Sum.java 2011-11-30 22:17:23 UTC (rev 3710)
@@ -47,7 +47,10 @@
protected int accumulatorType = LONG;
- private Object sum = null;
+ private long sumLong;
+ private double sumDouble;
+ private BigDecimal sumBigDecimal;
+ private boolean isNull = true;
/**
* Allows subclasses to determine type of accumulator for the SUM.
@@ -69,16 +72,16 @@
this.accumulatorType = DOUBLE;
- } else if(dataType.equals(DataTypeManager.DefaultDataClasses.BIG_INTEGER)) {
-
- this.accumulatorType = BIG_INTEGER;
} else {
this.accumulatorType = BIG_DECIMAL;
}
}
public void reset() {
- sum = null;
+ sumLong = 0;
+ sumDouble = 0;
+ sumBigDecimal = null;
+ isNull = true;
}
/**
@@ -87,39 +90,27 @@
public void addInputDirect(Object input, List<?> tuple)
throws FunctionExecutionException, ExpressionEvaluationException, TeiidComponentException {
- if (this.sum == null) {
- switch (this.accumulatorType) {
- case LONG:
- this.sum = new Long(0);
- break;
- case DOUBLE:
- this.sum = new Double(0);
- break;
- case BIG_INTEGER:
- this.sum = new BigInteger(String.valueOf(0));
- break;
- case BIG_DECIMAL:
- this.sum = new BigDecimal(0);
- break;
- }
- }
-
+ isNull = false;
+
switch(this.accumulatorType) {
case LONG:
- this.sum = new Long(((Long)this.sum).longValue() + ((Number)input).longValue());
+ this.sumLong += ((Number)input).longValue();
break;
case DOUBLE:
- this.sum = new Double(((Double)this.sum).doubleValue() + ((Number)input).doubleValue());
+ this.sumDouble += ((Number)input).doubleValue();
break;
case BIG_INTEGER:
- this.sum = ((BigInteger)this.sum).add( (BigInteger) input );
- break;
case BIG_DECIMAL:
+ if (sumBigDecimal == null) {
+ sumBigDecimal = BigDecimal.valueOf(0);
+ }
if (input instanceof BigInteger) {
BigInteger bigIntegerInput = (BigInteger) input;
- this.sum = ((BigDecimal)this.sum).add( new BigDecimal(bigIntegerInput) );
+ this.sumBigDecimal = this.sumBigDecimal.add( new BigDecimal(bigIntegerInput) );
+ } else if (input instanceof BigDecimal){
+ this.sumBigDecimal = this.sumBigDecimal.add( (BigDecimal) input );
} else {
- this.sum = ((BigDecimal)this.sum).add( (BigDecimal) input );
+ this.sumBigDecimal = this.sumBigDecimal.add( new BigDecimal(((Number)input).longValue()));
}
break;
}
@@ -131,6 +122,18 @@
public Object getResult()
throws FunctionExecutionException, ExpressionEvaluationException, TeiidComponentException {
- return sum;
+ if (isNull){
+ return null;
+ }
+
+ switch(this.accumulatorType) {
+ case LONG:
+ return this.sumLong;
+ case DOUBLE:
+ return this.sumDouble;
+ case BIG_INTEGER:
+ return this.sumBigDecimal.toBigInteger();
+ }
+ return this.sumBigDecimal;
}
}
Modified: trunk/engine/src/main/java/org/teiid/query/parser/SQLParserUtil.java
===================================================================
--- trunk/engine/src/main/java/org/teiid/query/parser/SQLParserUtil.java 2011-11-30 19:08:23 UTC (rev 3709)
+++ trunk/engine/src/main/java/org/teiid/query/parser/SQLParserUtil.java 2011-11-30 22:17:23 UTC (rev 3710)
@@ -30,6 +30,7 @@
import java.util.regex.Pattern;
import org.teiid.core.util.Assertion;
+import org.teiid.core.util.PropertiesUtils;
import org.teiid.core.util.StringUtil;
import org.teiid.language.SQLConstants.Reserved;
import org.teiid.query.QueryPlugin;
@@ -49,6 +50,8 @@
public class SQLParserUtil {
+ public static final boolean PARSE_DECIMAL_AS_DOUBLE = PropertiesUtils.getBooleanProperty(System.getProperties(), "org.teiid.parseDecimalAsDouble", false); //$NON-NLS-1$
+
String matchesAny(String arg, String ... expected) {
for (String string : expected) {
if (string.equalsIgnoreCase(arg)) {
Modified: trunk/engine/src/main/java/org/teiid/query/resolver/util/ResolverUtil.java
===================================================================
--- trunk/engine/src/main/java/org/teiid/query/resolver/util/ResolverUtil.java 2011-11-30 19:08:23 UTC (rev 3709)
+++ trunk/engine/src/main/java/org/teiid/query/resolver/util/ResolverUtil.java 2011-11-30 22:17:23 UTC (rev 3710)
@@ -22,19 +22,7 @@
package org.teiid.query.resolver.util;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.LinkedHashMap;
-import java.util.LinkedHashSet;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
+import java.util.*;
import org.teiid.api.exception.query.QueryMetadataException;
import org.teiid.api.exception.query.QueryResolverException;
@@ -57,33 +45,8 @@
import org.teiid.query.optimizer.relational.rules.RuleChooseJoinStrategy;
import org.teiid.query.optimizer.relational.rules.RuleRaiseAccess;
import org.teiid.query.sql.LanguageObject;
-import org.teiid.query.sql.lang.Command;
-import org.teiid.query.sql.lang.CompareCriteria;
-import org.teiid.query.sql.lang.Criteria;
-import org.teiid.query.sql.lang.FromClause;
-import org.teiid.query.sql.lang.JoinPredicate;
-import org.teiid.query.sql.lang.JoinType;
-import org.teiid.query.sql.lang.Limit;
-import org.teiid.query.sql.lang.OrderBy;
-import org.teiid.query.sql.lang.Query;
-import org.teiid.query.sql.lang.QueryCommand;
-import org.teiid.query.sql.lang.SetQuery;
-import org.teiid.query.sql.lang.SubqueryContainer;
-import org.teiid.query.sql.lang.UnaryFromClause;
-import org.teiid.query.sql.symbol.AbstractCaseExpression;
-import org.teiid.query.sql.symbol.AggregateSymbol;
-import org.teiid.query.sql.symbol.AliasSymbol;
-import org.teiid.query.sql.symbol.Constant;
-import org.teiid.query.sql.symbol.DerivedColumn;
-import org.teiid.query.sql.symbol.ElementSymbol;
-import org.teiid.query.sql.symbol.Expression;
-import org.teiid.query.sql.symbol.ExpressionSymbol;
-import org.teiid.query.sql.symbol.Function;
-import org.teiid.query.sql.symbol.GroupSymbol;
-import org.teiid.query.sql.symbol.Reference;
-import org.teiid.query.sql.symbol.ScalarSubquery;
-import org.teiid.query.sql.symbol.SelectSymbol;
-import org.teiid.query.sql.symbol.SingleElementSymbol;
+import org.teiid.query.sql.lang.*;
+import org.teiid.query.sql.symbol.*;
import org.teiid.query.sql.util.SymbolMap;
import org.teiid.query.sql.visitor.ElementCollectorVisitor;
@@ -483,7 +446,7 @@
* @since 4.3
*/
private static Constant getProperlyTypedConstant(Object defaultValue,
- Class parameterType)
+ Class<?> parameterType)
throws QueryResolverException{
try {
Object newValue = DataTypeManager.transformValue(defaultValue, parameterType);
Modified: trunk/engine/src/main/java/org/teiid/query/resolver/util/ResolverVisitor.java
===================================================================
--- trunk/engine/src/main/java/org/teiid/query/resolver/util/ResolverVisitor.java 2011-11-30 19:08:23 UTC (rev 3709)
+++ trunk/engine/src/main/java/org/teiid/query/resolver/util/ResolverVisitor.java 2011-11-30 22:17:23 UTC (rev 3710)
@@ -31,6 +31,7 @@
import java.util.List;
import java.util.Map;
+import org.teiid.api.exception.query.InvalidFunctionException;
import org.teiid.api.exception.query.QueryMetadataException;
import org.teiid.api.exception.query.QueryResolverException;
import org.teiid.api.exception.query.UnresolvedSymbolDescription;
@@ -449,7 +450,7 @@
// Look up types for all args
boolean hasArgWithoutType = false;
Expression[] args = function.getArgs();
- Class[] types = new Class[args.length];
+ Class<?>[] types = new Class[args.length];
for(int i=0; i<args.length; i++) {
types[i] = args[i].getType();
if(types[i] == null) {
@@ -527,30 +528,35 @@
private FunctionDescriptor findWithImplicitConversions(FunctionLibrary library, Function function, Expression[] args, Class<?>[] types, boolean hasArgWithoutType) throws QueryResolverException, TeiidComponentException {
// Try to find implicit conversion path to still perform this function
- FunctionDescriptor[] conversions = library.determineNecessaryConversions(function.getName(), function.getType(), types, hasArgWithoutType);
+ FunctionDescriptor[] conversions;
+ try {
+ conversions = library.determineNecessaryConversions(function.getName(), function.getType(), args, types, hasArgWithoutType);
+ } catch (InvalidFunctionException e) {
+ return null;
+ }
+ Class<?>[] newSignature = types;
- if(conversions == null) {
- return null;
+ if(conversions != null) {
+ newSignature = new Class[conversions.length];
+ // Insert new conversion functions as necessary, while building new signature
+ for(int i=0; i<conversions.length; i++) {
+
+ Class<?> newType = types[i];
+
+ if(conversions[i] != null) {
+ newType = conversions[i].getReturnType();
+
+ setDesiredType(args[i], newType, function);
+
+ //only currently typed expressions need conversions
+ if (types[i] != null && newType != DataTypeManager.DefaultDataClasses.OBJECT) {
+ function.insertConversion(i, conversions[i]);
+ }
+ }
+
+ newSignature[i] = newType;
+ }
}
- // Insert new conversion functions as necessary, while building new signature
- Class<?>[] newSignature = new Class[conversions.length];
- for(int i=0; i<conversions.length; i++) {
-
- Class<?> newType = types[i];
-
- if(conversions[i] != null) {
- newType = conversions[i].getReturnType();
-
- setDesiredType(args[i], newType, function);
-
- //only currently typed expressions need conversions
- if (types[i] != null && newType != DataTypeManager.DefaultDataClasses.OBJECT) {
- function.insertConversion(i, conversions[i]);
- }
- }
-
- newSignature[i] = newType;
- }
// Now resolve using the new signature to get the function's descriptor
return library.findFunction(function.getName(), newSignature);
Modified: trunk/engine/src/main/java/org/teiid/query/sql/symbol/AggregateSymbol.java
===================================================================
--- trunk/engine/src/main/java/org/teiid/query/sql/symbol/AggregateSymbol.java 2011-11-30 19:08:23 UTC (rev 3709)
+++ trunk/engine/src/main/java/org/teiid/query/sql/symbol/AggregateSymbol.java 2011-11-30 22:17:23 UTC (rev 3710)
@@ -90,10 +90,10 @@
SUM_TYPES.put(DataTypeManager.DefaultDataClasses.BIG_DECIMAL, DataTypeManager.DefaultDataClasses.BIG_DECIMAL);
AVG_TYPES = new HashMap<Class<?>, Class<?>>();
- AVG_TYPES.put(DataTypeManager.DefaultDataClasses.BYTE, DataTypeManager.DefaultDataClasses.DOUBLE);
- AVG_TYPES.put(DataTypeManager.DefaultDataClasses.SHORT, DataTypeManager.DefaultDataClasses.DOUBLE);
- AVG_TYPES.put(DataTypeManager.DefaultDataClasses.INTEGER, DataTypeManager.DefaultDataClasses.DOUBLE);
- AVG_TYPES.put(DataTypeManager.DefaultDataClasses.LONG, DataTypeManager.DefaultDataClasses.DOUBLE);
+ AVG_TYPES.put(DataTypeManager.DefaultDataClasses.BYTE, DataTypeManager.DefaultDataClasses.BIG_DECIMAL);
+ AVG_TYPES.put(DataTypeManager.DefaultDataClasses.SHORT, DataTypeManager.DefaultDataClasses.BIG_DECIMAL);
+ AVG_TYPES.put(DataTypeManager.DefaultDataClasses.INTEGER, DataTypeManager.DefaultDataClasses.BIG_DECIMAL);
+ AVG_TYPES.put(DataTypeManager.DefaultDataClasses.LONG, DataTypeManager.DefaultDataClasses.BIG_DECIMAL);
AVG_TYPES.put(DataTypeManager.DefaultDataClasses.BIG_INTEGER, DataTypeManager.DefaultDataClasses.BIG_DECIMAL);
AVG_TYPES.put(DataTypeManager.DefaultDataClasses.FLOAT, DataTypeManager.DefaultDataClasses.DOUBLE);
AVG_TYPES.put(DataTypeManager.DefaultDataClasses.DOUBLE, DataTypeManager.DefaultDataClasses.DOUBLE);
Modified: trunk/engine/src/main/java/org/teiid/query/tempdata/TempTableDataManager.java
===================================================================
--- trunk/engine/src/main/java/org/teiid/query/tempdata/TempTableDataManager.java 2011-11-30 19:08:23 UTC (rev 3709)
+++ trunk/engine/src/main/java/org/teiid/query/tempdata/TempTableDataManager.java 2011-11-30 22:17:23 UTC (rev 3710)
@@ -66,20 +66,7 @@
import org.teiid.query.processor.ProcessorDataManager;
import org.teiid.query.processor.QueryProcessor;
import org.teiid.query.resolver.util.ResolverUtil;
-import org.teiid.query.sql.lang.CacheHint;
-import org.teiid.query.sql.lang.Command;
-import org.teiid.query.sql.lang.CompareCriteria;
-import org.teiid.query.sql.lang.Create;
-import org.teiid.query.sql.lang.Criteria;
-import org.teiid.query.sql.lang.Delete;
-import org.teiid.query.sql.lang.Drop;
-import org.teiid.query.sql.lang.Insert;
-import org.teiid.query.sql.lang.Option;
-import org.teiid.query.sql.lang.ProcedureContainer;
-import org.teiid.query.sql.lang.Query;
-import org.teiid.query.sql.lang.SPParameter;
-import org.teiid.query.sql.lang.StoredProcedure;
-import org.teiid.query.sql.lang.Update;
+import org.teiid.query.sql.lang.*;
import org.teiid.query.sql.navigator.PostOrderNavigator;
import org.teiid.query.sql.symbol.Constant;
import org.teiid.query.sql.symbol.ElementSymbol;
@@ -314,9 +301,12 @@
}
Constant key = (Constant)proc.getParameter(2).getExpression();
LogManager.logInfo(LogConstants.CTX_MATVIEWS, QueryPlugin.Util.getString("TempTableDataManager.row_refresh", matViewName, key)); //$NON-NLS-1$
+ Object id = ids.iterator().next();
+ String targetTypeName = metadata.getElementType(id);
+ Object value = DataTypeManager.transformValue(key.getValue(), DataTypeManager.getDataTypeClass(targetTypeName));
String queryString = Reserved.SELECT + " * " + Reserved.FROM + ' ' + matViewName + ' ' + Reserved.WHERE + ' ' + //$NON-NLS-1$
- metadata.getFullName(ids.iterator().next()) + " = ?" + ' ' + Reserved.OPTION + ' ' + Reserved.NOCACHE; //$NON-NLS-1$
- QueryProcessor qp = context.getQueryProcessorFactory().createQueryProcessor(queryString, matViewName.toUpperCase(), context, key.getValue());
+ metadata.getFullName(id) + " = ?" + ' ' + Reserved.OPTION + ' ' + Reserved.NOCACHE; //$NON-NLS-1$
+ QueryProcessor qp = context.getQueryProcessorFactory().createQueryProcessor(queryString, matViewName.toUpperCase(), context, value);
qp.setNonBlocking(true);
qp.getContext().setDataObjects(null);
TupleSource ts = new BatchCollector.BatchProducerTupleSource(qp);
@@ -324,7 +314,7 @@
boolean delete = false;
if (tuple == null) {
delete = true;
- tuple = Arrays.asList(key.getValue());
+ tuple = Arrays.asList(value);
} else {
tuple = new ArrayList<Object>(tuple); //ensure the list is serializable
}
Modified: trunk/engine/src/main/javacc/org/teiid/query/parser/SQLParser.jj
===================================================================
--- trunk/engine/src/main/javacc/org/teiid/query/parser/SQLParser.jj 2011-11-30 19:08:23 UTC (rev 3709)
+++ trunk/engine/src/main/javacc/org/teiid/query/parser/SQLParser.jj 2011-11-30 22:17:23 UTC (rev 3710)
@@ -392,8 +392,9 @@
| < BOOLEANTYPE: "{" "b" >
| < POS_REF: ["$"] (<DIGIT>)+ >
| < INTEGERVAL: (<MINUS>)?(<DIGIT>)+ >
-| < FLOATVAL: (<MINUS>)? (<DIGIT>)* <PERIOD> (<DIGIT>)+
- ( ["e", "E"] (["+","-"])? (<DIGIT>)+ )? >
+| < DECIMALVAL: (<MINUS>)? (<DIGIT>)* <PERIOD> (<DIGIT>)+ >
+| < FLOATVAL: (<MINUS>)? <DIGIT> <PERIOD> (<DIGIT>)+
+ ["e", "E"] (["+","-"])? (<DIGIT>)+ >
| < STRINGVAL: (("N"|"E")? "'" ( ("''") | ~["'"] )* "'") >
| < #LETTER: (["a"-"z","A"-"Z"] | ["\u0153"-"\ufffd"]) >
| < #DIGIT: ["0"-"9"] >
@@ -4001,7 +4002,18 @@
throw new ParseException(QueryPlugin.Util.getString("SQLParser.Float_parse", params)); //$NON-NLS-1$
}
} |
-
+ t=<DECIMALVAL> {
+ try {
+ if (PARSE_DECIMAL_AS_DOUBLE) {
+ constant = new Constant(Double.valueOf(t.image), DataTypeManager.DefaultDataClasses.DOUBLE);
+ } else {
+ constant = new Constant(new java.math.BigDecimal(t.image), DataTypeManager.DefaultDataClasses.BIG_DECIMAL);
+ }
+ } catch(NumberFormatException e) {
+ Object[] params = new Object[] { t.image };
+ throw new ParseException(QueryPlugin.Util.getString("SQLParser.decimal_parse", params)); //$NON-NLS-1$
+ }
+ } |
t=<FALSE> { constant = new Constant(Boolean.FALSE, DataTypeManager.DefaultDataClasses.BOOLEAN); } |
t=<TRUE> { constant = new Constant(Boolean.TRUE, DataTypeManager.DefaultDataClasses.BOOLEAN); } |
t=<UNKNOWN> { constant = new Constant(null, DataTypeManager.DefaultDataClasses.BOOLEAN); } |
Modified: trunk/engine/src/main/resources/org/teiid/query/i18n.properties
===================================================================
--- trunk/engine/src/main/resources/org/teiid/query/i18n.properties 2011-11-30 19:08:23 UTC (rev 3709)
+++ trunk/engine/src/main/resources/org/teiid/query/i18n.properties 2011-11-30 22:17:23 UTC (rev 3710)
@@ -263,6 +263,7 @@
SQLParser.Invalid_func=Invalid function name: [{0}]
SQLParser.Integer_parse=Unable to parse integer literal: {0}
SQLParser.Float_parse=Unable to parse floating point literal: {0}
+SQLParser.decimal_parse=Unable to parse decimal literal: {0}
SQLParser.Invalid_id=Invalid metadata ID format: [{0}]
SQLParser.Invalid_alias=Invalid alias format: [{0}]
SQLParser.Invalid_short_name=Invalid simple identifier format: [{0}]
Modified: trunk/engine/src/test/java/org/teiid/query/function/TestFunctionLibrary.java
===================================================================
--- trunk/engine/src/test/java/org/teiid/query/function/TestFunctionLibrary.java 2011-11-30 19:08:23 UTC (rev 3709)
+++ trunk/engine/src/test/java/org/teiid/query/function/TestFunctionLibrary.java 2011-11-30 22:17:23 UTC (rev 3710)
@@ -43,6 +43,7 @@
import org.junit.Before;
import org.junit.Test;
import org.teiid.api.exception.query.FunctionExecutionException;
+import org.teiid.api.exception.query.InvalidFunctionException;
import org.teiid.common.buffer.BufferManagerFactory;
import org.teiid.core.types.BlobType;
import org.teiid.core.types.ClobType;
@@ -55,6 +56,7 @@
import org.teiid.core.util.TimestampWithTimezone;
import org.teiid.language.SQLConstants.NonReserved;
import org.teiid.metadata.FunctionMethod.PushDown;
+import org.teiid.query.sql.symbol.Expression;
import org.teiid.query.unittest.RealMetadataFactory;
import org.teiid.query.unittest.TimestampUtil;
import org.teiid.query.util.CommandContext;
@@ -145,7 +147,15 @@
private void helpFindConversions(String fname, Class<?>[] types, FunctionDescriptor[] expected) {
- FunctionDescriptor[] actual = library.determineNecessaryConversions(fname, null, types, false);
+ FunctionDescriptor[] actual;
+ try {
+ actual = library.determineNecessaryConversions(fname, null, new Expression[types.length], types, false);
+ if (actual == null) {
+ actual = new FunctionDescriptor[types.length];
+ }
+ } catch (InvalidFunctionException e) {
+ actual = null;
+ }
if(expected == null) {
if(actual != null) {
Modified: trunk/engine/src/test/java/org/teiid/query/parser/TestParser.java
===================================================================
--- trunk/engine/src/test/java/org/teiid/query/parser/TestParser.java 2011-11-30 19:08:23 UTC (rev 3709)
+++ trunk/engine/src/test/java/org/teiid/query/parser/TestParser.java 2011-11-30 22:17:23 UTC (rev 3710)
@@ -5242,5 +5242,10 @@
String actualString = actualCommand.toString();
assertEquals("SELECT substring(RTRIM(MED.BATDAT), 4, 4) FROM FCC.MEDMAS AS MED", actualString);
}
+
+ @Test public void testExactFixedPoint() throws QueryParserException {
+ Query actualCommand = (Query)QueryParser.getQueryParser().parseCommand("SELECT 1.1", new ParseInfo());
+ assertEquals(DataTypeManager.DefaultDataClasses.BIG_DECIMAL, ((Expression)actualCommand.getSelect().getSymbol(0)).getType());
+ }
}
Modified: trunk/engine/src/test/java/org/teiid/query/processor/TestProcessor.java
===================================================================
--- trunk/engine/src/test/java/org/teiid/query/processor/TestProcessor.java 2011-11-30 19:08:23 UTC (rev 3709)
+++ trunk/engine/src/test/java/org/teiid/query/processor/TestProcessor.java 2011-11-30 22:17:23 UTC (rev 3710)
@@ -664,7 +664,7 @@
// Create expected results
List[] expected = new List[] {
- Arrays.asList(new Object[] { new Integer(0), new Integer(3), new Long(7), new Double(1.1666666666666667), new Long(6), new Double(1.5) }),
+ Arrays.asList(new Object[] { new Integer(0), new Integer(3), new Long(7), new BigDecimal("1.1666666666666667"), new Long(6), new BigDecimal(1.5) }),
};
// Construct data manager with data
@@ -4180,7 +4180,7 @@
// Create expected results
List[] expected = new List[] {
- Arrays.asList(new Object[] { new Integer(1), Boolean.TRUE, new Double(2.0), TimestampUtil.createDate(103, 10, 4) })
+ Arrays.asList(new Object[] { new Integer(1), Boolean.TRUE, new BigDecimal("2.0"), TimestampUtil.createDate(103, 10, 4) })
};
// Construct data manager with data
@@ -4772,7 +4772,7 @@
// Create expected results
List[] expected = new List[] {
- Arrays.asList(new Object[] { new Double(1.5), new Double(1.5), new Double(1.5), new Double(1.5), new Double(1.5), new Double(1.5), new Double(1.5), new BigDecimal("1.500000000"), new BigDecimal("1.500000000") }), //$NON-NLS-1$//$NON-NLS-2$
+ Arrays.asList(new Object[] { new BigDecimal(1.5), new BigDecimal(1.5), new Double(1.5), new BigDecimal(1.5), new Double(1.5), new BigDecimal(1.5), new BigDecimal(1.5), new BigDecimal(1.5), new BigDecimal(1.5) }), //$NON-NLS-1$//$NON-NLS-2$
};
// Construct data manager with data
Modified: trunk/engine/src/test/java/org/teiid/query/processor/relational/TestGroupingNode.java
===================================================================
--- trunk/engine/src/test/java/org/teiid/query/processor/relational/TestGroupingNode.java 2011-11-30 19:08:23 UTC (rev 3709)
+++ trunk/engine/src/test/java/org/teiid/query/processor/relational/TestGroupingNode.java 2011-11-30 22:17:23 UTC (rev 3710)
@@ -54,7 +54,7 @@
import org.teiid.query.unittest.RealMetadataFactory;
import org.teiid.query.util.CommandContext;
-@SuppressWarnings("unchecked")
+@SuppressWarnings({"unchecked", "nls"})
public class TestGroupingNode {
public static FakeTupleSource createTupleSource1() {
@@ -158,14 +158,14 @@
CommandContext context = new CommandContext("pid", "test", null, null, 1); //$NON-NLS-1$ //$NON-NLS-2$
List[] expected = new List[] {
- Arrays.asList(new Object[] { null, new Integer(2), new Integer(1), new Integer(1), new Long(3), new Long(3), new Double(3.0), new Double(3.0), new Integer(3), new Integer(3), new Integer(3), new Integer(3) }),
- Arrays.asList(new Object[] { new Integer(0), new Integer(1), new Integer(1), new Integer(1), new Long(4), new Long(4), new Double(4.0), new Double(4.0), new Integer(4), new Integer(4), new Integer(4), new Integer(4) }),
- Arrays.asList(new Object[] { new Integer(1), new Integer(1), new Integer(1), new Integer(1), new Long(2), new Long(2), new Double(2.0), new Double(2.0), new Integer(2), new Integer(2), new Integer(2), new Integer(2) }),
- Arrays.asList(new Object[] { new Integer(2), new Integer(4), new Integer(4), new Integer(2), new Long(5), new Long(3), new Double(1.25), new Double(1.5), new Integer(1), new Integer(1), new Integer(2), new Integer(2) }),
- Arrays.asList(new Object[] { new Integer(3), new Integer(1), new Integer(1), new Integer(1), new Long(0), new Long(0), new Double(0.0), new Double(0.0), new Integer(0), new Integer(0), new Integer(0), new Integer(0) }),
- Arrays.asList(new Object[] { new Integer(4), new Integer(3), new Integer(2), new Integer(2), new Long(5), new Long(5), new Double(2.5), new Double(2.5), new Integer(2), new Integer(2), new Integer(3), new Integer(3) }),
- Arrays.asList(new Object[] { new Integer(5), new Integer(1), new Integer(1), new Integer(1), new Long(3), new Long(3), new Double(3.0), new Double(3.0), new Integer(3), new Integer(3), new Integer(3), new Integer(3) }),
- Arrays.asList(new Object[] { new Integer(6), new Integer(2), new Integer(2), new Integer(2), new Long(7), new Long(7), new Double(3.5), new Double(3.5), new Integer(3), new Integer(3), new Integer(4), new Integer(4) })
+ Arrays.asList(new Object[] { null, new Integer(2), new Integer(1), new Integer(1), new Long(3), new Long(3), new BigDecimal(3.0), new BigDecimal(3.0), new Integer(3), new Integer(3), new Integer(3), new Integer(3) }),
+ Arrays.asList(new Object[] { new Integer(0), new Integer(1), new Integer(1), new Integer(1), new Long(4), new Long(4), new BigDecimal(4.0), new BigDecimal(4.0), new Integer(4), new Integer(4), new Integer(4), new Integer(4) }),
+ Arrays.asList(new Object[] { new Integer(1), new Integer(1), new Integer(1), new Integer(1), new Long(2), new Long(2), new BigDecimal(2.0), new BigDecimal(2.0), new Integer(2), new Integer(2), new Integer(2), new Integer(2) }),
+ Arrays.asList(new Object[] { new Integer(2), new Integer(4), new Integer(4), new Integer(2), new Long(5), new Long(3), new BigDecimal(1.25), new BigDecimal(1.5), new Integer(1), new Integer(1), new Integer(2), new Integer(2) }),
+ Arrays.asList(new Object[] { new Integer(3), new Integer(1), new Integer(1), new Integer(1), new Long(0), new Long(0), new BigDecimal(0.0), new BigDecimal(0.0), new Integer(0), new Integer(0), new Integer(0), new Integer(0) }),
+ Arrays.asList(new Object[] { new Integer(4), new Integer(3), new Integer(2), new Integer(2), new Long(5), new Long(5), new BigDecimal(2.5), new BigDecimal(2.5), new Integer(2), new Integer(2), new Integer(3), new Integer(3) }),
+ Arrays.asList(new Object[] { new Integer(5), new Integer(1), new Integer(1), new Integer(1), new Long(3), new Long(3), new BigDecimal(3.0), new BigDecimal(3.0), new Integer(3), new Integer(3), new Integer(3), new Integer(3) }),
+ Arrays.asList(new Object[] { new Integer(6), new Integer(2), new Integer(2), new Integer(2), new Long(7), new Long(7), new BigDecimal(3.5), new BigDecimal(3.5), new Integer(3), new Integer(3), new Integer(4), new Integer(4) })
};
helpProcess(mgr, node, context, expected, null);
@@ -243,7 +243,7 @@
};
List[] expected = new List[] {
- Arrays.asList(new Object[] { new BigDecimal("10.0"), new BigDecimal("2.000000000") }) //$NON-NLS-1$ //$NON-NLS-2$
+ Arrays.asList(new Object[] { new BigDecimal("10.0"), new BigDecimal("2.0") }) //$NON-NLS-1$ //$NON-NLS-2$
};
List symbols = new ArrayList();
@@ -283,8 +283,8 @@
};
List[] expected = new List[] {
- Arrays.asList(new Object[] { new Integer(1), new BigDecimal("1.0"), new BigDecimal("0.500000000") }), //$NON-NLS-1$ //$NON-NLS-2$
- Arrays.asList(new Object[] { new Integer(2), new BigDecimal("9.0"), new BigDecimal("3.000000000") }) //$NON-NLS-1$ //$NON-NLS-2$
+ Arrays.asList(new Object[] { new Integer(1), new BigDecimal("1.0"), new BigDecimal(.5) }), //$NON-NLS-1$
+ Arrays.asList(new Object[] { new Integer(2), new BigDecimal("9.0"), new BigDecimal("3.0") }) //$NON-NLS-1$
};
List symbols = new ArrayList();
Modified: trunk/engine/src/test/java/org/teiid/query/resolver/TestResolver.java
===================================================================
--- trunk/engine/src/test/java/org/teiid/query/resolver/TestResolver.java 2011-11-30 19:08:23 UTC (rev 3709)
+++ trunk/engine/src/test/java/org/teiid/query/resolver/TestResolver.java 2011-11-30 22:17:23 UTC (rev 3710)
@@ -798,8 +798,8 @@
helpResolveException("SELECT abc(e1) FROM pm1.g1", "Error Code:ERR.015.008.0039 Message:The function 'abc(e1)' is an unknown form. Check that the function name and number of arguments is correct."); //$NON-NLS-1$ //$NON-NLS-2$
}
- @Test public void testConversionNotPossible() {
- helpResolveException("SELECT dayofmonth('2002-01-01') FROM pm1.g1", "Error Code:ERR.015.008.0040 Message:The function 'dayofmonth('2002-01-01')' is a valid function form, but the arguments do not match a known type signature and cannot be converted using implicit type conversions."); //$NON-NLS-1$ //$NON-NLS-2$
+ @Test public void testConversionPossible() {
+ helpResolve("SELECT dayofmonth('2002-01-01') FROM pm1.g1"); //$NON-NLS-1$ //$NON-NLS-2$
}
@Test public void testResolveParameters() throws Exception {
@@ -1213,34 +1213,7 @@
* projected symbol of the subquery.
*/
@Test public void testSubQueryINClauseNoConversionFails(){
- //select e1 from pm1.g1 where e1 in (select e2 from pm4.g1)
-
- //sub command
- Select innerSelect = new Select();
- ElementSymbol e2inner = new ElementSymbol("e2"); //$NON-NLS-1$
- innerSelect.addSymbol(e2inner);
- From innerFrom = new From();
- GroupSymbol pm4g1 = new GroupSymbol("pm4.g1"); //$NON-NLS-1$
- innerFrom.addGroup(pm4g1);
- Query innerQuery = new Query();
- innerQuery.setSelect(innerSelect);
- innerQuery.setFrom(innerFrom);
-
- //outer command
- Select outerSelect = new Select();
- ElementSymbol e1 = new ElementSymbol("e1"); //$NON-NLS-1$
- outerSelect.addSymbol(e1);
- From outerFrom = new From();
- GroupSymbol pm1g1 = new GroupSymbol("pm1.g1"); //$NON-NLS-1$
- outerFrom.addGroup(pm1g1);
- SubquerySetCriteria crit = new SubquerySetCriteria(e1, innerQuery);
- Query outerQuery = new Query();
- outerQuery.setSelect(outerSelect);
- outerQuery.setFrom(outerFrom);
- outerQuery.setCriteria(crit);
-
- //test
- this.helpResolveFails(outerQuery);
+ helpResolveException("select e1 from pm1.g1 where e1 in (select e2 from pm4.g1)");
}
@Test public void testSubQueryINClauseTooManyColumns(){
@@ -2246,7 +2219,7 @@
String sql = "SELECT CASE WHEN x > 0 THEN 1.0 ELSE 2.0 END FROM (SELECT e2 AS x FROM pm1.g1) AS g"; //$NON-NLS-1$
Command c = helpResolve(sql);
assertEquals(sql, c.toString());
- verifyProjectedTypes(c, new Class[] { Double.class });
+ verifyProjectedTypes(c, new Class[] { BigDecimal.class });
}
@@ -2434,10 +2407,10 @@
helpResolveException(sql);
}
- @Test public void testPowerWithLong_Fails() throws Exception {
+ @Test public void testPowerWithLong() throws Exception {
String sql = "SELECT power(10, 999999999999)"; //$NON-NLS-1$
- helpResolveException(sql);
+ helpResolve(sql);
}
@Test public void testUpdateError() {
Modified: trunk/engine/src/test/java/org/teiid/query/rewriter/TestQueryRewriter.java
===================================================================
--- trunk/engine/src/test/java/org/teiid/query/rewriter/TestQueryRewriter.java 2011-11-30 19:08:23 UTC (rev 3709)
+++ trunk/engine/src/test/java/org/teiid/query/rewriter/TestQueryRewriter.java 2011-11-30 22:17:23 UTC (rev 3710)
@@ -1108,7 +1108,7 @@
}
@Test public void testRewiteCompoundCriteria() {
- helpTestRewriteCriteria("(pm1.g1.e1 = 1 and pm1.g1.e2 = 2) and (pm1.g1.e3 = 1 and pm1.g1.e4 = 2)", "(pm1.g1.e1 = '1') AND (pm1.g1.e2 = 2) AND (pm1.g1.e3 = TRUE) AND (pm1.g1.e4 = 2.0)"); //$NON-NLS-1$ //$NON-NLS-2$
+ helpTestRewriteCriteria("(pm1.g1.e1 = 1 and pm1.g1.e2 = 2) and (pm1.g1.e3 = 1 and pm1.g1.e4 = 2.0e0)", "(pm1.g1.e1 = '1') AND (pm1.g1.e2 = 2) AND (pm1.g1.e3 = TRUE) AND (pm1.g1.e4 = 2.0e0)"); //$NON-NLS-1$ //$NON-NLS-2$
}
@Test public void testRewriteWhile() throws Exception {
Modified: trunk/test-integration/common/src/test/java/org/teiid/dqp/internal/process/TestTPCR.java
===================================================================
--- trunk/test-integration/common/src/test/java/org/teiid/dqp/internal/process/TestTPCR.java 2011-11-30 19:08:23 UTC (rev 3709)
+++ trunk/test-integration/common/src/test/java/org/teiid/dqp/internal/process/TestTPCR.java 2011-11-30 22:17:23 UTC (rev 3710)
@@ -58,8 +58,8 @@
HardcodedDataManager dataMgr = new HardcodedDataManager();
- List[] expected =
- new List[] { Arrays.asList(new Object[] { new Double(2456423.0), new BigDecimal("406181.0111"), TimestampUtil.createDate(95, 2, 5), new Double(0.0) }), //$NON-NLS-1$
+ List<?>[] expected =
+ new List<?>[] { Arrays.asList(new Object[] { new Double(2456423.0), new BigDecimal("406181.0111"), TimestampUtil.createDate(95, 2, 5), new Double(0.0) }), //$NON-NLS-1$
Arrays.asList(new Object[] { new Double(3459808.0), new BigDecimal("405838.6989"), TimestampUtil.createDate(95, 2, 4), new Double(0.0) }), //$NON-NLS-1$
Arrays.asList(new Object[] { new Double(492164.0), new BigDecimal("390324.0610"), TimestampUtil.createDate(95, 1, 19), new Double(0.0) }) }; //$NON-NLS-1$
@@ -83,8 +83,8 @@
finder.addCapabilities("TPCR_Ora", CapabilitiesConverter.convertCapabilities(new OracleExecutionFactory())); //$NON-NLS-1$
HardcodedDataManager dataMgr = new HardcodedDataManager();
- List[] expected =
- new List[] { Arrays.asList(new Object[] { new Integer(5) } ) };
+ List<?>[] expected =
+ new List<?>[] { Arrays.asList(new Object[] { new Integer(5) } ) };
dataMgr.addData("SELECT COUNT(*) FROM TPCR_Ora.CUSTOMER AS g_0 LEFT OUTER JOIN TPCR_Ora.ORDERS AS g_1 ON g_0.C_CUSTKEY = g_1.O_CUSTKEY WHERE (g_1.O_ORDERKEY IS NULL) OR ((g_1.O_ORDERDATE < {ts'1992-01-02 00:00:00.0'}) AND (g_0.C_ACCTBAL > 0))", //$NON-NLS-1$
expected);
@@ -117,21 +117,21 @@
HardcodedDataManager dataMgr = new HardcodedDataManager();
- List[] oracleExpected =
- new List[] { Arrays.asList(new Object[] { new Long(5), "Bill", "101 Fake St.", "392839283", "21.12" } ), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
+ List<?>[] oracleExpected =
+ new List<?>[] { Arrays.asList(new Object[] { new Long(5), "Bill", "101 Fake St.", "392839283", "21.12" } ), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
Arrays.asList(new Object[] { new Long(6), "Stu", "102 Fake St.", "385729385", "51.50" } )}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
dataMgr.addData("SELECT g_0.C_CUSTKEY AS c_0, g_0.C_NAME AS c_1, g_0.C_ADDRESS AS c_2, g_0.C_PHONE AS c_3, g_0.C_ACCTBAL AS c_4 FROM TPCR_Ora.CUSTOMER AS g_0 WHERE g_0.C_ACCTBAL > 50 ORDER BY c_0 NULLS FIRST", //$NON-NLS-1$
oracleExpected);
- List[] sqlServerExpected =
- new List[] { Arrays.asList(new Object[] { new Integer(5), new Integer(12), new Long(5) } ),
+ List<?>[] sqlServerExpected =
+ new List<?>[] { Arrays.asList(new Object[] { new Integer(5), new Integer(12), new Long(5) } ),
Arrays.asList(new Object[] { new Integer(5), new Integer(13), new Long(5) } )};
dataMgr.addData("SELECT g_0.O_CUSTKEY AS c_0, g_0.O_ORDERKEY AS c_1, g_0.O_CUSTKEY AS c_2 FROM TPCR_SQLS.ORDERS AS g_0 WHERE (g_0.O_ORDERDATE < {ts'1992-01-02 00:00:00.0'}) AND (g_0.O_CUSTKEY IN (5, 6)) ORDER BY c_2", //$NON-NLS-1$
sqlServerExpected);
- List[] expected =
- new List[] { Arrays.asList(new Object[] { new Long(5), "Bill", "101 Fake St.", "392839283", "21.12", new Integer(12) } ), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
+ List<?>[] expected =
+ new List<?>[] { Arrays.asList(new Object[] { new Long(5), "Bill", "101 Fake St.", "392839283", "21.12", new Integer(12) } ), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
Arrays.asList(new Object[] { new Long(5), "Bill", "101 Fake St.", "392839283", "21.12", new Integer(13) } ), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
Arrays.asList(new Object[] { new Long(6), "Stu", "102 Fake St.", "385729385", "51.50", null } )}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
@@ -157,21 +157,21 @@
HardcodedDataManager dataMgr = new HardcodedDataManager();
- List[] oracleExpected =
- new List[] { Arrays.asList(new Object[] { new Long(5), "Bill", "101 Fake St.", "392839283", "51.12" } ), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
+ List<?>[] oracleExpected =
+ new List<?>[] { Arrays.asList(new Object[] { new Long(5), "Bill", "101 Fake St.", "392839283", "51.12" } ), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
Arrays.asList(new Object[] { new Long(6), "Stu", "102 Fake St.", "385729385", "51.50" } )}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
dataMgr.addData("SELECT g_0.C_CUSTKEY AS c_0, g_0.C_NAME AS c_1, g_0.C_ADDRESS AS c_2, g_0.C_PHONE AS c_3, g_0.C_ACCTBAL AS c_4 FROM TPCR_Ora.CUSTOMER AS g_0 WHERE g_0.C_ACCTBAL > 50 ORDER BY c_0 NULLS FIRST", //$NON-NLS-1$
oracleExpected);
- List[] sqlServerExpected =
- new List[] { Arrays.asList(new Object[] { new Integer(5), new Integer(12), new Long(5) } ),
+ List<?>[] sqlServerExpected =
+ new List<?>[] { Arrays.asList(new Object[] { new Integer(5), new Integer(12), new Long(5) } ),
Arrays.asList(new Object[] { new Integer(5), new Integer(13), new Long(5) } )};
dataMgr.addData("SELECT g_0.O_CUSTKEY AS c_0, g_0.O_ORDERKEY AS c_1, g_0.O_CUSTKEY AS c_2 FROM TPCR_SQLS.ORDERS AS g_0 WHERE (g_0.O_ORDERDATE < {ts'1992-01-02 00:00:00.0'}) AND (g_0.O_CUSTKEY IN (5, 6)) ORDER BY c_2", //$NON-NLS-1$
sqlServerExpected);
- List[] expected =
- new List[] { Arrays.asList(new Object[] { new Long(5), "Bill", "101 Fake St.", "392839283", "51.12", new Integer(12) } ), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
+ List<?>[] expected =
+ new List<?>[] { Arrays.asList(new Object[] { new Long(5), "Bill", "101 Fake St.", "392839283", "51.12", new Integer(12) } ), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
Arrays.asList(new Object[] { new Long(5), "Bill", "101 Fake St.", "392839283", "51.12", new Integer(13) } ), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
Arrays.asList(new Object[] { new Long(6), "Stu", "102 Fake St.", "385729385", "51.50", null } )}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
@@ -191,7 +191,7 @@
ProcessorPlan plan = TestOptimizer.helpPlan("SELECT custsale.cntrycode, COUNT(*) AS numcust, SUM(c_acctbal) AS totacctbal FROM (SELECT left(C_PHONE, 2) AS cntrycode, CUSTOMER.C_ACCTBAL FROM CUSTOMER WHERE (left(C_PHONE, 2) IN ('13','31','23','29','30','18','17')) AND (CUSTOMER.C_ACCTBAL > (SELECT AVG(CUSTOMER.C_ACCTBAL) FROM CUSTOMER WHERE (CUSTOMER.C_ACCTBAL > 0.0) AND (left(C_PHONE, 2) IN ('13','31','23','29','30','18','17')))) AND (NOT (EXISTS (SELECT * FROM ORDERS WHERE O_CUSTKEY = C_CUSTKEY)))) AS custsale GROUP BY custsale.cntrycode ORDER BY custsale.cntrycode", //$NON-NLS-1$
METADATA, null, finder,
- new String[] {"SELECT left(g_0.C_PHONE, 2) AS c_0, COUNT(*) AS c_1, SUM(g_0.C_ACCTBAL) AS c_2 FROM TPCR_Oracle_9i.CUSTOMER AS g_0 WHERE (left(g_0.C_PHONE, 2) IN ('13', '31', '23', '29', '30', '18', '17')) AND (g_0.C_ACCTBAL > (SELECT AVG(g_1.C_ACCTBAL) FROM TPCR_Oracle_9i.CUSTOMER AS g_1 WHERE (g_1.C_ACCTBAL > 0E-15) AND (left(g_1.C_PHONE, 2) IN ('13', '31', '23', '29', '30', '18', '17')))) AND (NOT EXISTS (SELECT 1 FROM TPCR_Oracle_9i.ORDERS AS g_2 WHERE g_2.O_CUSTKEY = g_0.C_CUSTKEY)) GROUP BY left(g_0.C_PHONE, 2) ORDER BY c_0 NULLS FIRST"}, ComparisonMode.EXACT_COMMAND_STRING); //$NON-NLS-1$
+ new String[] {"SELECT left(g_0.C_PHONE, 2) AS c_0, COUNT(*) AS c_1, SUM(g_0.C_ACCTBAL) AS c_2 FROM TPCR_Oracle_9i.CUSTOMER AS g_0 WHERE (left(g_0.C_PHONE, 2) IN ('13', '31', '23', '29', '30', '18', '17')) AND (g_0.C_ACCTBAL > (SELECT AVG(g_1.C_ACCTBAL) FROM TPCR_Oracle_9i.CUSTOMER AS g_1 WHERE (g_1.C_ACCTBAL > 0.0) AND (left(g_1.C_PHONE, 2) IN ('13', '31', '23', '29', '30', '18', '17')))) AND (NOT EXISTS (SELECT 1 FROM TPCR_Oracle_9i.ORDERS AS g_2 WHERE g_2.O_CUSTKEY = g_0.C_CUSTKEY)) GROUP BY left(g_0.C_PHONE, 2) ORDER BY c_0 NULLS FIRST"}, ComparisonMode.EXACT_COMMAND_STRING); //$NON-NLS-1$
TestOptimizer.checkNodeTypes(plan, TestOptimizer.FULL_PUSHDOWN);
}
13 years
teiid SVN: r3709 - in branches/7.6.x/connectors/translator-salesforce/src: main/java/org/teiid/translator/salesforce/execution and 3 other directories.
by teiid-commits@lists.jboss.org
Author: shawkins
Date: 2011-11-30 14:08:23 -0500 (Wed, 30 Nov 2011)
New Revision: 3709
Modified:
branches/7.6.x/connectors/translator-salesforce/src/main/java/org/teiid/translator/salesforce/SalesForceExecutionFactory.java
branches/7.6.x/connectors/translator-salesforce/src/main/java/org/teiid/translator/salesforce/Util.java
branches/7.6.x/connectors/translator-salesforce/src/main/java/org/teiid/translator/salesforce/execution/QueryExecutionImpl.java
branches/7.6.x/connectors/translator-salesforce/src/main/java/org/teiid/translator/salesforce/execution/visitors/CriteriaVisitor.java
branches/7.6.x/connectors/translator-salesforce/src/main/java/org/teiid/translator/salesforce/execution/visitors/JoinQueryVisitor.java
branches/7.6.x/connectors/translator-salesforce/src/main/java/org/teiid/translator/salesforce/execution/visitors/SelectVisitor.java
branches/7.6.x/connectors/translator-salesforce/src/test/java/org/teiid/translator/salesforce/execution/TestQueryExecutionImpl.java
branches/7.6.x/connectors/translator-salesforce/src/test/java/org/teiid/translator/salesforce/execution/visitors/TestVisitors.java
Log:
TEIID-1852 fix for a host of sf issues
Modified: branches/7.6.x/connectors/translator-salesforce/src/main/java/org/teiid/translator/salesforce/SalesForceExecutionFactory.java
===================================================================
--- branches/7.6.x/connectors/translator-salesforce/src/main/java/org/teiid/translator/salesforce/SalesForceExecutionFactory.java 2011-11-29 19:41:45 UTC (rev 3708)
+++ branches/7.6.x/connectors/translator-salesforce/src/main/java/org/teiid/translator/salesforce/SalesForceExecutionFactory.java 2011-11-30 19:08:23 UTC (rev 3709)
@@ -167,5 +167,10 @@
public boolean supportsCompareCriteriaOrdered() {
return true;
}
+
+ @Override
+ public boolean supportsIsNullCriteria() {
+ return true;
+ }
}
Modified: branches/7.6.x/connectors/translator-salesforce/src/main/java/org/teiid/translator/salesforce/Util.java
===================================================================
--- branches/7.6.x/connectors/translator-salesforce/src/main/java/org/teiid/translator/salesforce/Util.java 2011-11-29 19:41:45 UTC (rev 3708)
+++ branches/7.6.x/connectors/translator-salesforce/src/main/java/org/teiid/translator/salesforce/Util.java 2011-11-30 19:08:23 UTC (rev 3709)
@@ -21,8 +21,8 @@
*/
package org.teiid.translator.salesforce;
-import java.text.DateFormat;
import java.text.SimpleDateFormat;
+import java.util.Date;
import org.teiid.translator.TranslatorException;
@@ -56,16 +56,14 @@
}
}
- public static SimpleDateFormat getSalesforceDateTimeFormat() {
- return new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS"); //$NON-NLS-1$
- }
+ private static String timeZone;
- public static SimpleDateFormat getTimeZoneOffsetFormat() {
- return new SimpleDateFormat("Z"); //$NON-NLS-1$
+ public static String getDefaultTimeZoneString() {
+ if (timeZone == null) {
+ String s = new SimpleDateFormat("Z").format(new Date(0)); //$NON-NLS-1$
+ timeZone = s.substring(0, 3) + ':' + s.substring(3, 5);
+ }
+ return timeZone;
}
- public static DateFormat getSalesforceDateFormat() {
- return new SimpleDateFormat("yyyy-MM-dd"); //$NON-NLS-1$
- }
-
}
Modified: branches/7.6.x/connectors/translator-salesforce/src/main/java/org/teiid/translator/salesforce/execution/QueryExecutionImpl.java
===================================================================
--- branches/7.6.x/connectors/translator-salesforce/src/main/java/org/teiid/translator/salesforce/execution/QueryExecutionImpl.java 2011-11-29 19:41:45 UTC (rev 3708)
+++ branches/7.6.x/connectors/translator-salesforce/src/main/java/org/teiid/translator/salesforce/execution/QueryExecutionImpl.java 2011-11-30 19:08:23 UTC (rev 3709)
@@ -21,18 +21,23 @@
*/
package org.teiid.translator.salesforce.execution;
+import java.sql.Time;
import java.sql.Timestamp;
-import java.text.ParseException;
import java.util.ArrayList;
import java.util.Arrays;
+import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
+import java.util.TimeZone;
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
import javax.resource.ResourceException;
+import org.teiid.core.util.TimestampWithTimezone;
import org.teiid.language.AggregateFunction;
import org.teiid.language.Join;
import org.teiid.language.QueryExpression;
@@ -51,7 +56,6 @@
import org.teiid.translator.TranslatorException;
import org.teiid.translator.salesforce.SalesForcePlugin;
import org.teiid.translator.salesforce.SalesforceConnection;
-import org.teiid.translator.salesforce.Util;
import org.teiid.translator.salesforce.execution.visitors.JoinQueryVisitor;
import org.teiid.translator.salesforce.execution.visitors.SelectVisitor;
import org.w3c.dom.Element;
@@ -63,6 +67,8 @@
public class QueryExecutionImpl implements ResultSetExecution {
+ private static final Pattern dateTimePattern = Pattern.compile("^(?:(\\d{4}-\\d{2}-\\d{2})T)?(\\d{2}:\\d{2}:\\d{2}(?:.\\d+)?)(.*)"); //$NON-NLS-1$
+
private static final String SF_ID = "sf:Id"; //$NON-NLS-1$
private static final String SF_TYPE = "sf:type"; //$NON-NLS-1$
@@ -78,7 +84,6 @@
private RuntimeMetadata metadata;
private ExecutionContext context;
-
private SelectVisitor visitor;
@@ -103,6 +108,8 @@
private int topResultIndex = 0;
+ private Calendar cal;
+
public QueryExecutionImpl(QueryExpression command, SalesforceConnection connection, RuntimeMetadata metadata, ExecutionContext context) {
this.connection = connection;
this.metadata = metadata;
@@ -355,7 +362,7 @@
}
}
- private void logFields(String sObjectName, List<Object> fields) throws TranslatorException {
+ private void logFields(String sObjectName, List<Object> fields) {
if (!LogManager.isMessageToBeRecorded(LogConstants.CTX_CONNECTOR, MessageLevel.DETAIL)) {
return;
}
@@ -369,53 +376,75 @@
}
+ /**
+ * TODO: the logic here should be aware of xsi:type information and use a standard conversion
+ * library. Conversion to teiid types should then be a secondary effort - and will be automatically handled above here.
+ */
@SuppressWarnings("unchecked")
private Object getCellDatum(Column element, Element elem) throws TranslatorException {
if(!element.getNameInSource().equals(elem.getLocalName())) {
throw new TranslatorException(SalesForcePlugin.Util.getString("SalesforceQueryExecutionImpl.column.mismatch1") + element.getNameInSource() + SalesForcePlugin.Util.getString("SalesforceQueryExecutionImpl.column.mismatch2") + elem.getLocalName()); //$NON-NLS-1$ //$NON-NLS-2$
}
+ if (Boolean.parseBoolean(elem.getAttribute(XSI_NIL))) {
+ return null;
+ }
String value = elem.getTextContent();
- Object result = null;
+ Object result = value;
Class type = element.getJavaType();
if(type.equals(String.class)) {
result = value;
- }
- else if (type.equals(Boolean.class)) {
- result = Boolean.valueOf(value);
- } else if (type.equals(Double.class)) {
- if (null != value) {
- if(!value.isEmpty()) {
- result = Double.valueOf(value);
+ } else if (!value.isEmpty()) {
+ result = value;
+ if (type.equals(java.sql.Timestamp.class) || type.equals(java.sql.Time.class)) {
+ if (cal == null) {
+ cal = Calendar.getInstance();
}
+ result = parseDateTime(value, type, cal);
}
- } else if (type.equals(Integer.class)) {
- if (null != value) {
- if(!value.isEmpty()) {
- result = Integer.valueOf(value);
+ }
+ return result;
+ }
+
+ static Object parseDateTime(String value, Class<?> type, Calendar cal)
+ throws TranslatorException {
+ try {
+ Matcher m = dateTimePattern.matcher(value);
+ if (m.matches()) {
+ String date = m.group(1);
+ String time = m.group(2);
+ String timeZone = m.group(3);
+ Date d = null;
+ if (date == null) {
+ //sql times don't care about fractional seconds
+ int milli = time.lastIndexOf('.');
+ if (milli > 0) {
+ time = time.substring(0, milli);
+ }
+ d = Time.valueOf(time);
+ } else {
+ d = Timestamp.valueOf(date + " " + time); //$NON-NLS-1$
}
- }
- } else if (type.equals(java.sql.Date.class)) {
- if (null != value) {
- if(!value.isEmpty()) {
- result = java.sql.Date.valueOf(value);
- }
- }
- } else if (type.equals(java.sql.Timestamp.class)) {
- if (null != value) {
- if(!value.isEmpty()) {
- try {
- Date date = Util.getSalesforceDateTimeFormat().parse(value);
- result = new Timestamp(date.getTime());
- } catch (ParseException e) {
- throw new TranslatorException(e, SalesForcePlugin.Util.getString("SalesforceQueryExecutionImpl.datatime.parse") + value); //$NON-NLS-1$
+ TimeZone tz = null;
+ if (timeZone != null) {
+ if (timeZone.equals("Z")) { //$NON-NLS-1$
+ tz = TimeZone.getTimeZone("GMT"); //$NON-NLS-1$
+ } else if (timeZone.contains(":")) { //$NON-NLS-1$
+ tz = TimeZone.getTimeZone("GMT" + timeZone); //$NON-NLS-1$
+ } else {
+ //this is probably an exceptional case
+ tz = TimeZone.getTimeZone(timeZone);
}
+ cal.setTimeZone(tz);
+ } else {
+ cal = null;
}
+ return TimestampWithTimezone.create(d, TimeZone.getDefault(), cal, type);
}
- } else {
- result = value;
+ throw new TranslatorException(SalesForcePlugin.Util.getString("SalesforceQueryExecutionImpl.datatime.parse") + value); //$NON-NLS-1$
+ } catch (IllegalArgumentException e) {
+ throw new TranslatorException(e, SalesForcePlugin.Util.getString("SalesforceQueryExecutionImpl.datatime.parse") + value); //$NON-NLS-1$
}
- return result;
}
private boolean isSObject(Element element) {
Modified: branches/7.6.x/connectors/translator-salesforce/src/main/java/org/teiid/translator/salesforce/execution/visitors/CriteriaVisitor.java
===================================================================
--- branches/7.6.x/connectors/translator-salesforce/src/main/java/org/teiid/translator/salesforce/execution/visitors/CriteriaVisitor.java 2011-11-29 19:41:45 UTC (rev 3708)
+++ branches/7.6.x/connectors/translator-salesforce/src/main/java/org/teiid/translator/salesforce/execution/visitors/CriteriaVisitor.java 2011-11-30 19:08:23 UTC (rev 3709)
@@ -24,18 +24,21 @@
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Arrays;
+import java.util.Calendar;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
+import org.teiid.core.util.TimestampWithTimezone;
import org.teiid.language.AndOr;
import org.teiid.language.ColumnReference;
import org.teiid.language.Comparison;
import org.teiid.language.Expression;
import org.teiid.language.Function;
import org.teiid.language.In;
+import org.teiid.language.IsNull;
import org.teiid.language.Like;
import org.teiid.language.Literal;
import org.teiid.language.NamedTable;
@@ -80,7 +83,7 @@
protected Table table;
boolean onlyIDCriteria;
protected Boolean queryAll = Boolean.FALSE;
-
+
// support for invoking a retrieve when possible.
protected In idInCriteria = null;
@@ -98,33 +101,28 @@
@Override
public void visit( Comparison criteria ) {
- super.visit(criteria);
- try {
- addCompareCriteria(criteriaList, criteria);
- boolean isAcceptableID = (Operator.EQ == criteria.getOperator() && isIdColumn(criteria.getLeftExpression()));
- setHasCriteria(true, isAcceptableID);
- if (isAcceptableID) {
- this.idInCriteria = new In(criteria.getLeftExpression(), Arrays.asList(criteria.getRightExpression()), false);
- }
- } catch (TranslatorException e) {
- exceptions.add(e);
+ addCompareCriteria(criteria);
+ boolean isAcceptableID = (Operator.EQ == criteria.getOperator() && isIdColumn(criteria.getLeftExpression()));
+ setHasCriteria(true, isAcceptableID);
+ if (isAcceptableID) {
+ this.idInCriteria = new In(criteria.getLeftExpression(), Arrays.asList(criteria.getRightExpression()), false);
}
}
-
+
+ public void visit(IsNull obj) {
+ visit(new Comparison(obj.getExpression(), new Literal(null, obj.getExpression().getType()), obj.isNegated()?Comparison.Operator.NE:Comparison.Operator.EQ));
+ }
+
@Override
public void visit( Like criteria ) {
- try {
- if (isIdColumn(criteria.getLeftExpression())) {
- TranslatorException e = new TranslatorException(SalesForcePlugin.Util.getString("CriteriaVisitor.LIKE.not.supported.on.Id")); //$NON-NLS-1$
- exceptions.add(e);
- }
- if (isMultiSelectColumn(criteria.getLeftExpression())) {
- TranslatorException e = new TranslatorException(SalesForcePlugin.Util.getString("CriteriaVisitor.LIKE.not.supported.on.multiselect")); //$NON-NLS-1$
- exceptions.add(e);
- }
- } catch (TranslatorException e) {
+ if (isIdColumn(criteria.getLeftExpression())) {
+ TranslatorException e = new TranslatorException(SalesForcePlugin.Util.getString("CriteriaVisitor.LIKE.not.supported.on.Id")); //$NON-NLS-1$
exceptions.add(e);
}
+ if (isMultiSelectColumn(criteria.getLeftExpression())) {
+ TranslatorException e = new TranslatorException(SalesForcePlugin.Util.getString("CriteriaVisitor.LIKE.not.supported.on.multiselect")); //$NON-NLS-1$
+ exceptions.add(e);
+ }
boolean negated = criteria.isNegated();
criteria.setNegated(false);
criteriaList.add(criteria.toString());
@@ -135,7 +133,7 @@
// don't check if it's ID, Id LIKE '123%' still requires a query
setHasCriteria(true, false);
}
-
+
@Override
public void visit(AndOr obj) {
List<String> savedCriteria = new LinkedList<String>();
@@ -170,23 +168,19 @@
@Override
public void visit( In criteria ) {
- try {
- Expression lExpr = criteria.getLeftExpression();
- if (lExpr instanceof ColumnReference) {
- ColumnReference cr = (ColumnReference)lExpr;
- Column column = cr.getMetadataObject();
- if (column != null && (MULTIPICKLIST.equalsIgnoreCase(column.getNativeType()) || RESTRICTEDMULTISELECTPICKLIST.equalsIgnoreCase(column.getNativeType()))) {
- appendMultiselectIn(column, criteria);
- } else {
- appendCriteria(criteria);
- }
+ Expression lExpr = criteria.getLeftExpression();
+ if (lExpr instanceof ColumnReference) {
+ ColumnReference cr = (ColumnReference)lExpr;
+ Column column = cr.getMetadataObject();
+ if (column != null && (MULTIPICKLIST.equalsIgnoreCase(column.getNativeType()) || RESTRICTEDMULTISELECTPICKLIST.equalsIgnoreCase(column.getNativeType()))) {
+ appendMultiselectIn(column, criteria);
} else {
- appendCriteria(criteria);
+ appendCriteria(criteria);
}
- setHasCriteria(true, isIdColumn(criteria.getLeftExpression()));
- } catch (TranslatorException e) {
- exceptions.add(e);
+ } else {
+ appendCriteria(criteria);
}
+ setHasCriteria(true, isIdColumn(criteria.getLeftExpression()));
}
public void parseFunction( Function func ) {
@@ -215,7 +209,7 @@
}
private void appendMultiselectIn( Column column,
- In criteria ) throws TranslatorException {
+ In criteria ) {
StringBuffer result = new StringBuffer();
result.append(column.getNameInSource()).append(SPACE);
if (criteria.isNegated()) {
@@ -270,9 +264,8 @@
}
criterion.append(CLOSE);
}
-
- protected void addCompareCriteria( List criteriaList,
- Comparison compCriteria ) throws TranslatorException {
+
+ protected void addCompareCriteria(Comparison compCriteria ) {
Expression lExpr = compCriteria.getLeftExpression();
if (lExpr instanceof Function) {
parseFunction((Function)lExpr);
@@ -280,38 +273,13 @@
ColumnReference left = (ColumnReference)lExpr;
Column column = left.getMetadataObject();
String columnName = column.getNameInSource();
- StringBuffer queryString = new StringBuffer();
- queryString.append(column.getParent().getNameInSource());
- queryString.append('.');
- queryString.append(columnName).append(SPACE);
+ StringBuilder queryString = new StringBuilder();
+ appendColumnReference(queryString, left);
+ queryString.append(SPACE);
queryString.append(comparisonOperators.get(compCriteria.getOperator()));
queryString.append(' ');
Expression rExp = compCriteria.getRightExpression();
- if(rExp instanceof Literal) {
- Literal literal = (Literal)rExp;
- if (column.getJavaType().equals(Boolean.class)) {
- queryString.append(((Boolean)literal.getValue()).toString());
- } else if (column.getJavaType().equals(java.sql.Timestamp.class)) {
- Timestamp datetime = (java.sql.Timestamp)literal.getValue();
- String value = Util.getSalesforceDateTimeFormat().format(datetime);
- String zoneValue = Util.getTimeZoneOffsetFormat().format(datetime);
- queryString.append(value).append(zoneValue.subSequence(0, 3)).append(':').append(zoneValue.subSequence(3, 5));
- } else if (column.getJavaType().equals(java.sql.Time.class)) {
- String value = Util.getSalesforceDateTimeFormat().format((java.sql.Time)literal.getValue());
- queryString.append(value);
- } else if (column.getJavaType().equals(java.sql.Date.class)) {
- String value = Util.getSalesforceDateFormat().format((java.sql.Date)literal.getValue());
- queryString.append(value);
- } else {
- queryString.append(compCriteria.getRightExpression().toString());
- }
- } else if(rExp instanceof ColumnReference) {
- ColumnReference right = (ColumnReference)lExpr;
- column = left.getMetadataObject();
- columnName = column.getNameInSource();
- queryString.append(columnName);
- }
-
+ queryString.append(getValue(rExp, false));
criteriaList.add(queryString.toString());
if (columnName.equals("IsDeleted")) { //$NON-NLS-1$
@@ -324,56 +292,86 @@
}
}
- private void appendCriteria( In criteria ) throws TranslatorException {
+ private void appendColumnReference(StringBuilder queryString,
+ ColumnReference ref) {
+ queryString.append(ref.getMetadataObject().getParent().getNameInSource());
+ queryString.append('.');
+ queryString.append(ref.getMetadataObject().getNameInSource());
+ }
+
+ private void appendCriteria( In criteria ) {
StringBuffer queryString = new StringBuffer();
Expression leftExp = criteria.getLeftExpression();
if(isIdColumn(leftExp)) {
idInCriteria = criteria;
}
- queryString.append(getValue(leftExp));
+ queryString.append(getValue(leftExp, false));
queryString.append(' ');
if (criteria.isNegated()) {
queryString.append("NOT "); //$NON-NLS-1$
}
queryString.append("IN"); //$NON-NLS-1$
queryString.append('(');
- Column column = ((ColumnReference)criteria.getLeftExpression()).getMetadataObject();
- boolean timeColumn = isTimeColumn(column);
- boolean first = true;
- Iterator iter = criteria.getRightExpressions().iterator();
+ Iterator<Expression> iter = criteria.getRightExpressions().iterator();
while (iter.hasNext()) {
- if (!first) queryString.append(',');
- if (!timeColumn) queryString.append('\'');
- queryString.append(getValue((Expression)iter.next()));
- if (!timeColumn) queryString.append('\'');
- first = false;
+ queryString.append(getValue(iter.next(), false));
+ if (iter.hasNext()) {
+ queryString.append(',');
+ }
}
queryString.append(')');
criteriaList.add(queryString.toString());
}
-
- private boolean isTimeColumn( Column column ) throws TranslatorException {
- boolean result = false;
- if (column.getJavaType().equals(java.sql.Timestamp.class) || column.getJavaType().equals(java.sql.Time.class)
- || column.getJavaType().equals(java.sql.Date.class)) {
- result = true;
- }
- return result;
- }
-
- protected String getValue( Expression expr ) throws TranslatorException {
- String result;
+
+ protected String getValue( Expression expr, boolean raw) {
+ StringBuilder result = new StringBuilder();
if (expr instanceof ColumnReference) {
- ColumnReference element = (ColumnReference)expr;
- Column element2 = element.getMetadataObject();
- result = element2.getNameInSource();
+ appendColumnReference(result, (ColumnReference)expr);
} else if (expr instanceof Literal) {
- Literal literal = (Literal)expr;
- result = literal.getValue().toString();
+ Literal literal = (Literal)expr;
+ if (literal.getValue() == null) {
+ if (raw) {
+ return null;
+ }
+ return "NULL"; //$NON-NLS-1$
+ }
+ if (raw) {
+ return literal.getValue().toString();
+ }
+ if (literal.getValue().getClass().equals(Boolean.class)) {
+ result.append(((Boolean)literal.getValue()).toString());
+ } else if (literal.getValue().getClass().equals(java.sql.Timestamp.class)) {
+ Timestamp datetime = (java.sql.Timestamp)literal.getValue();
+ String value = datetime.toString();
+ int fractionalPlace = value.lastIndexOf('.');
+ int fractionalLength = value.length() - fractionalPlace - 1;
+ if (fractionalLength > 3) {
+ value = value.substring(0, fractionalPlace + 3);
+ } else if (fractionalLength < 3) {
+ value += "00".substring(fractionalLength - 1); //$NON-NLS-1$
+ }
+ result.append(value).setCharAt(result.length()-value.length()+10, 'T');
+ Calendar c = TimestampWithTimezone.getCalendar();
+ c.setTime(datetime);
+ int minutes = (c.get(Calendar.ZONE_OFFSET) +
+ c.get(Calendar.DST_OFFSET)) / 60000;
+ int val = minutes/60;
+ result.append(String.format("%1$+03d", val)); //$NON-NLS-1$
+ result.append(':');
+ val = minutes%60;
+ result.append(val/10);
+ result.append(val%10);
+ } else if (literal.getValue().getClass().equals(java.sql.Time.class)) {
+ result.append(literal.getValue()).append(".000").append(Util.getDefaultTimeZoneString()); //$NON-NLS-1$
+ } else if (literal.getValue().getClass().equals(java.sql.Date.class)) {
+ result.append(literal.getValue());
+ } else {
+ result.append(expr.toString());
+ }
} else {
throw new RuntimeException("unknown type in SalesforceQueryExecution.getValue(): " + expr.toString()); //$NON-NLS-1$
}
- return result;
+ return result.toString();
}
protected void loadColumnMetadata( NamedTable group ) throws TranslatorException {
@@ -394,7 +392,7 @@
}
}
- protected boolean isIdColumn( Expression expression ) throws TranslatorException {
+ protected boolean isIdColumn( Expression expression ) {
boolean result = false;
if (expression instanceof ColumnReference) {
Column element = ((ColumnReference)expression).getMetadataObject();
@@ -406,7 +404,7 @@
return result;
}
- protected boolean isMultiSelectColumn( Expression expression ) throws TranslatorException {
+ protected boolean isMultiSelectColumn( Expression expression ) {
boolean result = false;
if (expression instanceof ColumnReference) {
Column element = ((ColumnReference)expression).getMetadataObject();
Modified: branches/7.6.x/connectors/translator-salesforce/src/main/java/org/teiid/translator/salesforce/execution/visitors/JoinQueryVisitor.java
===================================================================
--- branches/7.6.x/connectors/translator-salesforce/src/main/java/org/teiid/translator/salesforce/execution/visitors/JoinQueryVisitor.java 2011-11-29 19:41:45 UTC (rev 3708)
+++ branches/7.6.x/connectors/translator-salesforce/src/main/java/org/teiid/translator/salesforce/execution/visitors/JoinQueryVisitor.java 2011-11-30 19:08:23 UTC (rev 3709)
@@ -63,39 +63,34 @@
@Override
public void visit(Comparison criteria) {
-
// Find the criteria that joins the two tables
- try {
- Expression rExp = criteria.getRightExpression();
- if (rExp instanceof ColumnReference) {
- Expression lExp = criteria.getLeftExpression();
- if (isIdColumn(rExp) || isIdColumn(lExp)) {
+ Expression rExp = criteria.getRightExpression();
+ if (rExp instanceof ColumnReference) {
+ Expression lExp = criteria.getLeftExpression();
+ if (isIdColumn(rExp) || isIdColumn(lExp)) {
- Column rColumn = ((ColumnReference) rExp).getMetadataObject();
- String rTableName = rColumn.getParent().getNameInSource();
+ Column rColumn = ((ColumnReference) rExp).getMetadataObject();
+ String rTableName = rColumn.getParent().getNameInSource();
- Column lColumn = ((ColumnReference) lExp).getMetadataObject();
- String lTableName = lColumn.getParent().getNameInSource();
+ Column lColumn = ((ColumnReference) lExp).getMetadataObject();
+ String lTableName = lColumn.getParent().getNameInSource();
- if (leftTableInJoin.getNameInSource().equals(rTableName)
- || leftTableInJoin.getNameInSource().equals(lTableName)
- && rightTableInJoin.getNameInSource().equals(rTableName)
- || rightTableInJoin.getNameInSource().equals(lTableName)
- && !rTableName.equals(lTableName)) {
- // This is the join criteria, the one that is the ID is the parent.
- Expression fKey = !isIdColumn(lExp) ? lExp : rExp;
- table = childTable = (Table)((ColumnReference) fKey).getMetadataObject().getParent();
- } else {
- // Only add the criteria to the query if it is not the join criteria.
- // The join criteria is implicit in the salesforce syntax.
- super.visit(criteria);
- }
+ if (leftTableInJoin.getNameInSource().equals(rTableName)
+ || leftTableInJoin.getNameInSource().equals(lTableName)
+ && rightTableInJoin.getNameInSource().equals(rTableName)
+ || rightTableInJoin.getNameInSource().equals(lTableName)
+ && !rTableName.equals(lTableName)) {
+ // This is the join criteria, the one that is the ID is the parent.
+ Expression fKey = !isIdColumn(lExp) ? lExp : rExp;
+ table = childTable = (Table)((ColumnReference) fKey).getMetadataObject().getParent();
+ } else {
+ // Only add the criteria to the query if it is not the join criteria.
+ // The join criteria is implicit in the salesforce syntax.
+ super.visit(criteria);
}
- } else {
- super.visit(criteria);
}
- } catch (TranslatorException e) {
- exceptions.add(e);
+ } else {
+ super.visit(criteria);
}
}
Modified: branches/7.6.x/connectors/translator-salesforce/src/main/java/org/teiid/translator/salesforce/execution/visitors/SelectVisitor.java
===================================================================
--- branches/7.6.x/connectors/translator-salesforce/src/main/java/org/teiid/translator/salesforce/execution/visitors/SelectVisitor.java 2011-11-29 19:41:45 UTC (rev 3708)
+++ branches/7.6.x/connectors/translator-salesforce/src/main/java/org/teiid/translator/salesforce/execution/visitors/SelectVisitor.java 2011-11-30 19:08:23 UTC (rev 3709)
@@ -61,7 +61,7 @@
public void visit(Select query) {
super.visit(query);
if (query.isDistinct()) {
- exceptions.add(new TranslatorException(SalesForcePlugin.Util.getString("SelectVisitor.distinct.not.supported")));
+ exceptions.add(new TranslatorException(SalesForcePlugin.Util.getString("SelectVisitor.distinct.not.supported"))); //$NON-NLS-1$
}
selectSymbols = query.getDerivedColumns();
selectSymbolCount = selectSymbols.size();
@@ -78,10 +78,10 @@
selectSymbolNameToIndex .put(qualifiedName, index);
String nameInSource = element.getNameInSource();
if (null == nameInSource || nameInSource.length() == 0) {
- exceptions.add(new TranslatorException("name in source is null or empty for column "+ symbol.toString()));
+ exceptions.add(new TranslatorException("name in source is null or empty for column "+ symbol.toString())); //$NON-NLS-1$
continue;
}
- if (nameInSource.equalsIgnoreCase("id")) {
+ if (nameInSource.equalsIgnoreCase("id")) { //$NON-NLS-1$
idIndex = index;
}
}
@@ -96,7 +96,7 @@
String supportsQuery = table.getProperties().get(Constants.SUPPORTS_QUERY);
objectSupportsRetrieve = Boolean.valueOf(table.getProperties().get(Constants.SUPPORTS_RETRIEVE));
if (!Boolean.valueOf(supportsQuery)) {
- throw new TranslatorException(table.getNameInSource() + " " + SalesForcePlugin.Util.getString("CriteriaVisitor.query.not.supported"));
+ throw new TranslatorException(table.getNameInSource() + " " + SalesForcePlugin.Util.getString("CriteriaVisitor.query.not.supported")); //$NON-NLS-1$ //$NON-NLS-2$
}
loadColumnMetadata(obj);
} catch (TranslatorException ce) {
@@ -118,7 +118,7 @@
public String getQuery() throws TranslatorException {
if (!exceptions.isEmpty()) {
- throw ((TranslatorException) exceptions.get(0));
+ throw exceptions.get(0);
}
StringBuffer result = new StringBuffer();
result.append(SELECT).append(SPACE);
@@ -137,9 +137,9 @@
boolean firstTime = true;
for (DerivedColumn symbol : selectSymbols) {
if (!firstTime) {
- result.append(", ");
+ result.append(", "); //$NON-NLS-1$
} else {
- firstTime = false;
+ firstTime = false;
}
Expression expression = symbol.getExpression();
if (expression instanceof ColumnReference) {
@@ -153,7 +153,7 @@
if(parent instanceof Table) {
table = (Table)parent;
} else {
- throw new TranslatorException("Could not resolve Table for column " + element.getName());
+ throw new TranslatorException("Could not resolve Table for column " + element.getName()); //$NON-NLS-1$
}
}
result.append(table.getNameInSource());
@@ -209,19 +209,19 @@
}
- public List<String> getIdInCriteria() throws TranslatorException {
+ public List<String> getIdInCriteria() {
assertRetrieveValidated();
List<Expression> expressions = this.idInCriteria.getRightExpressions();
List<String> result = new ArrayList<String>(expressions.size());
for(int i = 0; i < expressions.size(); i++) {
- result.add(getValue(expressions.get(i)));
+ result.add(getValue(expressions.get(i), true));
}
return result;
}
private void assertRetrieveValidated() throws AssertionError {
if(!hasOnlyIDCriteria()) {
- throw new AssertionError("Must call hasOnlyIdInCriteria() before this method");
+ throw new AssertionError("Must call hasOnlyIdInCriteria() before this method"); //$NON-NLS-1$
}
}
Modified: branches/7.6.x/connectors/translator-salesforce/src/test/java/org/teiid/translator/salesforce/execution/TestQueryExecutionImpl.java
===================================================================
--- branches/7.6.x/connectors/translator-salesforce/src/test/java/org/teiid/translator/salesforce/execution/TestQueryExecutionImpl.java 2011-11-29 19:41:45 UTC (rev 3708)
+++ branches/7.6.x/connectors/translator-salesforce/src/test/java/org/teiid/translator/salesforce/execution/TestQueryExecutionImpl.java 2011-11-30 19:08:23 UTC (rev 3709)
@@ -24,11 +24,19 @@
import static org.junit.Assert.*;
+import java.sql.Time;
+import java.sql.Timestamp;
+import java.util.Calendar;
+import java.util.TimeZone;
+
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
import org.junit.Test;
import org.mockito.Mockito;
import org.teiid.cdk.api.TranslationUtility;
import org.teiid.language.Select;
import org.teiid.metadata.RuntimeMetadata;
+import org.teiid.query.unittest.TimestampUtil;
import org.teiid.translator.ExecutionContext;
import org.teiid.translator.salesforce.SalesforceConnection;
import org.teiid.translator.salesforce.execution.visitors.TestVisitors;
@@ -66,4 +74,20 @@
assertNull(qei.next());
}
+ @BeforeClass static public void oneTimeSetup() {
+ TimeZone.setDefault(TimeZone.getTimeZone("GMT-06:00"));
+ }
+
+ @AfterClass static public void oneTimeTearDown() {
+ TimeZone.setDefault(null);
+ }
+
+ @Test public void testValueParsing() throws Exception {
+ assertEquals(TimestampUtil.createTime(2, 0, 0), QueryExecutionImpl.parseDateTime("08:00:00.000Z", Time.class, Calendar.getInstance()));
+ }
+
+ @Test public void testValueParsing1() throws Exception {
+ assertEquals(TimestampUtil.createTimestamp(101, 0, 1, 2, 0, 0, 1000000), QueryExecutionImpl.parseDateTime("2001-01-01T08:00:00.001Z", Timestamp.class, Calendar.getInstance()));
+ }
+
}
Modified: branches/7.6.x/connectors/translator-salesforce/src/test/java/org/teiid/translator/salesforce/execution/visitors/TestVisitors.java
===================================================================
--- branches/7.6.x/connectors/translator-salesforce/src/test/java/org/teiid/translator/salesforce/execution/visitors/TestVisitors.java 2011-11-29 19:41:45 UTC (rev 3708)
+++ branches/7.6.x/connectors/translator-salesforce/src/test/java/org/teiid/translator/salesforce/execution/visitors/TestVisitors.java 2011-11-30 19:08:23 UTC (rev 3709)
@@ -28,6 +28,8 @@
import java.util.List;
import java.util.TimeZone;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
import org.junit.Test;
import org.mockito.Mockito;
import org.teiid.cdk.api.TranslationUtility;
@@ -90,16 +92,16 @@
contactTable.setProperty("Supports Query", Boolean.TRUE.toString()); //$NON-NLS-1$
// Create Contact Columns
String[] elemNames = new String[] {
- "ContactID", "Name", "AccountId", "InitialContact" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ "ContactID", "Name", "AccountId", "InitialContact", "LastTime" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
};
String[] elemTypes = new String[] {
- DataTypeManager.DefaultDataTypes.STRING, DataTypeManager.DefaultDataTypes.STRING, DataTypeManager.DefaultDataTypes.STRING, DataTypeManager.DefaultDataTypes.TIMESTAMP
+ DataTypeManager.DefaultDataTypes.STRING, DataTypeManager.DefaultDataTypes.STRING, DataTypeManager.DefaultDataTypes.STRING, DataTypeManager.DefaultDataTypes.TIMESTAMP, DataTypeManager.DefaultDataTypes.TIME
};
List<Column> contactCols = RealMetadataFactory.createElements(contactTable, elemNames, elemTypes);
// Set name in source on each column
String[] contactNameInSource = new String[] {
- "id", "ContactName", "accountid", "InitialContact" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ "id", "ContactName", "accountid", "InitialContact", "LastTime" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
};
for(int i=0; i<2; i++) {
Column obj = contactCols.get(i);
@@ -154,7 +156,7 @@
SelectVisitor visitor = new SelectVisitor(translationUtility.createRuntimeMetadata());
visitor.visit(command);
assertFalse(visitor.hasOnlyIDCriteria());
- assertEquals("SELECT Account.id, Account.AccountName, Account.Stuff, Account.Industry FROM Account WHERE Industry IN('1','2','3')", visitor.getQuery().toString().trim()); //$NON-NLS-1$
+ assertEquals("SELECT Account.id, Account.AccountName, Account.Stuff, Account.Industry FROM Account WHERE Account.Industry IN('1','2','3')", visitor.getQuery().toString().trim()); //$NON-NLS-1$
}
@@ -194,9 +196,23 @@
Select command = (Select)translationUtility.parseCommand("SELECT Contacts.Name FROM Contacts WHERE Contacts.Name in ('x', 'y')"); //$NON-NLS-1$
SelectVisitor visitor = new SelectVisitor(translationUtility.createRuntimeMetadata());
visitor.visit(command);
- assertEquals("SELECT Contact.ContactName FROM Contact WHERE ContactName IN('x','y')", visitor.getQuery().toString().trim()); //$NON-NLS-1$
+ assertEquals("SELECT Contact.ContactName FROM Contact WHERE Contact.ContactName IN('x','y')", visitor.getQuery().toString().trim()); //$NON-NLS-1$
}
+ @Test public void testEqualsElement() throws Exception {
+ Select command = (Select)translationUtility.parseCommand("SELECT Contacts.Name FROM Contacts WHERE Contacts.Name = Contacts.AccountId"); //$NON-NLS-1$
+ SelectVisitor visitor = new SelectVisitor(translationUtility.createRuntimeMetadata());
+ visitor.visit(command);
+ assertEquals("SELECT Contact.ContactName FROM Contact WHERE Contact.ContactName = Contact.AccountId", visitor.getQuery().toString().trim()); //$NON-NLS-1$
+ }
+
+ @Test public void testIsNull() throws Exception {
+ Select command = (Select)translationUtility.parseCommand("SELECT Contacts.Name FROM Contacts WHERE Contacts.Name is not null"); //$NON-NLS-1$
+ SelectVisitor visitor = new SelectVisitor(translationUtility.createRuntimeMetadata());
+ visitor.visit(command);
+ assertEquals("SELECT Contact.ContactName FROM Contact WHERE Contact.ContactName != NULL", visitor.getQuery().toString().trim()); //$NON-NLS-1$
+ }
+
@Test public void testIDCriteria() throws Exception {
Select command = (Select)translationUtility.parseCommand("select id, name from Account where id = 'bar'"); //$NON-NLS-1$
SalesforceConnection sfc = Mockito.mock(SalesforceConnection.class);
@@ -205,16 +221,33 @@
Mockito.verify(sfc).retrieve("Account.id, Account.AccountName", "Account", Arrays.asList("bar"));
}
- @Test public void testDateTimeFormating() throws Exception {
+ @BeforeClass static public void oneTimeSetup() {
TimeZone.setDefault(TimeZone.getTimeZone("GMT-06:00"));
- try {
- Select command = (Select)translationUtility.parseCommand("select name from contacts where initialcontact = {ts'2003-03-11 11:42:10.5'}"); //$NON-NLS-1$
- SelectVisitor visitor = new SelectVisitor(translationUtility.createRuntimeMetadata());
- visitor.visit(command);
- assertEquals("SELECT Contact.ContactName FROM Contact WHERE Contact.InitialContact = 2003-03-11T11:42:10.500-06:00", visitor.getQuery().toString().trim()); //$NON-NLS-1$
- } finally {
- TimeZone.setDefault(null);
- }
}
+
+ @AfterClass static public void oneTimeTearDown() {
+ TimeZone.setDefault(null);
+ }
+
+ @Test public void testDateTimeFormating() throws Exception {
+ Select command = (Select)translationUtility.parseCommand("select name from contacts where initialcontact = {ts'2003-03-11 11:42:10.5'}"); //$NON-NLS-1$
+ SelectVisitor visitor = new SelectVisitor(translationUtility.createRuntimeMetadata());
+ visitor.visit(command);
+ assertEquals("SELECT Contact.ContactName FROM Contact WHERE Contact.InitialContact = 2003-03-11T11:42:10.500-06:00", visitor.getQuery().toString().trim()); //$NON-NLS-1$
+ }
+
+ @Test public void testDateTimeFormating1() throws Exception {
+ Select command = (Select)translationUtility.parseCommand("select name from contacts where initialcontact in ({ts'2003-03-11 11:42:10.506'}, {ts'2003-03-11 11:42:10.8088'})"); //$NON-NLS-1$
+ SelectVisitor visitor = new SelectVisitor(translationUtility.createRuntimeMetadata());
+ visitor.visit(command);
+ assertEquals("SELECT Contact.ContactName FROM Contact WHERE Contact.InitialContact IN(2003-03-11T11:42:10.506-06:00,2003-03-11T11:42:10.80-06:00)", visitor.getQuery().toString().trim()); //$NON-NLS-1$
+ }
+
+ @Test public void testTimeFormatting() throws Exception {
+ Select command = (Select)translationUtility.parseCommand("select name from contacts where lasttime = {t'11:42:10'}"); //$NON-NLS-1$
+ SelectVisitor visitor = new SelectVisitor(translationUtility.createRuntimeMetadata());
+ visitor.visit(command);
+ assertEquals("SELECT Contact.ContactName FROM Contact WHERE Contact.LastTime = 11:42:10.000-06:00", visitor.getQuery().toString().trim()); //$NON-NLS-1$
+ }
}
13 years
teiid SVN: r3708 - branches/7.6.x/build/kits/jboss-container.
by teiid-commits@lists.jboss.org
Author: shawkins
Date: 2011-11-29 14:41:45 -0500 (Tue, 29 Nov 2011)
New Revision: 3708
Modified:
branches/7.6.x/build/kits/jboss-container/teiid-releasenotes.html
Log:
adding detailed release notes
Modified: branches/7.6.x/build/kits/jboss-container/teiid-releasenotes.html
===================================================================
--- branches/7.6.x/build/kits/jboss-container/teiid-releasenotes.html 2011-11-29 16:56:14 UTC (rev 3707)
+++ branches/7.6.x/build/kits/jboss-container/teiid-releasenotes.html 2011-11-29 19:41:45 UTC (rev 3708)
@@ -241,7 +241,204 @@
<h2><a name="Details">Detailed Release Notes</a></h2>
Detailed Release Notes - Teiid - Version ${project.version}
+
+<h2> Bug
+</h2>
+<ul>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1686'>TEIID-1686</a>] - Assertion failure when using a plan result buffer
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1727'>TEIID-1727</a>] - Undeploying a vdb inappropriately updates all vdbs
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1728'>TEIID-1728</a>] - Materialized View cache TTL (in a transformation) does not expire/invalidate the cache automatically
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1729'>TEIID-1729</a>] - EDS XML as source - results returned on 1st query only, subsequent query returns 0 rows - Streaming logic problem
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1730'>TEIID-1730</a>] - File resource adapter ra.xml is not valid
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1731'>TEIID-1731</a>] - Incorrect results with low memory streaming dup removal
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1732'>TEIID-1732</a>] - Native PG Connector does not pass back errors to client
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1736'>TEIID-1736</a>] - Window function capabilities incorrect
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1737'>TEIID-1737</a>] - Error: Temporary table does not exist when using WITH clause and SQL Server
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1739'>TEIID-1739</a>] - VDB deployment fails if metadata index file has been removed due to NPE during Index.initialize
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1742'>TEIID-1742</a>] - Page ids are not sufficiently unique
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1745'>TEIID-1745</a>] - Forward only results that exceed the output buffer can hold active plans
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1746'>TEIID-1746</a>] - Documentation for ENV & COMMANDPAYLOAD is missing some details
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1747'>TEIID-1747</a>] - hasROLE(rolename) function always returns false
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1751'>TEIID-1751</a>] - Scalar function reference issues
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1753'>TEIID-1753</a>] - FileStore compaction issues
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1758'>TEIID-1758</a>] - ODBC protocol should implement DEALLOCATE command
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1760'>TEIID-1760</a>] - The "access" translator shows up in the admin-console, but I don't find it mentioned in the docs. Looking at the 7.5 docs
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1764'>TEIID-1764</a>] - Hibernate Month Date Extraction
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1765'>TEIID-1765</a>] - Incorrect comparison method in CancellationTimer
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1768'>TEIID-1768</a>] - Temp table becomes unusable by other threads
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1769'>TEIID-1769</a>] - Unhandled exceptions during close can hang the client
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1773'>TEIID-1773</a>] - Ingres as source - Query with LOCATE causing stackoverflow error
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1776'>TEIID-1776</a>] - Ingres as source - Source Error Codes 2118, 2501, and 263071 being returned
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1778'>TEIID-1778</a>] - Cross source join reduced to cross join returns the wrong data
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1780'>TEIID-1780</a>] - Stored procedure cannot be called using "Procedural Relational Command"
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1784'>TEIID-1784</a>] - reserve batch accounting error
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1787'>TEIID-1787</a>] - Prepared batch failure
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1789'>TEIID-1789</a>] - Serial type failure
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1790'>TEIID-1790</a>] - Error parsing substring with non-simple expression
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1791'>TEIID-1791</a>] - Only the first 1000 items in the IN criteria are being pushed down in the query
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1792'>TEIID-1792</a>] - Inefficient plan using cartesian join
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1793'>TEIID-1793</a>] - Receive " User <user@teiid-security> is not entitled to action <READ> for 1 or more of the groups/elements/procedures." error on unqualified SQL if data roles are active
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1795'>TEIID-1795</a>] - Long Running Queries Are Calculated Incorrectly
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1803'>TEIID-1803</a>] - VDB deployment in EDS can be extremely slow based upon indexing needs
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1812'>TEIID-1812</a>] - Client Recieving java.lang.IndexOutOfBoundsException when performing query
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1816'>TEIID-1816</a>] - Documentation changes for SSL configuration
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1818'>TEIID-1818</a>] - XMLQuery/XMLTable prepared context type
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1820'>TEIID-1820</a>] - like_regex only matches full string patterns
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1821'>TEIID-1821</a>] - subqueries used in xmltable coulmn defaults are not resolved
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1823'>TEIID-1823</a>] - XMLTable passing scalar subquery fails to evaluate
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1825'>TEIID-1825</a>] - EnhancementTimer class using the wrong logger class, results in errors accessing the Teiid through JDBC
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1830'>TEIID-1830</a>] - Perl client using DBD:Pg hangs with resultset > 512 rows
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1832'>TEIID-1832</a>] - Change to source model connection through AdminApi using assignToModel() does not reflect in jdbc queries to that source model
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1836'>TEIID-1836</a>] - NPE running query of Web service (WSDL imported into Relational Model)
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1840'>TEIID-1840</a>] - The Jdbc Socket Host Name Property cannot be changed in admin console
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1843'>TEIID-1843</a>] - StackOverflow using a changing expression as a boolean condition
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1844'>TEIID-1844</a>] - Missing paren invalidates code example in EDS documentation
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1845'>TEIID-1845</a>] - Cache hint not being displayed after validation of Virtual Procedure in JBoss Developer Studio
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1846'>TEIID-1846</a>] - Update or delete against a instead of trigger with an access pattern fails
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1849'>TEIID-1849</a>] - enabledCipherSuites property gives error on startup of server
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1851'>TEIID-1851</a>] - run.bat in simpleclient for teiid 7.5 incorrect path
+</li>
+</ul>
+
+<h2> Enhancement
+</h2>
+<ul>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1610'>TEIID-1610</a>] - Support kerberos authentication forwarding for remote clients
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1673'>TEIID-1673</a>] - Co-ordinate Materialization Table loads accross the cluster
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1701'>TEIID-1701</a>] - Misc procedure enhancements
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1702'>TEIID-1702</a>] - Allow the file translator to abstract selecting a single file
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1703'>TEIID-1703</a>] - Allow for the parsing of fixed width files that don't use delimiters.
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1797'>TEIID-1797</a>] - When a message (i.e., WARN) is logged and its associated with a translator/connector, it would be nice to know to which one it applied
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1805'>TEIID-1805</a>] - Allow no_unnest to apply to views/subquery from clauses
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1806'>TEIID-1806</a>] - Make unordered limit handling consistent
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1824'>TEIID-1824</a>] - SQL/XML performance enhancement
+</li>
+</ul>
+
+<h2> Feature Request
+</h2>
+<ul>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-139'>TEIID-139</a>] - Enhancement: Language support for transactions
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-942'>TEIID-942</a>] - Make ad hoc temp tables transactional
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-964'>TEIID-964</a>] - Must pushdown functions in select clause
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1518'>TEIID-1518</a>] - Add a correlated subquery evaluation cache
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1573'>TEIID-1573</a>] - Set Query Timeout on the Server
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1629'>TEIID-1629</a>] - provide maven snapshot jars
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1687'>TEIID-1687</a>] - GSSAPI support for postgres emulation layer
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1726'>TEIID-1726</a>] - Requesting ability to add/use Oracle hints in EDS
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1735'>TEIID-1735</a>] - RF: Add the ability to use DISTINCT in windowed aggregates in EDS
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1772'>TEIID-1772</a>] - Teiid ports need to have the ability to restrict cipher suites
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1800'>TEIID-1800</a>] - Async Event Processing: Standardize JDBC Callback API
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1802'>TEIID-1802</a>] - Async Event Processing: Translator callback indicating data is available
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1810'>TEIID-1810</a>] - Add Hive Translator that support HDFS
+</li>
+</ul>
+<h2> Quality Risk
+</h2>
+<ul>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-832'>TEIID-832</a>] - Support calling oracle stored functions returning result sets as stored procedures
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1738'>TEIID-1738</a>] - Temp table permissions can be confusing
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1750'>TEIID-1750</a>] - Memory handling improvements
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1771'>TEIID-1771</a>] - 7.3 or older clients see the wrong column metadata
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1788'>TEIID-1788</a>] - Misc improvements
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1813'>TEIID-1813</a>] - EDS performance tests shows a performance degradation against SOA-P 5.1.0.GA in case of selecting from XML datasource
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1828'>TEIID-1828</a>] - Dependent critiera in query plan but missing in actual query and additional information is provided
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1829'>TEIID-1829</a>] - Clarify source warnings
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1833'>TEIID-1833</a>] - Add documentation for the delegating translator
+</li>
+</ul>
+
+<h2> Task
+</h2>
+<ul>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1716'>TEIID-1716</a>] - Fix minor ODBC documentation
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1749'>TEIID-1749</a>] - Update the LDAP configuration documentation
+</li>
+<li>[<a href='https://issues.jboss.org/browse/TEIID-1798'>TEIID-1798</a>] - Document to show how the CXF configuration file can be configured for Web-Service source
+</li>
+</ul>
+
<h2><a name="Documentation">Documentation and Help</a></h2>
The <a href="http://www.jboss.org/teiid/">Teiid community project</a> is hosted on jboss.org.
13 years
teiid SVN: r3707 - in branches/7.6.x: adminshell and 38 other directories.
by teiid-commits@lists.jboss.org
Author: shawkins
Date: 2011-11-29 11:56:14 -0500 (Tue, 29 Nov 2011)
New Revision: 3707
Modified:
branches/7.6.x/adminshell/pom.xml
branches/7.6.x/api/pom.xml
branches/7.6.x/build/pom.xml
branches/7.6.x/cache-jbosscache/pom.xml
branches/7.6.x/client-jdk15/pom.xml
branches/7.6.x/client/pom.xml
branches/7.6.x/common-core/pom.xml
branches/7.6.x/connectors/connector-file/pom.xml
branches/7.6.x/connectors/connector-ldap/pom.xml
branches/7.6.x/connectors/connector-salesforce/pom.xml
branches/7.6.x/connectors/connector-ws/pom.xml
branches/7.6.x/connectors/pom.xml
branches/7.6.x/connectors/salesforce-api/pom.xml
branches/7.6.x/connectors/sandbox/pom.xml
branches/7.6.x/connectors/sandbox/translator-yahoo/pom.xml
branches/7.6.x/connectors/translator-file/pom.xml
branches/7.6.x/connectors/translator-hive/pom.xml
branches/7.6.x/connectors/translator-jdbc/pom.xml
branches/7.6.x/connectors/translator-ldap/pom.xml
branches/7.6.x/connectors/translator-loopback/pom.xml
branches/7.6.x/connectors/translator-olap/pom.xml
branches/7.6.x/connectors/translator-salesforce/pom.xml
branches/7.6.x/connectors/translator-ws/pom.xml
branches/7.6.x/console/pom.xml
branches/7.6.x/documentation/admin-guide/pom.xml
branches/7.6.x/documentation/caching-guide/pom.xml
branches/7.6.x/documentation/client-developers-guide/pom.xml
branches/7.6.x/documentation/developer-guide/pom.xml
branches/7.6.x/documentation/pom.xml
branches/7.6.x/documentation/quick-start-example/pom.xml
branches/7.6.x/documentation/reference/pom.xml
branches/7.6.x/engine/pom.xml
branches/7.6.x/hibernate-dialect/pom.xml
branches/7.6.x/jboss-integration/pom.xml
branches/7.6.x/metadata/pom.xml
branches/7.6.x/pom.xml
branches/7.6.x/runtime/pom.xml
branches/7.6.x/test-integration/common/pom.xml
branches/7.6.x/test-integration/db/pom.xml
branches/7.6.x/test-integration/pom.xml
Log:
[maven-release-plugin] prepare for next development iteration
Modified: branches/7.6.x/adminshell/pom.xml
===================================================================
--- branches/7.6.x/adminshell/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/adminshell/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-adminshell</artifactId>
Modified: branches/7.6.x/api/pom.xml
===================================================================
--- branches/7.6.x/api/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/api/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-api</artifactId>
Modified: branches/7.6.x/build/pom.xml
===================================================================
--- branches/7.6.x/build/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/build/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -2,7 +2,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid</artifactId>
Modified: branches/7.6.x/cache-jbosscache/pom.xml
===================================================================
--- branches/7.6.x/cache-jbosscache/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/cache-jbosscache/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-cache-jbosscache</artifactId>
Modified: branches/7.6.x/client/pom.xml
===================================================================
--- branches/7.6.x/client/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/client/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-client</artifactId>
Modified: branches/7.6.x/client-jdk15/pom.xml
===================================================================
--- branches/7.6.x/client-jdk15/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/client-jdk15/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-client-jdk15</artifactId>
Modified: branches/7.6.x/common-core/pom.xml
===================================================================
--- branches/7.6.x/common-core/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/common-core/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-common-core</artifactId>
Modified: branches/7.6.x/connectors/connector-file/pom.xml
===================================================================
--- branches/7.6.x/connectors/connector-file/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/connectors/connector-file/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>connector-file</artifactId>
Modified: branches/7.6.x/connectors/connector-ldap/pom.xml
===================================================================
--- branches/7.6.x/connectors/connector-ldap/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/connectors/connector-ldap/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -2,7 +2,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>connector-ldap</artifactId>
Modified: branches/7.6.x/connectors/connector-salesforce/pom.xml
===================================================================
--- branches/7.6.x/connectors/connector-salesforce/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/connectors/connector-salesforce/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>connector-salesforce</artifactId>
Modified: branches/7.6.x/connectors/connector-ws/pom.xml
===================================================================
--- branches/7.6.x/connectors/connector-ws/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/connectors/connector-ws/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>connector-ws</artifactId>
Modified: branches/7.6.x/connectors/pom.xml
===================================================================
--- branches/7.6.x/connectors/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/connectors/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.teiid</groupId>
Modified: branches/7.6.x/connectors/salesforce-api/pom.xml
===================================================================
--- branches/7.6.x/connectors/salesforce-api/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/connectors/salesforce-api/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -2,7 +2,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>salesforce-api</artifactId>
Modified: branches/7.6.x/connectors/sandbox/pom.xml
===================================================================
--- branches/7.6.x/connectors/sandbox/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/connectors/sandbox/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.teiid.connectors</groupId>
Modified: branches/7.6.x/connectors/sandbox/translator-yahoo/pom.xml
===================================================================
--- branches/7.6.x/connectors/sandbox/translator-yahoo/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/connectors/sandbox/translator-yahoo/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
<parent>
<artifactId>sandbox</artifactId>
<groupId>org.jboss.teiid.connectors</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-yahoo</artifactId>
Modified: branches/7.6.x/connectors/translator-file/pom.xml
===================================================================
--- branches/7.6.x/connectors/translator-file/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/connectors/translator-file/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-file</artifactId>
Modified: branches/7.6.x/connectors/translator-hive/pom.xml
===================================================================
--- branches/7.6.x/connectors/translator-hive/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/connectors/translator-hive/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-hive</artifactId>
Modified: branches/7.6.x/connectors/translator-jdbc/pom.xml
===================================================================
--- branches/7.6.x/connectors/translator-jdbc/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/connectors/translator-jdbc/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-jdbc</artifactId>
Modified: branches/7.6.x/connectors/translator-ldap/pom.xml
===================================================================
--- branches/7.6.x/connectors/translator-ldap/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/connectors/translator-ldap/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -2,7 +2,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-ldap</artifactId>
Modified: branches/7.6.x/connectors/translator-loopback/pom.xml
===================================================================
--- branches/7.6.x/connectors/translator-loopback/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/connectors/translator-loopback/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-loopback</artifactId>
Modified: branches/7.6.x/connectors/translator-olap/pom.xml
===================================================================
--- branches/7.6.x/connectors/translator-olap/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/connectors/translator-olap/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-olap</artifactId>
Modified: branches/7.6.x/connectors/translator-salesforce/pom.xml
===================================================================
--- branches/7.6.x/connectors/translator-salesforce/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/connectors/translator-salesforce/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-salesforce</artifactId>
Modified: branches/7.6.x/connectors/translator-ws/pom.xml
===================================================================
--- branches/7.6.x/connectors/translator-ws/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/connectors/translator-ws/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-ws</artifactId>
Modified: branches/7.6.x/console/pom.xml
===================================================================
--- branches/7.6.x/console/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/console/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: branches/7.6.x/documentation/admin-guide/pom.xml
===================================================================
--- branches/7.6.x/documentation/admin-guide/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/documentation/admin-guide/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.jboss.teiid</groupId>
<artifactId>documentation</artifactId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>admin-guide</artifactId>
Modified: branches/7.6.x/documentation/caching-guide/pom.xml
===================================================================
--- branches/7.6.x/documentation/caching-guide/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/documentation/caching-guide/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.jboss.teiid</groupId>
<artifactId>documentation</artifactId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>caching-guide</artifactId>
Modified: branches/7.6.x/documentation/client-developers-guide/pom.xml
===================================================================
--- branches/7.6.x/documentation/client-developers-guide/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/documentation/client-developers-guide/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.jboss.teiid</groupId>
<artifactId>documentation</artifactId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>client-developers-guide</artifactId>
Modified: branches/7.6.x/documentation/developer-guide/pom.xml
===================================================================
--- branches/7.6.x/documentation/developer-guide/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/documentation/developer-guide/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.jboss.teiid</groupId>
<artifactId>documentation</artifactId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>developer-guide</artifactId>
Modified: branches/7.6.x/documentation/pom.xml
===================================================================
--- branches/7.6.x/documentation/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/documentation/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -2,7 +2,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.teiid</groupId>
Modified: branches/7.6.x/documentation/quick-start-example/pom.xml
===================================================================
--- branches/7.6.x/documentation/quick-start-example/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/documentation/quick-start-example/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.jboss.teiid</groupId>
<artifactId>documentation</artifactId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>quick-start-example</artifactId>
Modified: branches/7.6.x/documentation/reference/pom.xml
===================================================================
--- branches/7.6.x/documentation/reference/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/documentation/reference/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.jboss.teiid</groupId>
<artifactId>documentation</artifactId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>reference</artifactId>
Modified: branches/7.6.x/engine/pom.xml
===================================================================
--- branches/7.6.x/engine/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/engine/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-engine</artifactId>
Modified: branches/7.6.x/hibernate-dialect/pom.xml
===================================================================
--- branches/7.6.x/hibernate-dialect/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/hibernate-dialect/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -2,7 +2,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-hibernate-dialect</artifactId>
Modified: branches/7.6.x/jboss-integration/pom.xml
===================================================================
--- branches/7.6.x/jboss-integration/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/jboss-integration/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -2,7 +2,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.teiid</groupId>
Modified: branches/7.6.x/metadata/pom.xml
===================================================================
--- branches/7.6.x/metadata/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/metadata/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-metadata</artifactId>
Modified: branches/7.6.x/pom.xml
===================================================================
--- branches/7.6.x/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -5,16 +5,16 @@
<artifactId>teiid-parent</artifactId>
<packaging>pom</packaging>
<name>Teiid</name>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
<description>Federated SQL and XML query engine.</description>
<properties>
<ant.version>1.7.0</ant.version>
<site.url>http://www.jboss.org/teiid</site.url>
</properties>
<scm>
- <connection>scm:svn:https://anonsvn.jboss.org/repos/teiid/tags/teiid-parent-7.6.0.Final</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/teiid/tags/teiid-parent-7.6.0.Final</developerConnection>
- <url>http://anonsvn.jboss.org/repos/teiid/tags/teiid-parent-7.6.0.Final</url>
+ <connection>scm:svn:https://anonsvn.jboss.org/repos/teiid/branches/7.6.x</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/teiid/branches/7.6.x</developerConnection>
+ <url>http://anonsvn.jboss.org/repos/teiid/trunk</url>
</scm>
<licenses>
<license>
Modified: branches/7.6.x/runtime/pom.xml
===================================================================
--- branches/7.6.x/runtime/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/runtime/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.teiid</groupId>
Modified: branches/7.6.x/test-integration/common/pom.xml
===================================================================
--- branches/7.6.x/test-integration/common/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/test-integration/common/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-test-integration</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>test-integration-common</artifactId>
Modified: branches/7.6.x/test-integration/db/pom.xml
===================================================================
--- branches/7.6.x/test-integration/db/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/test-integration/db/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -9,7 +9,7 @@
<parent>
<artifactId>teiid-test-integration</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: branches/7.6.x/test-integration/pom.xml
===================================================================
--- branches/7.6.x/test-integration/pom.xml 2011-11-29 16:55:55 UTC (rev 3706)
+++ branches/7.6.x/test-integration/pom.xml 2011-11-29 16:56:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.Final</version>
+ <version>7.6.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-test-integration</artifactId>
13 years
teiid SVN: r3706 - tags.
by teiid-commits@lists.jboss.org
Author: shawkins
Date: 2011-11-29 11:55:55 -0500 (Tue, 29 Nov 2011)
New Revision: 3706
Added:
tags/teiid-parent-7.6.0.Final/
Log:
[maven-release-plugin] copy for tag teiid-parent-7.6.0.Final
13 years
teiid SVN: r3705 - in branches/7.6.x: adminshell and 38 other directories.
by teiid-commits@lists.jboss.org
Author: shawkins
Date: 2011-11-29 11:55:44 -0500 (Tue, 29 Nov 2011)
New Revision: 3705
Modified:
branches/7.6.x/adminshell/pom.xml
branches/7.6.x/api/pom.xml
branches/7.6.x/build/pom.xml
branches/7.6.x/cache-jbosscache/pom.xml
branches/7.6.x/client-jdk15/pom.xml
branches/7.6.x/client/pom.xml
branches/7.6.x/common-core/pom.xml
branches/7.6.x/connectors/connector-file/pom.xml
branches/7.6.x/connectors/connector-ldap/pom.xml
branches/7.6.x/connectors/connector-salesforce/pom.xml
branches/7.6.x/connectors/connector-ws/pom.xml
branches/7.6.x/connectors/pom.xml
branches/7.6.x/connectors/salesforce-api/pom.xml
branches/7.6.x/connectors/sandbox/pom.xml
branches/7.6.x/connectors/sandbox/translator-yahoo/pom.xml
branches/7.6.x/connectors/translator-file/pom.xml
branches/7.6.x/connectors/translator-hive/pom.xml
branches/7.6.x/connectors/translator-jdbc/pom.xml
branches/7.6.x/connectors/translator-ldap/pom.xml
branches/7.6.x/connectors/translator-loopback/pom.xml
branches/7.6.x/connectors/translator-olap/pom.xml
branches/7.6.x/connectors/translator-salesforce/pom.xml
branches/7.6.x/connectors/translator-ws/pom.xml
branches/7.6.x/console/pom.xml
branches/7.6.x/documentation/admin-guide/pom.xml
branches/7.6.x/documentation/caching-guide/pom.xml
branches/7.6.x/documentation/client-developers-guide/pom.xml
branches/7.6.x/documentation/developer-guide/pom.xml
branches/7.6.x/documentation/pom.xml
branches/7.6.x/documentation/quick-start-example/pom.xml
branches/7.6.x/documentation/reference/pom.xml
branches/7.6.x/engine/pom.xml
branches/7.6.x/hibernate-dialect/pom.xml
branches/7.6.x/jboss-integration/pom.xml
branches/7.6.x/metadata/pom.xml
branches/7.6.x/pom.xml
branches/7.6.x/runtime/pom.xml
branches/7.6.x/test-integration/common/pom.xml
branches/7.6.x/test-integration/db/pom.xml
branches/7.6.x/test-integration/pom.xml
Log:
[maven-release-plugin] prepare release teiid-parent-7.6.0.Final
Modified: branches/7.6.x/adminshell/pom.xml
===================================================================
--- branches/7.6.x/adminshell/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/adminshell/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-adminshell</artifactId>
Modified: branches/7.6.x/api/pom.xml
===================================================================
--- branches/7.6.x/api/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/api/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-api</artifactId>
Modified: branches/7.6.x/build/pom.xml
===================================================================
--- branches/7.6.x/build/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/build/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -2,7 +2,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid</artifactId>
Modified: branches/7.6.x/cache-jbosscache/pom.xml
===================================================================
--- branches/7.6.x/cache-jbosscache/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/cache-jbosscache/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-cache-jbosscache</artifactId>
Modified: branches/7.6.x/client/pom.xml
===================================================================
--- branches/7.6.x/client/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/client/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-client</artifactId>
Modified: branches/7.6.x/client-jdk15/pom.xml
===================================================================
--- branches/7.6.x/client-jdk15/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/client-jdk15/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-client-jdk15</artifactId>
Modified: branches/7.6.x/common-core/pom.xml
===================================================================
--- branches/7.6.x/common-core/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/common-core/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-common-core</artifactId>
Modified: branches/7.6.x/connectors/connector-file/pom.xml
===================================================================
--- branches/7.6.x/connectors/connector-file/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/connectors/connector-file/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>connector-file</artifactId>
Modified: branches/7.6.x/connectors/connector-ldap/pom.xml
===================================================================
--- branches/7.6.x/connectors/connector-ldap/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/connectors/connector-ldap/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -2,7 +2,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>connector-ldap</artifactId>
Modified: branches/7.6.x/connectors/connector-salesforce/pom.xml
===================================================================
--- branches/7.6.x/connectors/connector-salesforce/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/connectors/connector-salesforce/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>connector-salesforce</artifactId>
Modified: branches/7.6.x/connectors/connector-ws/pom.xml
===================================================================
--- branches/7.6.x/connectors/connector-ws/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/connectors/connector-ws/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>connector-ws</artifactId>
Modified: branches/7.6.x/connectors/pom.xml
===================================================================
--- branches/7.6.x/connectors/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/connectors/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.teiid</groupId>
Modified: branches/7.6.x/connectors/salesforce-api/pom.xml
===================================================================
--- branches/7.6.x/connectors/salesforce-api/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/connectors/salesforce-api/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -2,7 +2,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>salesforce-api</artifactId>
Modified: branches/7.6.x/connectors/sandbox/pom.xml
===================================================================
--- branches/7.6.x/connectors/sandbox/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/connectors/sandbox/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.teiid.connectors</groupId>
Modified: branches/7.6.x/connectors/sandbox/translator-yahoo/pom.xml
===================================================================
--- branches/7.6.x/connectors/sandbox/translator-yahoo/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/connectors/sandbox/translator-yahoo/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -3,7 +3,7 @@
<parent>
<artifactId>sandbox</artifactId>
<groupId>org.jboss.teiid.connectors</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-yahoo</artifactId>
Modified: branches/7.6.x/connectors/translator-file/pom.xml
===================================================================
--- branches/7.6.x/connectors/translator-file/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/connectors/translator-file/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-file</artifactId>
Modified: branches/7.6.x/connectors/translator-hive/pom.xml
===================================================================
--- branches/7.6.x/connectors/translator-hive/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/connectors/translator-hive/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-hive</artifactId>
Modified: branches/7.6.x/connectors/translator-jdbc/pom.xml
===================================================================
--- branches/7.6.x/connectors/translator-jdbc/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/connectors/translator-jdbc/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-jdbc</artifactId>
Modified: branches/7.6.x/connectors/translator-ldap/pom.xml
===================================================================
--- branches/7.6.x/connectors/translator-ldap/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/connectors/translator-ldap/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -2,7 +2,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-ldap</artifactId>
Modified: branches/7.6.x/connectors/translator-loopback/pom.xml
===================================================================
--- branches/7.6.x/connectors/translator-loopback/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/connectors/translator-loopback/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-loopback</artifactId>
Modified: branches/7.6.x/connectors/translator-olap/pom.xml
===================================================================
--- branches/7.6.x/connectors/translator-olap/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/connectors/translator-olap/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-olap</artifactId>
Modified: branches/7.6.x/connectors/translator-salesforce/pom.xml
===================================================================
--- branches/7.6.x/connectors/translator-salesforce/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/connectors/translator-salesforce/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-salesforce</artifactId>
Modified: branches/7.6.x/connectors/translator-ws/pom.xml
===================================================================
--- branches/7.6.x/connectors/translator-ws/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/connectors/translator-ws/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -3,7 +3,7 @@
<parent>
<artifactId>connectors</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>translator-ws</artifactId>
Modified: branches/7.6.x/console/pom.xml
===================================================================
--- branches/7.6.x/console/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/console/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: branches/7.6.x/documentation/admin-guide/pom.xml
===================================================================
--- branches/7.6.x/documentation/admin-guide/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/documentation/admin-guide/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.jboss.teiid</groupId>
<artifactId>documentation</artifactId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>admin-guide</artifactId>
Modified: branches/7.6.x/documentation/caching-guide/pom.xml
===================================================================
--- branches/7.6.x/documentation/caching-guide/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/documentation/caching-guide/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.jboss.teiid</groupId>
<artifactId>documentation</artifactId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>caching-guide</artifactId>
Modified: branches/7.6.x/documentation/client-developers-guide/pom.xml
===================================================================
--- branches/7.6.x/documentation/client-developers-guide/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/documentation/client-developers-guide/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.jboss.teiid</groupId>
<artifactId>documentation</artifactId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>client-developers-guide</artifactId>
Modified: branches/7.6.x/documentation/developer-guide/pom.xml
===================================================================
--- branches/7.6.x/documentation/developer-guide/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/documentation/developer-guide/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.jboss.teiid</groupId>
<artifactId>documentation</artifactId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>developer-guide</artifactId>
Modified: branches/7.6.x/documentation/pom.xml
===================================================================
--- branches/7.6.x/documentation/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/documentation/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -2,7 +2,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.teiid</groupId>
Modified: branches/7.6.x/documentation/quick-start-example/pom.xml
===================================================================
--- branches/7.6.x/documentation/quick-start-example/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/documentation/quick-start-example/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.jboss.teiid</groupId>
<artifactId>documentation</artifactId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>quick-start-example</artifactId>
Modified: branches/7.6.x/documentation/reference/pom.xml
===================================================================
--- branches/7.6.x/documentation/reference/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/documentation/reference/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.jboss.teiid</groupId>
<artifactId>documentation</artifactId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>reference</artifactId>
Modified: branches/7.6.x/engine/pom.xml
===================================================================
--- branches/7.6.x/engine/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/engine/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-engine</artifactId>
Modified: branches/7.6.x/hibernate-dialect/pom.xml
===================================================================
--- branches/7.6.x/hibernate-dialect/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/hibernate-dialect/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -2,7 +2,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-hibernate-dialect</artifactId>
Modified: branches/7.6.x/jboss-integration/pom.xml
===================================================================
--- branches/7.6.x/jboss-integration/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/jboss-integration/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -2,7 +2,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.teiid</groupId>
Modified: branches/7.6.x/metadata/pom.xml
===================================================================
--- branches/7.6.x/metadata/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/metadata/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-metadata</artifactId>
Modified: branches/7.6.x/pom.xml
===================================================================
--- branches/7.6.x/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -5,16 +5,16 @@
<artifactId>teiid-parent</artifactId>
<packaging>pom</packaging>
<name>Teiid</name>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
<description>Federated SQL and XML query engine.</description>
<properties>
<ant.version>1.7.0</ant.version>
<site.url>http://www.jboss.org/teiid</site.url>
</properties>
<scm>
- <connection>scm:svn:https://anonsvn.jboss.org/repos/teiid/branches/7.6.x</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/teiid/branches/7.6.x</developerConnection>
- <url>http://anonsvn.jboss.org/repos/teiid/trunk</url>
+ <connection>scm:svn:https://anonsvn.jboss.org/repos/teiid/tags/teiid-parent-7.6.0.Final</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/teiid/tags/teiid-parent-7.6.0.Final</developerConnection>
+ <url>http://anonsvn.jboss.org/repos/teiid/tags/teiid-parent-7.6.0.Final</url>
</scm>
<licenses>
<license>
Modified: branches/7.6.x/runtime/pom.xml
===================================================================
--- branches/7.6.x/runtime/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/runtime/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.teiid</groupId>
Modified: branches/7.6.x/test-integration/common/pom.xml
===================================================================
--- branches/7.6.x/test-integration/common/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/test-integration/common/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-test-integration</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>test-integration-common</artifactId>
Modified: branches/7.6.x/test-integration/db/pom.xml
===================================================================
--- branches/7.6.x/test-integration/db/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/test-integration/db/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -9,7 +9,7 @@
<parent>
<artifactId>teiid-test-integration</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: branches/7.6.x/test-integration/pom.xml
===================================================================
--- branches/7.6.x/test-integration/pom.xml 2011-11-29 14:45:39 UTC (rev 3704)
+++ branches/7.6.x/test-integration/pom.xml 2011-11-29 16:55:44 UTC (rev 3705)
@@ -3,7 +3,7 @@
<parent>
<artifactId>teiid-parent</artifactId>
<groupId>org.jboss.teiid</groupId>
- <version>7.6.0.CR2-SNAPSHOT</version>
+ <version>7.6.0.Final</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>teiid-test-integration</artifactId>
13 years
teiid SVN: r3704 - branches/7.6.x/build/kits/jboss-container/teiid-examples/simpleclient.
by teiid-commits@lists.jboss.org
Author: rareddy
Date: 2011-11-29 09:45:39 -0500 (Tue, 29 Nov 2011)
New Revision: 3704
Modified:
branches/7.6.x/build/kits/jboss-container/teiid-examples/simpleclient/run.bat
Log:
TEIID-1851: fixing the path for simple client
Modified: branches/7.6.x/build/kits/jboss-container/teiid-examples/simpleclient/run.bat
===================================================================
--- branches/7.6.x/build/kits/jboss-container/teiid-examples/simpleclient/run.bat 2011-11-28 20:04:04 UTC (rev 3703)
+++ branches/7.6.x/build/kits/jboss-container/teiid-examples/simpleclient/run.bat 2011-11-29 14:45:39 UTC (rev 3704)
@@ -2,7 +2,7 @@
set CLIENT_PATH=.
rem Second one adds the Teiid client
-set TEIID_PATH=../lib/teiid-${pom.version}-client.jar
+set TEIID_PATH=../../lib/teiid-${pom.version}-client.jar
java -cp %CLIENT_PATH%;%TEIID_PATH% JDBCClient %*
13 years