[JBoss JIRA] (TEIID-1838) Change to source model connection through AdminApi using assignToModel() does not reflect in jdbc queries to that source model
by Ramesh Reddy (Created) (JIRA)
Change to source model connection through AdminApi using assignToModel() does not reflect in jdbc queries to that source model
------------------------------------------------------------------------------------------------------------------------------
Key: TEIID-1838
URL: https://issues.jboss.org/browse/TEIID-1838
Project: Teiid
Issue Type: Bug
Components: AdminApi
Affects Versions: 7.5
Environment: Windows server 2008 R2, JBoss 5.1
Reporter: Farrukh Ihtisham
Assignee: Ramesh Reddy
Fix For: 7.6
When source model's connection is changed using following adminapi code;
AdminFactory adminFactory = AdminFactory.getInstance();
Admin admin = adminFactory.createAdmin("admin", "admin".toCharArray(), "mms://localhost:31443");
admin.assignToModel("Sample", 1, "SQLSourceA", "SQLSourceA", "sqlserver", "SQLSourceA_2");
Any jdbc query result would still be from the old data source. However when verified using following adminapi code;
VDB vdb = admin.getVDB("sample", 1);
Model m = vdb.getModel("SQLSourceA");
String jndiName = m.getSourceConnectionJndiName("SQLSourceA");
The jndiName shows that the connection is successfully updated.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (TEIID-2051) Translator Overrides panel appears to have 2 properties mixed up
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2051?page=com.atlassian.jira.plugin... ]
Steven Hawkins updated TEIID-2051:
----------------------------------
Fix Version/s: 7.7.1
Assignee: Steven Hawkins
> Translator Overrides panel appears to have 2 properties mixed up
> ----------------------------------------------------------------
>
> Key: TEIID-2051
> URL: https://issues.jboss.org/browse/TEIID-2051
> Project: Teiid
> Issue Type: Bug
> Components: Connector API
> Affects Versions: 7.7
> Reporter: Van Halbert
> Assignee: Steven Hawkins
> Fix For: 7.7.1, 8.1
>
> Attachments: Screen Shot 2012-05-16 at 9.38.05 AM.png
>
>
> I've attached a screen shot that includes the Translator Overrides panel from Designer and a section of the code from the implemented ExecutionFactory that's setting MaxInCriteriaSize and MaxDependentInPredicates.
> And looking at the overrides panel, it appears there's a couple of issues (correct me if I'm wrong):
> - the values for "Max number of IN predicate entries and Max number of dependent values ....." are swapped
> - the title for "Max number of dependent values across all IN predicates", appears to be incorrect as to how its applied? Isn't that value applied for each IN predicate? So if "Max number of IN predicates" is 2, and "Max number of dependent values..." is 1000, then a 1000 for each IN predicate (or a total of 2000 max) will be allowed. Is that correct?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years