TrabalhosGratuitos.com - Trabalhos, Monografias, Artigos, Exames, Resumos de livros, Dissertações
Pesquisar

Desbloquear a conta Amostra Usuário

Seminário: Desbloquear a conta Amostra Usuário. Pesquise 862.000+ trabalhos acadêmicos

Por:   •  25/10/2013  •  Seminário  •  2.066 Palavras (9 Páginas)  •  357 Visualizações

Página 1 de 9

2 Unlocking the Sample User Account

To create your application, you need to log in as a database user. Oracle Database XE comes with a sample database user called HR. This user owns a number of database tables in a sample schema that can be used to create applications for a fictional Human Resources department. However, for security reasons, this user's account is locked. You need to unlock this account before you can build a sample application.

To unlock the sample user account:

1.

Make sure you are still logged on as the database administrator, as described in the previous section.

2.

Click the Administration icon, and then click Database Users.

3.

Click the HR schema icon to display the user information for HR.

Description of the illustration gs_hr_icon.gif

4.

Under Manage Database User, enter the following settings:

Password and Confirm Password: Enter hr for the password.

Account Status: Select Unlocked.

Roles: Ensure that both CONNECT and RESOURCE are enabled.

5.

Click Alter User.

Now you are ready to create your first application.

3 Logging in as the Sample User Account

To log in as the sample user account:

1.

Log out from the database administrator account by clicking Logout in the upper right corner of the Database Home Page.

2.

In the window, click Login.

3.

In the Login window, enter hr for both the user name and password.

4.

Click Login.

The Database Home Page appears.

4 Creating a Simple Application

Creating an application is an easy way to view and edit your database data. You create this application based on the EMPLOYEES table, which is part of the HR schema.

To create an application based on the EMPLOYEES table:

1.

On the Database Home Page, click the Application Builder icon.

2.

Click the Create button.

3.

Under Create Application, select Create Application and click Next.

4.

Under Create Application:

a.

Name: Enter MyApp.

b.

Accept the remaining defaults.

c.

Click Next.

Next, add pages to your application.

5.

Under Add Page:

a.

For Select Page Type, select Report and Form.

Description of the illustration gs_report_and_form.gif

Notice that Action describes the type of page you are adding.

b.

Next to the Table Name field, click the up arrow, and then select EMPLOYEES from the Search Dialog window.

c.

Click Add Page.

Two new pages display at the top of the page, under Create Application.

Description of the illustration gs_two_new_pages.gif

d.

Click Next.

6.

On the Tabs panel, accept the default (One Level of Tabs) and click Next.

7.

On the Shared Components panel, accept the default (No) and click Next.

This option enables you to import shared components from another application. Shared components are common elements that can display or be applied on any page within an application.

8.

For Authentication Scheme, Language, and User Language Preference Derived From, accept the defaults and click Next.

9.

For the theme, select Theme 2 click Next.

Themes are collections of templates that you can use to define the layout and style of an entire application.

10.

Confirm your selections. To return to a previous wizard page, click Previous. To accept your selections, click Create.

After you click Create, the following message displays at the top of the page:

Application created successfully.

5 Running Your New Application

To

...

Baixar como (para membros premium)  txt (13.6 Kb)  
Continuar por mais 8 páginas »
Disponível apenas no TrabalhosGratuitos.com