[JBoss JIRA] Created: (TEIID-716) Connector Status can reported wrong or possibility of NPE
by Ramesh Reddy (JIRA)
Connector Status can reported wrong or possibility of NPE
---------------------------------------------------------
Key: TEIID-716
URL: https://jira.jboss.org/jira/browse/TEIID-716
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 6.1.0
Reporter: Ramesh Reddy
Assignee: Ramesh Reddy
Fix For: 6.2.0
The connector status through ConnectorManager object currently represented through Boolean and rest of the states are derived from that. That seems limited, the connector state should be correctly propagated from ConnectorManager. In the cases of user context based connection pooling under Connector, where connections are made based on individual user credentials it is not possible to check if the connection is alive. In this situation current code has bug that can be result in the NPE.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 6 months
[JBoss JIRA] Created: (TEIID-695) Equality comparison of JoinPredicate returns true even when JoinPredicate criteria is different
by Larry O'Leary (JIRA)
Equality comparison of JoinPredicate returns true even when JoinPredicate criteria is different
-----------------------------------------------------------------------------------------------
Key: TEIID-695
URL: https://jira.jboss.org/jira/browse/TEIID-695
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 6.0.0, 6.1.0, 6.2.0
Reporter: Larry O'Leary
Assignee: Steven Hawkins
Priority: Minor
Fix For: 6.2.0
When comparing the following command objects the commands evaluate as equal when performing c1.equals(c2) even though the criteria is different in the two commands:
c1 = SELECT bqt1.smalla.intkey, bqt1.smallb.intkey, bqt1.smalla.intnum, bqt1.smallb.intnum FROM bqt1.smalla LEFT OUTER JOIN bqt1.smallb ON bqt1.smalla.intkey = bqt1.smallb.intkey AND bqt1.smallb.intnum = 1
c2 = SELECT bqt1.smalla.intkey, bqt1.smallb.intkey, bqt1.smalla.intnum, bqt1.smallb.intnum FROM bqt1.smalla LEFT OUTER JOIN bqt1.smallb ON bqt1.smalla.intkey = bqt1.smallb.intkey
This is due to the method com.metamatrix.query.sql.lang.JoinPredicate.equals(Object obj) referencing itself when getting the criteria from itself and the obj being passed in:
...
List thisCrit = this.getJoinCriteria();
...
List otherCrit = this.getJoinCriteria();
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 6 months
[JBoss JIRA] Created: (TEIID-701) Provide a single JDBC driver for "embedded" and "server" configurations
by Ramesh Reddy (JIRA)
Provide a single JDBC driver for "embedded" and "server" configurations
-----------------------------------------------------------------------
Key: TEIID-701
URL: https://jira.jboss.org/jira/browse/TEIID-701
Project: Teiid
Issue Type: Task
Components: JDBC Driver
Reporter: Ramesh Reddy
Fix For: 6.2.0
Currently there are separate JDBC drivers for
Embedded --> com.metamatrix.jdbc.EmbeddedDriver
Server --> org.teiid.jdbc.TeiidDriver
Combine the EmbeddedDriver functionality into TeiidDriver. Based on its URL format differentiate which runtime user wants to use. The URLs for runtimes are as follows
Embedded ---> jdbc:metamatrix:<vdb-name>@<path-to>/deploy.properties;<additional-properties>
Server ---> jdbc:teiid:<vdb-name>@mm://<host-name>:<port>;<additional-properties>
1) Deprecate EmbeddedDriver
2) Make embedded URL format to work with " jdbc:teiid:<vdb-name>@<path-to>/deploy.properties;<additional-properties>" (note s/mematrix/teiid/)
3) Make the TeiidDriver the only driver.
Investigate if EmbeddedDataSource and TeiidDataSource can be combined, if true follow the same path.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 6 months