Brian Fitzpatrick [
http://community.jboss.org/people/bfitzpat] replied to the discussion
"Driver Definition/JDBC driver"
To view the discussion, visit:
http://community.jboss.org/message/552417#552417
--------------------------------------------------------------
Easiest way to get the particular values you're looking for is to look at the
enablement plug-ins for those databases...
For MySQL, look at org.eclipse.datatools.enablement.mysql in the plugin.xml for the
"org.eclipse.datatools.connectivity.driverExtension" extension point. You'll
see there are actually multiple driver definitions listed... one per version... 4.0, 4.1,
5.0, 5.1.
In the 5.1 case, the "special sauce" you're looking for is the driver
template ID - org.eclipse.datatools.enablement.mysql.5_1.driverTemplate. The rest stays
the same like the Derby case.
For MS SQL, look at the org.eclipse.datatools.enablement.msft.sqlserver plug-in.
For postgres, look at org.eclipse.datatools.enablement.postgresql...
And so on.
You'll have to override all the templates you're interested in (including the
various vendor/version combinations) to include appropriate jars where they're
needed.
Hope that helps!
--Fitz
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/552417#552417]
Start a new discussion in JBoss Tools at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]