Changes for page JDBC and Entity Modeler
Last modified by Theodore Petrosky on 2017/04/02 18:37
From version 22.1
edited by Lachlan Scott
on 2007/07/10 20:15
on 2007/07/10 20:15
Change comment:
There is no comment for this version
To version 25.1
edited by franc
on 2012/05/26 11:29
on 2012/05/26 11:29
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. lachlan_scott1 +XWiki.franc - Content
-
... ... @@ -4,24 +4,25 @@ 4 4 5 5 ==== **Discussion** ==== 6 6 7 -Either the JDBC driver genuinely cannot be found, or more likely perhaps, your JDBC settings in Entity Modeler are incorrect. On Mac OS X, if JDBC drivers are added to /Library/Java/Extensions they should be picked up automatically by Eclipse.7 +Either the JDBC driver genuinely cannot be found, or more likely perhaps, your JDBC settings in Entity Modeler are incorrect. 8 8 9 - ====**Solution-checkthat the JDBC driverisin your CLASSPATH:** ====9 +On Mac OS X, the /Library/Java/Extensions directory is provided for extensions to the core Java API, and is thus the appropriate place for JDBC drivers. 10 10 11 +Put your JDBC drivers into the /Library/Java/Extensions then, and they should be picked up automatically by Eclipse. 11 11 12 - \\\\13 +==== **Solution - check that your JDBC driver is in your CLASSPATH:** ==== 13 13 14 14 Check your classpath settings in Eclipse as follows: 15 - 16 +[[image:Checking_CLASSPATH.jpg||]] 16 16 17 17 * Right-click the project in Package Explorer 18 18 * Select Java Build Path from the left hand list, and Libraries from the tabs in the main field 19 -* Open the JRE System Library list, and you should see your available JDBC driver see screenshot 20 -* If you cannot see your driver listed, you must add it. instructions required 20 +* Open the JRE System Library list, and you should see your available JDBC driver (see screenshot) 21 +* If you cannot see your driver listed, you must add it. WOL:instructions required 21 21 22 22 ==== **Solution - check JDBC settings in Entity Modeler** ==== 23 23 24 -Check that the settings for your JDBC driver are correct .Detailsshould be provided by the suppliers. MySQL settings are shown in the screenshot see screenshot. Note that drivers have peculiar use ofupperandlowercase and that thesemust be correct for the driver to function.25 +Check that the settings for your JDBC driver are correct; these details are provided by the suppliers. MySQL settings are shown in the screenshot (see screenshot). Note that drivers have peculiar use of capitalization, and that //this must be correct// for the driver to function 25 25 26 26 [[image:JDBC_correct_settings_mysql.jpg||]] 27 27 ... ... @@ -28,6 +28,10 @@ 28 28 29 29 ==== List of JDBC driver settings ==== 30 30 32 +**Derby JDBC driver settings:** 33 +Embedded Derby, how is it done? 34 +How do you set property derby.system.home so Entity Modeler can be used? 35 + 31 31 **MySQL JDBC driver settings:** 32 32 33 33 URL: jdbc:mysql:~/~/<hostname>/<database//name>. eg. jdbc:mysql:~/~/localhost/authors ... ... @@ -36,5 +36,18 @@ 36 36 **OpenBase JDBC driver settings:** 37 37 38 38 URL: jdbc:openbase:~/~/<hostname>/<database//name>. eg. jdbc:openbase:~/~/localhost/authors 39 -Driver: com.openbase.jdbc.ObDriver 44 +Driver: com.openbase.jdbc.ObDriver// 45 + 46 +**FrontBase JDBC driver settings:** 47 + 48 +URL: jdbc:FrontBase:~/~/<hostname>/<database//name>. eg. jdbc:FrontBase:~/~/localhost/authors 49 +Driver: 40 40 \\// 51 + 52 +**Postgresql JDBC driver settings:** 53 +URL: jdbc:postgresql:~/~/<hostname>/<databasename> eg. jdbc:postgresql:~/~/localhost/authors 54 +Driver: org.postgresql.Driver 55 +Plugin: Postgresql 56 + 57 +**H2 JDBC driver settings:** 58 +URL: jdbc:h2:,,/<databasename>,,