traceDirectory=path attribute
Derby Reference Manual
349
Language Code
Description
ja
Japanese
To see a full list of ISO-639 codes, go to
.
Country codes consist of two uppercase letters that conform to ISO-3166. The following
table shows some examples.
Table 130.
Sample country codes
Country Code
Description
DE
Germany
US
United States
ES
Spain
MX
Mexico
JP
Japan
A copy of ISO-3166 can be found at
Combining with other attributes
The territory attribute is used only when creating a database.
In the following example, the new database has a territory of Spanish language and
Mexican nationality.
jdbc:derby:MexicanDB;create=true;territory=es_MX
You can use the
territory
attribute to specify that
collation is based on the territory instead of based on Unicode codepoint collation,
traceDirectory=path attribute
Function
Specifies a directory to which the Derby Network Client will send JDBC trace information.
If the program or session has multiple connections, the Network Client creates a separate
file for each connection. By default, the files are named
_driver_0
,
_driver_1
, and so
on. Use the
attribute to specify a file name for the trace file.
If the directory does not exist, Derby issues an error message. If you do not specify an
absolute path name, the directory is assumed to be relative to the current directory.
For more information about tracing, see "Network client tracing" in the Derby Server and
Administration Guide. See traceFile=path,
, and
for other attributes related to tracing.
Combining with other attributes
You can combine this attribute with other attributes.
Examples
-- enable tracing on an existing database that will have multiple
connections
jdbc:derby://localhost:1527/mydb;traceDirectory=/home/mydir/mydbtracedir