Upload
others
View
7
Download
0
Embed Size (px)
Citation preview
Sun Confidential: Internal Only 1
SOA/BI
Data Management
Import/Export feature for NetBeans
Data Management New feature proposed and discussed in this document
Import Data✔ Import Data from a File into a Relational Database Table✔ Import Data and table a relational database into another database
Export Data✔ Export Data Table from a Relational DB into a file✔ Export Data Table from a Relational DB into another Database
File here refers to file types like fixed width, csv, spreadsheets, XML, RSS and HTML file types.
All the features would be enabled from Netbeans database explorer perspective on Netbeans IDE.
IMPORT DATA TABLE
IMPORT FILE DATA INTO A
RELATIONAL TABLE
User calls the Import Tables actionfrom Netbeans DB Explorer
Import Table Action Call
Selecting Import Data Source
User selects source of datafor importing as a table.
Appropriate description isdisplayed to assist selection.
File Source selected here.
Select File Source for Importing as Table
File Selected for Import
ENTER DETAILS OF TABLE TO IMPORT
User Selectsthe table name for
imported data table.
Default is File name selected
Wizard senses the type of file selected as table type
DEFINE METADATA FOR FILE DATA BEING IMPORTED
User previews the file contents
and selects various parameters required toparse the file selected
for import
ENTER COLUMN PROPERTIS
User previews the file `selected been manifested
as a relational table.
User can rename columns and can change other table
related properties.
User can also change dataselected in the preview panel
if required
DATABASE VIEW OF FILE IMPORTED
File Imported as Table.
User queries the filedata using Netbeans
standard SQL interface
IMPORT DATA TABLE
IMPORT A DATABASE TABELFROM
ANOTHER DATABASE
User calls the Import Tables actionfrom Netbeans DB Explorer.
Attempts to import some table into Oracle database
Import Table Action Call
Selecting Import Data Source
User selects source of datafor importing as a table.
Appropriate description isdisplayed to assist selection.
Database Table Source selected here.
SELECT RELATIONAL TABLE TO IMPORT
User Selects Table(s)from listed database schema.
Database should be added intoNetbeans database explorer
Here user selects MySQL tables andattempts to import it into Oracle DB
DATABASE VIEW OF TABLE IMPORTED
MySQL table imported into Oracle.
Imported table being querieswith standard Netbeans
SQL interface.
EXPORT DATA TABLE
EXPORT A DATABASE TABELINTO
A FILE
SELECT DATABASE TABLE TO BE EXPORTED
User Selectsto EXPORT
ACCOUNTHOLDERtable from Oracle
Database
SELECT EXPORT OPTION
User may opt to export data into a file or
a database table.
File export option selected here.
Select Type of File to export Table Data
Select Type of fileto export selected table
CSV selected in this case
Select File Properties for the selected file option
This is a dynamic panelthat allows user to select
file property.
This changes based on file type selected
Exported Data File
Exported Data
EXPORT DATA TABLE
EXPORT A DATABASE TABELINTO
ANOTHER DATABASE
SELECT DATABASE TABLE TO BE EXPORTED
User Selectsto EXPORT
ACCOUNTHOLDERtable from Oracle
Database
SELECT EXPORT OPTION
Export toDatabase selected
Select Database to Export the Table
User provides the targetdatabase connection
properties.
MySQL database selected.
Default table name is sourcetable name. User may change
this here.
View of Exported Table
Oracle Table Exported
in MySQL Database