Name |
Name of the database
description. For information only. |
RDBMS |
Name of the Relational
Database Management System (read only) |
Data access |
Specifies which driver will be used
to access the RDBMS
Through local driver:
JSP, Servlet: Netsilon stores
a jdbc driver in the generated web application and the scripts use it. The driver
to use is described by the properties below.
Through application server:
PHP: the generated scripts
always use the driver provided by the PHP application server
JSP, Servlet: the generated scripts
use the driver specified in the configuration of the application server. JNDI is used to find this driver. |
Class name of the jdbc
driver |
JSP,
Servlet: Java class name of the jdbc driver
used in the generated web application.
MySQL: defaults
to org.gjt.mm.mysql.Driver
Oracle:
defaults to oracle.jdbc.driver.OracleDriver |
Path to the driver
library |
JSP,
Servlet: Path to the java library that
contains the jdbc driver used in the generated web application. This
driver will be transferred in the directory Web-inf/lib
during generation.
MySQL: defaults
to <installpath>/mysql.jar
Oracle:
defaults to <installpath>/oracle12.jar
The pattern <installpath> refers to the
folder where Netsilon is installed.
The pattern <projectpath> refers to the
project folder. |
Transactions |
None: Netsilon does not emit
transaction related instructions
Local transactions: each dynamic page is executed in a transaction.
However, the target RDBMS must support transactions if this option is selected
(until recently MySQL
did not support transactions). Transaction support in
PHP is partial since Netsilon can not catch exceptions in PHP.
Distributed transactions:
JSP, Servlet: when data access
is done through the application server, this option can be selected in order to
execute each dynamic page in distributed transactions. If distributed transactions
are under the control of the application server, None may preferably be selected. |
Database or sid |
MySQL:
name of the database created by the system administrator
Oracle: sid of
the database created by the system administrator |
Prefix all tables with |
If not empty, all table
names created and managed by Netsilon are prefixed with this string.
During deployment, Netsilon reads the current database schema and
modifies incrementally this schema to apply modifications done in
the business model. If the prefix is empty, all tables not managed
by Netsilon will be deleted. If the prefix is not empty, every
tables whose name does not start with the prefix are left untouched
by Netsilon. |
DB access in the IDE
Server Name |
Name of the server on
which runs the RDBMS when Netsilon communicates with it.
MySQL: for
example: stagingMySQL
Oracle: for
example: stagingOracle:1521 |
DB access in the IDE
User |
Name of the user able to
modify the database schema and contents when Netsilon communicates
with the server. |
DB access in the IDE
Password |
Password of the user able
to modify the database schema and contents when Netsilon
communicates with the server. |
DB access in the
generated scripts
Server Name ( sid ) |
PHP:
Name or sid of the server on which runs the RDBMS when the generated
web application communicates with it.
MySQL: host
name, for example: localhost
Oracle: sid
name, for example: TESTDB
JSP, Servet:
jdbc or jndi connection string to the server on which runs the RDBMS RDBMS
when the generated web application communicates with it.
MySQL: for
example: jdbc:mysql://localhost/stagingMySQL
Oracle: for
example: jdbc:oracle:thin:@stagingOracle:1521:TESTDB |
DB access in the
generated scripts
Roles |
A list of named roles that identify the user
able to modify the database contents when the generated application communicates with
the server. Generally there should only be one role, the default role. If more
roles are defined, the generated application can programmatically switch from one role
to the other. In fact, the current connection to the database is closed and a new one
is opened with the new role. Use operation setDatabaseRole from class System
to switch roles. If roles are used, all database that identifies the same one in every
deployment site should have the same name.
A role is defined by:
its name: identifies the role in the setDatabaseRole operation
a user name: the name of the user able to modify the database contents when the
generated application communicates with the server
a password: password of the user able to modify the database contents when the
generated web application communicates with the server.
|