Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Scout/Tutorial/3.7/Database Development Perspective"
(→Configure the Database Development View) |
|||
Line 2: | Line 2: | ||
=Configure the Database Development View = | =Configure the Database Development View = | ||
+ | |||
+ | ==Install Database Development== | ||
+ | If you have not yet installed the database development package use menu ''Help'' and then ''Install New Software...''. | ||
+ | |||
+ | On Install dialog fill the ''Work with'' drop-down list with ''--All Available Sites--'' and tick the checkbox ''Database Development'' | ||
+ | <br/>[[Image:Db_1a.png|left]]<br clear="all" /> | ||
+ | |||
==Add new Derby Connection== | ==Add new Derby Connection== | ||
Open the ''Database Development'' perspective, right click on ''Database Connections'' and call the wizard for adding a new database connection by clicking on the context menu ''New...''.<br/>[[Image:Db_1.png|left]]<br clear="all" /> | Open the ''Database Development'' perspective, right click on ''Database Connections'' and call the wizard for adding a new database connection by clicking on the context menu ''New...''.<br/>[[Image:Db_1.png|left]]<br clear="all" /> |
Revision as of 04:30, 24 February 2011
The Scout documentation has been moved to https://eclipsescout.github.io/.
Contents
Configure the Database Development View
Install Database Development
If you have not yet installed the database development package use menu Help and then Install New Software....
On Install dialog fill the Work with drop-down list with --All Available Sites-- and tick the checkbox Database Development
Add new Derby Connection
Open the Database Development perspective, right click on Database Connections and call the wizard for adding a new database connection by clicking on the context menu New....From the list of available connection profiles, choose Derby.
Specify Driver Details
Open the driver deteail editor by clicking on the round icon to the right of the Drivers combobox.
Choose the embedded derby driver for version 10.2.
Go to the tab Jar List and there specify the location of the derby.jar. If you don't have any, download it (from the official derby website: http://db.apache.org/derby/, it's inside the zip file) or download the TutorialMiniCrmWorkspaceDerbyDB and click on ok to leave this page.
Add the path to your DerbyDb along with the login data (for the minicrm: minicrm/minicrm).
When you have entered all the required data, click on Test connection in order to test the connection details you just entered. If everything is fine there will be a message box Ping succeeded.
Now you can browse through the DerbyDB, modify tables, data, run statements and much more. Please be aware that you cannot have more than one connection to your DerbyDb, therefore either you browse through it in the database development view or you access it using the minicrm, therefore you need to manually disconnect from the database before you can run your application.