14.01.2013 Views

Oracle JHeadstart Developer's Guide - Downloads - Oracle

Oracle JHeadstart Developer's Guide - Downloads - Oracle

Oracle JHeadstart Developer's Guide - Downloads - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

11.2. Using Resource Bundle Type databaseTable<br />

11.2.1. Creating the Database Tables<br />

<strong>JHeadstart</strong> uses two database tables when property Resource Bundle Type is set to<br />

“databaseTable”. The structure of these tables is shown below.<br />

The JHS_LOCALES table contains entries for all supported locales, the<br />

JHS_TRANSLATIONS table contains all translatable strings.<br />

You need to create the above table structure in your own application database schema.<br />

You can do this by running the script JhsModelCreate.sql against the database<br />

connection of your application schema. This script is located in the scripts directory of<br />

your ViewController project. If you don’t see the scripts directory, make sure you click<br />

the Toggle Directories in the toolbar of the Application Navigator.<br />

You can right-mouse-click on the JhsModelCreate.sql, then choose Run in SQL*Plus, and<br />

then the database connection you want to run the script in.<br />

<strong>JHeadstart</strong> Developer’s <strong>Guide</strong> Internationalization 11- 5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!