[CONJ-428] Have a MariaDbConnection.ping method to permit JBOSS connection validation Created: 2017-02-09 Updated: 2017-02-09 Resolved: 2017-02-09 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | Other |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Trivial |
| Reporter: | Diego Dupin | Assignee: | Diego Dupin |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Description |
|
JBOSS has 2 differents connection validation method :
This validation checker use reflect to check if connection has a "ping" method. if not execute a "SELECT 1" command. |
| Comments |
| Comment by Diego Dupin [ 2017-02-09 ] |
|
cannot be done with MySQLValidConnectionChecker (example : http://grepcode.com/file/repository.jboss.org/nexus/content/repositories/releases/org.jboss.jbossas/jboss-as-connector/6.1.0.Final/org/jboss/resource/adapter/jdbc/vendor/MySQLValidConnectionChecker.java) since using MySQL driver path |