Skip to main content

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.

Jump to: navigation, search

Scout/Tutorial/3.7/Minicrm/Set up SQL Service

< Scout‎ | Tutorial‎ | 3.7
Revision as of 05:38, 8 October 2010 by Asc.bsiag.com (Talk | contribs) (a step of the tutorial moved to a separate page.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Note.png
Scout Tutorial
This page belongs to the Minicrm Step-by-Step Tutorial. It explains how setup a new Eclipse Scout project. You need to have a bare-bones The Scout documentation has been moved to https://eclipsescout.github.io/. in order to continue.


Create a new AbstractDerbySqlService

Go to the server node and open the tree, drill down until Sql Services below Common Services and right click in order to open the wizard to create a new SQL service.
SqlServiceWizard.jpg


Name your new service DerbySqlService and choose AbstractDerbySqlService from the combobox Super Type then click finish.
Newsqlservice.jpg


If the Super Type AbstractDerbySqlService doesn't appear within the combobox, you need to organize your server project's plugin.xml. Go to the Java Perspective, double click on the server project, open the plugin.xml and in the box Required Plug-Ins add the plug-in org.eclipse.scout.rt.jdbc.derby. If the Super Type still does not appear, make sure that the derby.jar is in the lib folder of the Java installation. You can get this library directly from Apache Derby.
Serverplugin.jpg


Change default configuration settings

Adjust the default settings in your DerbySqlService by editing the Jdbc Mapping Name, this should point to the folder where you unzipped the DerbyDb to. As username/password use minicrm/minicrm.
Derbydb.jpg

Copyright © Eclipse Foundation, Inc. All Rights Reserved.