[
https://jira.jboss.org/jira/browse/TEIID-725?page=com.atlassian.jira.plug...
]
Ramesh Reddy resolved TEIID-725.
--------------------------------
Resolution: Done
Added the same approach as the derby, where upon passing the "shutdown=true"
property on the URL, the connection makes sure that the user is authorized to do shutdown,
if he/she is authorized then goes ahead with shutdown of previous instance of
"embedded". If not authorized then a exception is thrown with the reason.
Even on the successful "shutdown" a SQLException with status code
"00000" (success) is thrown, and this can be safely ignored.
Provide a mechanism to shutdown teiid embedded
----------------------------------------------
Key: TEIID-725
URL:
https://jira.jboss.org/jira/browse/TEIID-725
Project: Teiid
Issue Type: Feature Request
Components: Embedded
Affects Versions: 6.0.0
Reporter: Steven Hawkins
Assignee: Ramesh Reddy
Fix For: 6.2.0
We should introduce a way to fully shutdown embedded. This is useful for
deploy.properties or other system resource changes not performed through adminapi to take
effect.
Derby's approach:
http://db.apache.org/derby/papers/DerbyTut/embedded_intro.html#shutdown
--
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