提交 cc5b37eb authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 9ddb5d5f
......@@ -107,7 +107,7 @@ This database supports the following transaction isolation levels:
</p>
<ul>
<li><b>Read Committed</b><br />
This is the default level.
This is the default level.
Read locks are released immediately.
Higher concurrency is possible when using this level.<br />
To enable, execute the SQL statement 'SET LOCK_MODE 3'<br />
......@@ -640,7 +640,7 @@ This method does not require a watchdog thread actively polling (reading) the sa
file every second. The problem with this method is, if the file is stored on a network
share, two processes (running on different computers) could still open the same
database files, if they do not have a direct TCP/IP connection.
<p>
</p>
<br /><a name="sql_injection"></a>
<h2>Protection against SQL Injection</h2>
......@@ -649,16 +649,20 @@ database files, if they do not have a direct TCP/IP connection.
This database engine provides a solution for the security vulnerability known as 'SQL Injection'.
Here is a short description of what SQL injection means.
Some applications build SQL statements with embedded user input such as:
</p>
<pre>
String sql = "SELECT * FROM USERS WHERE PASSWORD='"+pwd+"'";
ResultSet rs = conn.createStatement().executeQuery(sql);
</pre>
<p>
If this mechanism is used anywhere in the application, and user input is not correctly filtered or encoded,
it is possible for a user to inject SQL functionality or statements by using specially built input
such as (in this example) this password: ' OR ''='. In this case the statement becomes:
</p>
<pre>
SELECT * FROM USERS WHERE PASSWORD='' OR ''='';
</pre>
<p>
Which is always true no matter what the password stored in the database is.
For more information about SQL Injection, see Glossary and Links.
</p>
......@@ -667,18 +671,22 @@ For more information about SQL Injection, see Glossary and Links.
<p>
SQL Injection is not possible if user input is not directly embedded in SQL statements.
A simple solution for the problem above is to use a PreparedStatement:
</p>
<pre>
String sql = "SELECT * FROM USERS WHERE PASSWORD=?";
PreparedStatement prep = conn.prepareStatement(sql);
prep.setString(1, pwd);
ResultSet rs = prep.executeQuery();
</pre>
<p>
This database provides a way to enforce usage of parameters when passing user input
to the database. This is done by disabling embedded literals in SQL statements.
To do this, execute the statement:
</p>
<pre>
SET ALLOW_LITERALS NONE;
</pre>
<p>
Afterwards, SQL statements with text and number literals are not allowed any more.
That means, SQL statement of the form WHERE NAME='abc' or WHERE CustomerId=10 will fail.
It is still possible to use PreparedStatements and parameters as described above. Also, it is still possible to generate
......@@ -695,12 +703,14 @@ Disabling literals also means disabling hard-coded 'constant' literals. This dat
defining constants using the CREATE CONSTANT command. Constants can be defined only
when literals are enabled, but used even when literals are disabled. To avoid name clashes
with column names, constants can be defined in other schemas:
</p>
<pre>
CREATE SCHEMA CONST AUTHORIZATION SA;
CREATE CONSTANT CONST.ACTIVE VALUE 'Active';
CREATE CONSTANT CONST.INACTIVE VALUE 'Inactive';
SELECT * FROM USERS WHERE TYPE=CONST.ACTIVE;
</pre>
<p>
Even when literals are enabled, it is better to use constants instead
of hard-coded number or text literals in queries or views. With constants, typos are found at compile
time, the source code is easier to understand and change.
......@@ -709,10 +719,10 @@ time, the source code is easier to understand and change.
<h3>Using the ZERO() Function</h3>
<p>
It is not required to create a constant for the number 0 as there is already a built-in function ZERO():
</p>
<pre>
SELECT * FROM USERS WHERE LENGTH(PASSWORD)=ZERO();
</pre>
</p>
<br /><a name="security_protocols"></a>
<h2>Security Protocols</h2>
......
......@@ -31,6 +31,8 @@ Frequently Asked Questions
Is it Reliable?</a><br />
<a href="#gcj">
Is the GCJ version stable? Faster?</a><br />
<a href="#translate">
How to Translate this Project?</a><br />
<br /><a name="known_bugs"></a>
<h3>Are there any known bugs? When is the next release?</h3>
......@@ -151,4 +153,15 @@ Currently, the GCJ version is also slower than when using the Sun VM.
However, the startup of the GCJ version is faster than when using a VM.
</p>
<br /><a name="translate"></a>
<h3>How to Translate this Project?</h3>
<p>
The following files can be translated at the moment:
<pre>
src/main/org/h2/server/web/res/_text_*.properties
src/main/org/h2/res/_messages_*.properties
src/docsrc/text/_docs_*.utf8.txt
</pre>
</p>
</div></td></tr></table></body></html>
\ No newline at end of file
......@@ -41,21 +41,21 @@ Hypersonic SQL or HSQLDB. H2 is built from scratch.
<h3>Version 1.0 / TODO (Build xx)</h3><ul>
<li>Improved error messages: some tools can't show the root cause of an exception.
Adding the message of the root cause to the message of the thrown exception now where it makes sense.
Adding the message of the root cause to the message of the thrown exception now where it makes sense.
</li><li>The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context,
(for example javax.naming.InitialContext), and the URL the resource name (for example java:comp/env/jdbc/Test).
This should also work for linked tables.
(for example javax.naming.InitialContext), and the URL the resource name (for example java:comp/env/jdbc/Test).
This should also work for linked tables.
</li><li>Google translate did not work for the H2 homepage. It should be fixed now.
</li><li>The CONVERT function did not work with views when using UNION.
</li><li>The build now issues a warning if the source code is switched to the wrong version.
</li><li>The default lock mode is now read committed instead of serialized.
</li><li>PG server: data was truncated when reading large VARCHAR columns and decimal columns.
</li><li>PG server: when the same database was accessed multiple times using the PostgreSQL ODBC driver,
the pg_catalog schema update failed, and connecting to the database was not possible. Fixed.
the pg_catalog schema update failed, and connecting to the database was not possible. Fixed.
</li><li>Some file operations didn't work for files in the root directory. Fixed.
</li><li>In the Restore tool, the parameter -file did not work. Fixed.
</li><li>Two-phase commit: commit with transaction name was only supported in the recovery scan.
Now it is always supported.
Now it is always supported.
</li><li>The column name C_CURRENT_TIMESTAMP did not work in the last release.
</li><li>OpenOffice compatibility: support database name in column names.
</li></ul>
......@@ -1119,7 +1119,7 @@ Hypersonic SQL or HSQLDB. H2 is built from scratch.
</li><li>Access rights: Finer grained access control (grant access for specific functions)
</li><li>Support N'text'
</li><li>Support SCOPE_IDENTITY() to avoid problems when inserting rows in a trigger
</li><li>Support DESCRIPT like MySQL or Oracle (DESC[RIBE] {[schema.]object[@connect_identifier]})
</li><li>Support DESCRIBE like MySQL or Oracle (DESC|DESCRIBE {[schema.]object[@connect_identifier]})
</li></ul>
<h3>Not Planned</h3>
......
......@@ -14,10 +14,10 @@ function loadFrameset() {
}
function frameMe(frame) {
if(location.host.indexOf('h2database') < 0) {
// allow translation
return;
}
if(location.host.indexOf('h2database') < 0) {
// allow translation
return;
}
var frameset = "frame.html"; // name of the frameset page
if(frame == null) {
frame = 'main';
......
......@@ -1171,129 +1171,138 @@ Mit Maven 2
@faq_1009_a
#Is the GCJ version stable? Faster?
@faq_1010_h3
@faq_1010_a
#How to Translate this Project?
@faq_1011_h3
#Are there any known bugs? When is the next release?
@faq_1011_p
@faq_1012_p
#Usually, bugs get fixes as they are found. There is a release every few weeks. Here is the list of known and confirmed issues as of 2007-08-02:
@faq_1012_li
@faq_1013_li
#Some problems have been found with right outer join. Internally, it is converted to left outer join, which does not always produce the same results as other databases when used in combination with other joins.
@faq_1013_h3
@faq_1014_h3
#Is this Database Engine Open Source?
@faq_1014_p
@faq_1015_p
#Yes. It is free to use and distribute, and the source code is included. See also under license.
@faq_1015_h3
@faq_1016_h3
#My query is slow
@faq_1016_p
@faq_1017_p
#Slow SELECT (or DELETE, UPDATE, MERGE) statement can have multiple reasons. Follow this checklist:
@faq_1017_li
@faq_1018_li
#Run ANALYSE (see documentation for details).
@faq_1018_li
@faq_1019_li
#Run the query with EXPLAIN and check if indexes are used (see documentation for details).
@faq_1019_li
@faq_1020_li
#If required, create additional indexes and try again using ANALYZE and EXPLAIN.
@faq_1020_li
@faq_1021_li
#If it doesn't help please report the problem.
@faq_1021_h3
@faq_1022_h3
#How to Create a New Database?
@faq_1022_p
@faq_1023_p
#By default, a new database is automatically created if it does not yet exist.
@faq_1023_h3
@faq_1024_h3
#How to Connect to a Database?
@faq_1024_p
@faq_1025_p
#The database driver is <code>org.h2.Driver</code> , and the database URL starts with <code>jdbc:h2:</code> . To connect to a database using JDBC, use the following code:
@faq_1025_h3
@faq_1026_h3
#Where are the Database Files Stored?
@faq_1026_p
@faq_1027_p
#When using database URLs like jdbc:h2:~/test, the database is stored in the user directory. For Windows, this is usually C:\Documents and Settings\&lt;userName&gt;. If the base directory is not set (as in jdbc:h2:test), the database files are stored in the directory where the application is started (the current working directory). When using the H2 Console application from the start menu, this is [Installation Directory]/bin. The base directory can be set in the database URL. A fixed or relative path can be used. When using the URL jdbc:h2:file:data/sample, the database is stored in the directory data (relative to the current working directory). The directory must exist. It is also possible to use the fully qualified directory (and for Windows, drive) name. Example: jdbc:h2:file:C:/data/test
@faq_1027_h3
@faq_1028_h3
#What is the Size Limit (maximum size) of a Database?
@faq_1028_p
@faq_1029_p
#The theoretical limit is currently 256 GB for the data. This number is excluding BLOB and CLOB data: Every CLOB or BLOB can be up to 256 GB as well. The size limit of the index data is 256 GB as well.
@faq_1029_p
@faq_1030_p
#The maximum file size for FAT or FAT32 file systems is 4 GB. So if you use FAT or FAT32, the limit is 4 GB for the data.
@faq_1030_h3
@faq_1031_h3
#Is it Reliable?
@faq_1031_p
@faq_1032_p
#That is not easy to say. It is still a quite new product. A lot of tests have been written, and the code coverage of these tests is very high. Randomized stress tests are run regularly. But as this is a relatively new product, there are probably some problems that have not yet been found. Areas that are not 100% tested:
@faq_1032_li
@faq_1033_li
#Platforms other than Windows XP and the Sun JVM 1.4 and 1.5
@faq_1033_li
@faq_1034_li
#Data types BLOB, CLOB, VARCHAR_IGNORECASE, OTHER
@faq_1034_li
@faq_1035_li
#Cluster mode, 2-Phase Commit, Savepoints
@faq_1035_li
@faq_1036_li
#Server mode (well tested, but not as well as Embedded mode)
@faq_1036_li
@faq_1037_li
#Multi-Threading and using multiple connections
@faq_1037_li
@faq_1038_li
#Updatable result sets
@faq_1038_li
@faq_1039_li
#Referential integrity and check constraints, Triggers
@faq_1039_li
@faq_1040_li
#ALTER TABLE statements, Views, Linked Tables, Schema, UNION
@faq_1040_li
@faq_1041_li
#Not all built-in functions are completely tested
@faq_1041_li
@faq_1042_li
#The Optimizer may not always select the best plan
@faq_1042_li
@faq_1043_li
#24/7 operation and large databases (500 MB and up)
@faq_1043_li
@faq_1044_li
#Wide indexes with large VARCHAR or VARBINARY columns and / or with a lot of columns
@faq_1044_p
@faq_1045_p
#Areas considered Experimental:
@faq_1045_li
@faq_1046_li
#ODBC driver and the GCJ native version on Windows
@faq_1046_li
@faq_1047_li
#Linear Hash Index
@faq_1047_li
@faq_1048_li
#Compatibility modes for other databases (only some features are implemented)
@faq_1048_li
@faq_1049_li
#The ARRAY data type and related functionality.
@faq_1049_h3
@faq_1050_h3
#Is the GCJ version stable? Faster?
@faq_1050_p
@faq_1051_p
#The GCJ version is not as stable as the Java version. When running the regression test with the GCJ version, sometimes the application just stops at what seems to be a random point without error message. Currently, the GCJ version is also slower than when using the Sun VM. However, the startup of the GCJ version is faster than when using a VM.
@faq_1052_h3
#How to Translate this Project?
@faq_1053_p
#The following files can be translated at the moment:
@features_1000_h1
#Features
......@@ -2750,10 +2759,10 @@ Mit Maven 2
#Version 1.0 / TODO (Build xx)
@history_1010_li
#Improved error messages: some tools can't show the root cause of an exception. Adding the message of the root cause to the message of the thrown exception now where it makes sense.
#Improved error messages: some tools can't show the root cause of an exception. Adding the message of the root cause to the message of the thrown exception now where it makes sense.
@history_1011_li
#The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context, (for example javax.naming.InitialContext), and the URL the resource name (for example java:comp/env/jdbc/Test). This should also work for linked tables.
#The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context, (for example javax.naming.InitialContext), and the URL the resource name (for example java:comp/env/jdbc/Test). This should also work for linked tables.
@history_1012_li
#Google translate did not work for the H2 homepage. It should be fixed now.
......@@ -2771,7 +2780,7 @@ Mit Maven 2
#PG server: data was truncated when reading large VARCHAR columns and decimal columns.
@history_1017_li
#PG server: when the same database was accessed multiple times using the PostgreSQL ODBC driver, the pg_catalog schema update failed, and connecting to the database was not possible. Fixed.
#PG server: when the same database was accessed multiple times using the PostgreSQL ODBC driver, the pg_catalog schema update failed, and connecting to the database was not possible. Fixed.
@history_1018_li
#Some file operations didn't work for files in the root directory. Fixed.
......@@ -2780,7 +2789,7 @@ Mit Maven 2
#In the Restore tool, the parameter -file did not work. Fixed.
@history_1020_li
#Two-phase commit: commit with transaction name was only supported in the recovery scan. Now it is always supported.
#Two-phase commit: commit with transaction name was only supported in the recovery scan. Now it is always supported.
@history_1021_li
#The column name C_CURRENT_TIMESTAMP did not work in the last release.
......@@ -4751,7 +4760,7 @@ Mit Maven 2
#Support SCOPE_IDENTITY() to avoid problems when inserting rows in a trigger
@history_1677_li
#Support DESCRIPT like MySQL or Oracle (DESC[RIBE] {[schema.]object[@connect_identifier]})
#Support DESCRIBE like MySQL or Oracle (DESC|DESCRIBE {[schema.]object[@connect_identifier]})
@history_1678_h3
#Not Planned
......@@ -7102,3 +7111,72 @@ Kompilieren
@tutorial_1131_p
#When using Java Web Start / JNLP (Java Network Launch Protocol), permissions tags must be set in the .jnlp file, and the application .jar file must be signed. Otherwise, when trying to write to the file system, the following exception will occur: java.security.AccessControlException: access denied (java.io.FilePermission ... read). Example permission tags:
@~faq_1010_h3
#Are there any known bugs? When is the next release?
@~faq_1011_p
#Usually, bugs get fixes as they are found. There is a release every few weeks. Here is the list of known and confirmed issues as of 2007-08-02:
@~faq_1012_li
#Some problems have been found with right outer join. Internally, it is converted to left outer join, which does not always produce the same results as other databases when used in combination with other joins.
@~faq_1013_h3
#Is this Database Engine Open Source?
@~faq_1014_p
#Yes. It is free to use and distribute, and the source code is included. See also under license.
@~faq_1015_h3
#My query is slow
@~faq_1016_p
#Slow SELECT (or DELETE, UPDATE, MERGE) statement can have multiple reasons. Follow this checklist:
@~faq_1017_li
#Run ANALYSE (see documentation for details).
@~faq_1021_h3
#How to Create a New Database?
@~faq_1022_p
#By default, a new database is automatically created if it does not yet exist.
@~faq_1023_h3
#How to Connect to a Database?
@~faq_1024_p
#The database driver is <code>org.h2.Driver</code> , and the database URL starts with <code>jdbc:h2:</code> . To connect to a database using JDBC, use the following code:
@~faq_1025_h3
#Where are the Database Files Stored?
@~faq_1026_p
#When using database URLs like jdbc:h2:~/test, the database is stored in the user directory. For Windows, this is usually C:\Documents and Settings\&lt;userName&gt;. If the base directory is not set (as in jdbc:h2:test), the database files are stored in the directory where the application is started (the current working directory). When using the H2 Console application from the start menu, this is [Installation Directory]/bin. The base directory can be set in the database URL. A fixed or relative path can be used. When using the URL jdbc:h2:file:data/sample, the database is stored in the directory data (relative to the current working directory). The directory must exist. It is also possible to use the fully qualified directory (and for Windows, drive) name. Example: jdbc:h2:file:C:/data/test
@~faq_1027_h3
#What is the Size Limit (maximum size) of a Database?
@~faq_1028_p
#The theoretical limit is currently 256 GB for the data. This number is excluding BLOB and CLOB data: Every CLOB or BLOB can be up to 256 GB as well. The size limit of the index data is 256 GB as well.
@~faq_1030_h3
#Is it Reliable?
@~faq_1031_p
#That is not easy to say. It is still a quite new product. A lot of tests have been written, and the code coverage of these tests is very high. Randomized stress tests are run regularly. But as this is a relatively new product, there are probably some problems that have not yet been found. Areas that are not 100% tested:
@~faq_1032_li
#Platforms other than Windows XP and the Sun JVM 1.4 and 1.5
@~faq_1044_p
#Areas considered Experimental:
@~faq_1045_li
#ODBC driver and the GCJ native version on Windows
@~faq_1049_h3
#Is the GCJ version stable? Faster?
@~faq_1050_p
#The GCJ version is not as stable as the Java version. When running the regression test with the GCJ version, sometimes the application just stops at what seems to be a random point without error message. Currently, the GCJ version is also slower than when using the Sun VM. However, the startup of the GCJ version is faster than when using a VM.
......@@ -1171,129 +1171,138 @@ Is it Reliable?
@faq_1009_a
Is the GCJ version stable? Faster?
@faq_1010_h3
@faq_1010_a
How to Translate this Project?
@faq_1011_h3
Are there any known bugs? When is the next release?
@faq_1011_p
@faq_1012_p
Usually, bugs get fixes as they are found. There is a release every few weeks. Here is the list of known and confirmed issues as of 2007-08-02:
@faq_1012_li
@faq_1013_li
Some problems have been found with right outer join. Internally, it is converted to left outer join, which does not always produce the same results as other databases when used in combination with other joins.
@faq_1013_h3
@faq_1014_h3
Is this Database Engine Open Source?
@faq_1014_p
@faq_1015_p
Yes. It is free to use and distribute, and the source code is included. See also under license.
@faq_1015_h3
@faq_1016_h3
My query is slow
@faq_1016_p
@faq_1017_p
Slow SELECT (or DELETE, UPDATE, MERGE) statement can have multiple reasons. Follow this checklist:
@faq_1017_li
@faq_1018_li
Run ANALYSE (see documentation for details).
@faq_1018_li
@faq_1019_li
Run the query with EXPLAIN and check if indexes are used (see documentation for details).
@faq_1019_li
@faq_1020_li
If required, create additional indexes and try again using ANALYZE and EXPLAIN.
@faq_1020_li
@faq_1021_li
If it doesn't help please report the problem.
@faq_1021_h3
@faq_1022_h3
How to Create a New Database?
@faq_1022_p
@faq_1023_p
By default, a new database is automatically created if it does not yet exist.
@faq_1023_h3
@faq_1024_h3
How to Connect to a Database?
@faq_1024_p
@faq_1025_p
The database driver is <code>org.h2.Driver</code> , and the database URL starts with <code>jdbc:h2:</code> . To connect to a database using JDBC, use the following code:
@faq_1025_h3
@faq_1026_h3
Where are the Database Files Stored?
@faq_1026_p
@faq_1027_p
When using database URLs like jdbc:h2:~/test, the database is stored in the user directory. For Windows, this is usually C:\Documents and Settings\&lt;userName&gt;. If the base directory is not set (as in jdbc:h2:test), the database files are stored in the directory where the application is started (the current working directory). When using the H2 Console application from the start menu, this is [Installation Directory]/bin. The base directory can be set in the database URL. A fixed or relative path can be used. When using the URL jdbc:h2:file:data/sample, the database is stored in the directory data (relative to the current working directory). The directory must exist. It is also possible to use the fully qualified directory (and for Windows, drive) name. Example: jdbc:h2:file:C:/data/test
@faq_1027_h3
@faq_1028_h3
What is the Size Limit (maximum size) of a Database?
@faq_1028_p
@faq_1029_p
The theoretical limit is currently 256 GB for the data. This number is excluding BLOB and CLOB data: Every CLOB or BLOB can be up to 256 GB as well. The size limit of the index data is 256 GB as well.
@faq_1029_p
@faq_1030_p
The maximum file size for FAT or FAT32 file systems is 4 GB. So if you use FAT or FAT32, the limit is 4 GB for the data.
@faq_1030_h3
@faq_1031_h3
Is it Reliable?
@faq_1031_p
@faq_1032_p
That is not easy to say. It is still a quite new product. A lot of tests have been written, and the code coverage of these tests is very high. Randomized stress tests are run regularly. But as this is a relatively new product, there are probably some problems that have not yet been found. Areas that are not 100% tested:
@faq_1032_li
@faq_1033_li
Platforms other than Windows XP and the Sun JVM 1.4 and 1.5
@faq_1033_li
@faq_1034_li
Data types BLOB, CLOB, VARCHAR_IGNORECASE, OTHER
@faq_1034_li
@faq_1035_li
Cluster mode, 2-Phase Commit, Savepoints
@faq_1035_li
@faq_1036_li
Server mode (well tested, but not as well as Embedded mode)
@faq_1036_li
@faq_1037_li
Multi-Threading and using multiple connections
@faq_1037_li
@faq_1038_li
Updatable result sets
@faq_1038_li
@faq_1039_li
Referential integrity and check constraints, Triggers
@faq_1039_li
@faq_1040_li
ALTER TABLE statements, Views, Linked Tables, Schema, UNION
@faq_1040_li
@faq_1041_li
Not all built-in functions are completely tested
@faq_1041_li
@faq_1042_li
The Optimizer may not always select the best plan
@faq_1042_li
@faq_1043_li
24/7 operation and large databases (500 MB and up)
@faq_1043_li
@faq_1044_li
Wide indexes with large VARCHAR or VARBINARY columns and / or with a lot of columns
@faq_1044_p
@faq_1045_p
Areas considered Experimental:
@faq_1045_li
@faq_1046_li
ODBC driver and the GCJ native version on Windows
@faq_1046_li
@faq_1047_li
Linear Hash Index
@faq_1047_li
@faq_1048_li
Compatibility modes for other databases (only some features are implemented)
@faq_1048_li
@faq_1049_li
The ARRAY data type and related functionality.
@faq_1049_h3
@faq_1050_h3
Is the GCJ version stable? Faster?
@faq_1050_p
@faq_1051_p
The GCJ version is not as stable as the Java version. When running the regression test with the GCJ version, sometimes the application just stops at what seems to be a random point without error message. Currently, the GCJ version is also slower than when using the Sun VM. However, the startup of the GCJ version is faster than when using a VM.
@faq_1052_h3
How to Translate this Project?
@faq_1053_p
The following files can be translated at the moment:
@features_1000_h1
Features
......@@ -2750,10 +2759,10 @@ Version 1.0 (Current)
Version 1.0 / TODO (Build xx)
@history_1010_li
Improved error messages: some tools can't show the root cause of an exception. Adding the message of the root cause to the message of the thrown exception now where it makes sense.
Improved error messages: some tools can't show the root cause of an exception. Adding the message of the root cause to the message of the thrown exception now where it makes sense.
@history_1011_li
The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context, (for example javax.naming.InitialContext), and the URL the resource name (for example java:comp/env/jdbc/Test). This should also work for linked tables.
The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context, (for example javax.naming.InitialContext), and the URL the resource name (for example java:comp/env/jdbc/Test). This should also work for linked tables.
@history_1012_li
Google translate did not work for the H2 homepage. It should be fixed now.
......@@ -2771,7 +2780,7 @@ The default lock mode is now read committed instead of serialized.
PG server: data was truncated when reading large VARCHAR columns and decimal columns.
@history_1017_li
PG server: when the same database was accessed multiple times using the PostgreSQL ODBC driver, the pg_catalog schema update failed, and connecting to the database was not possible. Fixed.
PG server: when the same database was accessed multiple times using the PostgreSQL ODBC driver, the pg_catalog schema update failed, and connecting to the database was not possible. Fixed.
@history_1018_li
Some file operations didn't work for files in the root directory. Fixed.
......@@ -2780,7 +2789,7 @@ Some file operations didn't work for files in the root directory. Fixed.
In the Restore tool, the parameter -file did not work. Fixed.
@history_1020_li
Two-phase commit: commit with transaction name was only supported in the recovery scan. Now it is always supported.
Two-phase commit: commit with transaction name was only supported in the recovery scan. Now it is always supported.
@history_1021_li
The column name C_CURRENT_TIMESTAMP did not work in the last release.
......@@ -4751,7 +4760,7 @@ Support N'text'
Support SCOPE_IDENTITY() to avoid problems when inserting rows in a trigger
@history_1677_li
Support DESCRIPT like MySQL or Oracle (DESC[RIBE] {[schema.]object[@connect_identifier]})
Support DESCRIBE like MySQL or Oracle (DESC|DESCRIBE {[schema.]object[@connect_identifier]})
@history_1678_h3
Not Planned
......
@advanced_1000_h1
#Advanced Topics
Advanced Topics
@advanced_1001_a
#Result Sets
......@@ -1171,129 +1171,138 @@
@faq_1009_a
#Is the GCJ version stable? Faster?
@faq_1010_h3
@faq_1010_a
#How to Translate this Project?
@faq_1011_h3
#Are there any known bugs? When is the next release?
@faq_1011_p
@faq_1012_p
#Usually, bugs get fixes as they are found. There is a release every few weeks. Here is the list of known and confirmed issues as of 2007-08-02:
@faq_1012_li
@faq_1013_li
#Some problems have been found with right outer join. Internally, it is converted to left outer join, which does not always produce the same results as other databases when used in combination with other joins.
@faq_1013_h3
@faq_1014_h3
#Is this Database Engine Open Source?
@faq_1014_p
@faq_1015_p
#Yes. It is free to use and distribute, and the source code is included. See also under license.
@faq_1015_h3
@faq_1016_h3
#My query is slow
@faq_1016_p
@faq_1017_p
#Slow SELECT (or DELETE, UPDATE, MERGE) statement can have multiple reasons. Follow this checklist:
@faq_1017_li
@faq_1018_li
#Run ANALYSE (see documentation for details).
@faq_1018_li
@faq_1019_li
#Run the query with EXPLAIN and check if indexes are used (see documentation for details).
@faq_1019_li
@faq_1020_li
#If required, create additional indexes and try again using ANALYZE and EXPLAIN.
@faq_1020_li
@faq_1021_li
#If it doesn't help please report the problem.
@faq_1021_h3
@faq_1022_h3
#How to Create a New Database?
@faq_1022_p
@faq_1023_p
#By default, a new database is automatically created if it does not yet exist.
@faq_1023_h3
@faq_1024_h3
#How to Connect to a Database?
@faq_1024_p
@faq_1025_p
#The database driver is <code>org.h2.Driver</code> , and the database URL starts with <code>jdbc:h2:</code> . To connect to a database using JDBC, use the following code:
@faq_1025_h3
@faq_1026_h3
#Where are the Database Files Stored?
@faq_1026_p
@faq_1027_p
#When using database URLs like jdbc:h2:~/test, the database is stored in the user directory. For Windows, this is usually C:\Documents and Settings\&lt;userName&gt;. If the base directory is not set (as in jdbc:h2:test), the database files are stored in the directory where the application is started (the current working directory). When using the H2 Console application from the start menu, this is [Installation Directory]/bin. The base directory can be set in the database URL. A fixed or relative path can be used. When using the URL jdbc:h2:file:data/sample, the database is stored in the directory data (relative to the current working directory). The directory must exist. It is also possible to use the fully qualified directory (and for Windows, drive) name. Example: jdbc:h2:file:C:/data/test
@faq_1027_h3
@faq_1028_h3
#What is the Size Limit (maximum size) of a Database?
@faq_1028_p
@faq_1029_p
#The theoretical limit is currently 256 GB for the data. This number is excluding BLOB and CLOB data: Every CLOB or BLOB can be up to 256 GB as well. The size limit of the index data is 256 GB as well.
@faq_1029_p
@faq_1030_p
#The maximum file size for FAT or FAT32 file systems is 4 GB. So if you use FAT or FAT32, the limit is 4 GB for the data.
@faq_1030_h3
@faq_1031_h3
#Is it Reliable?
@faq_1031_p
@faq_1032_p
#That is not easy to say. It is still a quite new product. A lot of tests have been written, and the code coverage of these tests is very high. Randomized stress tests are run regularly. But as this is a relatively new product, there are probably some problems that have not yet been found. Areas that are not 100% tested:
@faq_1032_li
@faq_1033_li
#Platforms other than Windows XP and the Sun JVM 1.4 and 1.5
@faq_1033_li
@faq_1034_li
#Data types BLOB, CLOB, VARCHAR_IGNORECASE, OTHER
@faq_1034_li
@faq_1035_li
#Cluster mode, 2-Phase Commit, Savepoints
@faq_1035_li
@faq_1036_li
#Server mode (well tested, but not as well as Embedded mode)
@faq_1036_li
@faq_1037_li
#Multi-Threading and using multiple connections
@faq_1037_li
@faq_1038_li
#Updatable result sets
@faq_1038_li
@faq_1039_li
#Referential integrity and check constraints, Triggers
@faq_1039_li
@faq_1040_li
#ALTER TABLE statements, Views, Linked Tables, Schema, UNION
@faq_1040_li
@faq_1041_li
#Not all built-in functions are completely tested
@faq_1041_li
@faq_1042_li
#The Optimizer may not always select the best plan
@faq_1042_li
@faq_1043_li
#24/7 operation and large databases (500 MB and up)
@faq_1043_li
@faq_1044_li
#Wide indexes with large VARCHAR or VARBINARY columns and / or with a lot of columns
@faq_1044_p
@faq_1045_p
#Areas considered Experimental:
@faq_1045_li
@faq_1046_li
#ODBC driver and the GCJ native version on Windows
@faq_1046_li
@faq_1047_li
#Linear Hash Index
@faq_1047_li
@faq_1048_li
#Compatibility modes for other databases (only some features are implemented)
@faq_1048_li
@faq_1049_li
#The ARRAY data type and related functionality.
@faq_1049_h3
@faq_1050_h3
#Is the GCJ version stable? Faster?
@faq_1050_p
@faq_1051_p
#The GCJ version is not as stable as the Java version. When running the regression test with the GCJ version, sometimes the application just stops at what seems to be a random point without error message. Currently, the GCJ version is also slower than when using the Sun VM. However, the startup of the GCJ version is faster than when using a VM.
@faq_1052_h3
#How to Translate this Project?
@faq_1053_p
#The following files can be translated at the moment:
@features_1000_h1
特徴
......@@ -2720,7 +2729,7 @@
H2 (for 'Hypersonic 2') is free a Java SQL DBMS. Clustering, embedded and server mode, transactions, referential integrity, views, subqueries, triggers, encryption, and disk based or in-memory operation are supported. A browser based console application is included. If you see this page your browser does not support frames. Please click here to view the<a href="search_ja.html">index</a>.
@history_1000_h1
歴��ロードマップ
歴�?��?�ロードマップ
@history_1001_a
#History of this Database Engine
......@@ -2750,10 +2759,10 @@ H2 (for 'Hypersonic 2') is free a Java SQL DBMS. Clustering, embedded and server
#Version 1.0 / TODO (Build xx)
@history_1010_li
#Improved error messages: some tools can't show the root cause of an exception. Adding the message of the root cause to the message of the thrown exception now where it makes sense.
#Improved error messages: some tools can't show the root cause of an exception. Adding the message of the root cause to the message of the thrown exception now where it makes sense.
@history_1011_li
#The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context, (for example javax.naming.InitialContext), and the URL the resource name (for example java:comp/env/jdbc/Test). This should also work for linked tables.
#The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context, (for example javax.naming.InitialContext), and the URL the resource name (for example java:comp/env/jdbc/Test). This should also work for linked tables.
@history_1012_li
#Google translate did not work for the H2 homepage. It should be fixed now.
......@@ -2771,7 +2780,7 @@ H2 (for 'Hypersonic 2') is free a Java SQL DBMS. Clustering, embedded and server
#PG server: data was truncated when reading large VARCHAR columns and decimal columns.
@history_1017_li
#PG server: when the same database was accessed multiple times using the PostgreSQL ODBC driver, the pg_catalog schema update failed, and connecting to the database was not possible. Fixed.
#PG server: when the same database was accessed multiple times using the PostgreSQL ODBC driver, the pg_catalog schema update failed, and connecting to the database was not possible. Fixed.
@history_1018_li
#Some file operations didn't work for files in the root directory. Fixed.
......@@ -2780,7 +2789,7 @@ H2 (for 'Hypersonic 2') is free a Java SQL DBMS. Clustering, embedded and server
#In the Restore tool, the parameter -file did not work. Fixed.
@history_1020_li
#Two-phase commit: commit with transaction name was only supported in the recovery scan. Now it is always supported.
#Two-phase commit: commit with transaction name was only supported in the recovery scan. Now it is always supported.
@history_1021_li
#The column name C_CURRENT_TIMESTAMP did not work in the last release.
......@@ -4751,7 +4760,7 @@ H2 (for 'Hypersonic 2') is free a Java SQL DBMS. Clustering, embedded and server
#Support SCOPE_IDENTITY() to avoid problems when inserting rows in a trigger
@history_1677_li
#Support DESCRIPT like MySQL or Oracle (DESC[RIBE] {[schema.]object[@connect_identifier]})
#Support DESCRIBE like MySQL or Oracle (DESC|DESCRIBE {[schema.]object[@connect_identifier]})
@history_1678_h3
#Not Planned
......@@ -4784,22 +4793,22 @@ H2 (for 'Hypersonic 2') is free a Java SQL DBMS. Clustering, embedded and server
インストール
@installation_1001_a
必è¦?æ?¡ä»¶
必�?�?�件
@installation_1002_a
サãƒ?ートã?•ã‚Œã?¦ã?„るプラットフォーム
サ�?ート�?�れ�?��?�るプラットフォーム
@installation_1003_a
ソフトウェアã?®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«
ソフトウェア�?�インストール
@installation_1004_a
ディレクトリ構æˆ?
ディレクトリ構�?
@installation_1005_h2
必è¦?æ?¡ä»¶
必�?�?�件
@installation_1006_p
データベースを実行ã?™ã‚‹ã?Ÿã‚?ã?«ã€?以下ã?®ã‚½ãƒ•ãƒˆã‚¦ã‚§ã‚¢ã?Œå‹•ä½œã?™ã‚‹ã?“ã?¨ã‚’確èª?ã?—ã?¾ã?™ã€‚ 互æ?›æ€§ã?®ã?‚るソフトウェアã?§ã‚‚動作ã?—ã?¾ã?™ã?Œã€?テストã?¯ã?•ã‚Œã?¦ã?„ã?¾ã?›ã‚“。
データベースを実行�?�る�?��?�?��?以下�?�ソフトウェア�?�動作�?�る�?��?�を確�?�?��?��?�。 互�?�性�?��?�るソフトウェア�?�も動作�?��?��?��?��?テスト�?��?�れ�?��?��?��?�ん。
@installation_1007_li
Windows XP, MacOS, or Linux
......@@ -4814,22 +4823,22 @@ Sun JDK 1.4 or newer
Mozilla Firefox 1.5 or newer
@installation_1011_h2
サãƒ?ートã?•ã‚Œã?¦ã?„るプラットフォーム
サ�?ート�?�れ�?��?�るプラットフォーム
@installation_1012_p
ã?“ã?®ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã?¯Javaã?§æ›¸ã?‹ã‚Œã?¦ã?„ã‚‹ã?Ÿã‚?ã€?多ã??ã?®ç•°ã?ªã?£ã?Ÿãƒ—ラットフォームã?§å®Ÿè¡Œã?™ã‚‹ã?“ã?¨ã?Œã?§ã??ã?¾ã?™ã€‚ Java 1.4 ã?¨ 1.5ã?§ãƒ†ã‚¹ãƒˆã?•ã‚Œã?¾ã?—ã?Ÿã?Œã€?GCJを使用ã?™ã‚‹ã?“ã?¨ã?§ãƒ?イティブコードã?«ã‚³ãƒ³ãƒ‘イルã?™ã‚‹ã?“ã?¨ã‚‚ã?§ã??ã?¾ã?™ã€‚ ソースコードã?¯Java 1.5ã?®ç‰¹å¾´ã?¯ä½¿ã‚?れã?¦ã?„ã?¾ã?›ã‚“。ç?¾åœ¨ã€?データベースã?¯Windows XPã?§Sun JDKを使用ã?—ã?¦é–‹ç™ºã€?テストã?•ã‚Œã?¦ã?„ã?¾ã?™ã?Œã€? ã?Šã??らã??ã€?他ã?®å¤šã??ã?®OSã?¨ä»–ã?®Java Runtime Environmentを使用ã?—ã?¦ã‚‚動作ã?™ã‚‹ã?§ã?—ょã?†ã€‚
�?��?�データベース�?�Java�?�書�?�れ�?��?�る�?��?�?多�??�?�異�?��?��?�プラットフォーム�?�実行�?�る�?��?��?��?��??�?��?�。 Java 1.4 �?� 1.5�?�テスト�?�れ�?��?��?��?��?GCJを使用�?�る�?��?��?��?イティブコード�?�コンパイル�?�る�?��?�も�?��??�?��?�。 ソースコード�?�Java 1.5�?�特徴�?�使�?れ�?��?��?��?�ん。�?�在�?データベース�?�Windows XP�?�Sun JDKを使用�?��?�開発�?テスト�?�れ�?��?��?��?��?��? �?��??ら�??�?他�?�多�??�?�OS�?�他�?�Java Runtime Environmentを使用�?��?�も動作�?�る�?��?�ょ�?�。
@installation_1013_h2
ソフトウェアã?®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«
ソフトウェア�?�インストール
@installation_1014_p
ソフトウェアをインストールã?™ã‚‹ã?Ÿã‚?ã?«ã€?インストーラーを実行ã?™ã‚‹ã?‹ é?¸æŠžã?—ã?Ÿãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã?«ã‚½ãƒ•ãƒˆã‚¦ã‚§ã‚¢ã‚’解å‡?ã?—ã?¾ã?™ã€‚
ソフトウェアをインストール�?�る�?��?�?��?インストーラーを実行�?�る�?� �?�択�?��?�ディレクトリ�?�ソフトウェアを解�?�?��?��?�。
@installation_1015_h2
ディレクトリ構æˆ?
ディレクトリ構�?
@installation_1016_p
インストール後ã€?下記ã?®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªæ§‹æˆ?ã?Œä½œã‚‰ã‚Œã?¾ã?™:
インストール後�?下記�?�ディレクトリ構�?�?�作られ�?��?�:
@installation_1017_th
ディレクトリ
......@@ -5231,19 +5240,19 @@ Source files
H2 データベース エンジン
@mainWeb_1001_p
よã?†ã?“ã??ã€?無料ã?®SQLデータベースã€?H2ã?¸ã€‚H2ã?®ä¸»ã?ªç‰¹å¾´ã?¯:
よ�?��?��??�?無料�?�SQLデータベース�?H2�?�。H2�?�主�?�特徴�?�:
@mainWeb_1002_li
速度ã?Œã?¨ã?¦ã‚‚速ã??ã€?全ã?¦ã?®æ–¹ã?Œç„¡æ–™ã?§ä½¿ç”¨ã?§ã??ã€?ソースコードã?Œå?«ã?¾ã‚Œã?¦ã?„ã?¾ã?™
速度�?��?��?�も速�??�?全�?��?�方�?�無料�?�使用�?��??�?ソースコード�?��?��?�れ�?��?��?��?�
@mainWeb_1003_li
Java�書�れ����; GCJ (Linux) �コンパイル�能
Java�?�書�?�れ�?��?��?��?�; GCJ (Linux) �?�コンパイル�?�能
@mainWeb_1004_li
エンベッドã€?サーãƒ?ーã€?クラスターモードã?«å¯¾å¿œ
エンベッド�?サー�?ー�?クラスターモード�?�対応
@mainWeb_1005_li
JDBCã€? (部分的ã?ª) ODBC API; Web クライアントアプリケーション
JDBC�? (部分的�?�) ODBC API; Web クライアントアプリケーション
@mainWeb_1006_h3
ダウンロード
......@@ -5258,19 +5267,19 @@ Windows Installer (2.7 MB)
All platforms (zip, 3.7 MB)
@mainWeb_1010_a
全ã?¦ãƒ€ã‚¦ãƒ³ãƒ­ãƒ¼ãƒ‰
全�?�ダウンロード
@mainWeb_1011_td
&nbsp;&nbsp;&nbsp;
@mainWeb_1012_h3
サãƒ?ート
サ�?ート
@mainWeb_1013_a
Google グループ: ヘルプã?¨ãƒ‡ã‚£ã‚¹ã‚«ãƒƒã‚·ãƒ§ãƒ³
Google グループ: ヘルプ�?�ディスカッション
@mainWeb_1014_p
e-mail ���ら�ら:
e-mail �?��?��?�ら�?�ら:
@mainWeb_1015_td
&nbsp;
......@@ -5279,7 +5288,7 @@ e-mail
パフォーマンス
@mainWeb_1017_td
æ“?作/秒 (高ã?„æ–¹ã?Œã‚ˆã‚Šè‰¯ã?„) -<a href="performance.html">ã?“ã?®ãƒ†ã‚¹ãƒˆã?«ã?¤ã?„ã?¦ã?®è©³ã?—ã?„情報</a>
�?作/秒 (高�?�方�?�より良�?�) -<a href="performance.html">�?��?�テスト�?��?��?��?��?�詳�?��?�情報</a>
@mainWeb_1018_td
&nbsp;
......@@ -5291,13 +5300,13 @@ e-mail
ニュースフィード:
@mainWeb_1021_p
二種類ã?‹ã‚‰é?¸ã?¹ã?¾ã?™:<a href="http://www.h2database.com/html/newsfeed-atom.xml" target="_blank">フルテキスト (Atom)</a>ã?¾ã?Ÿã?¯<a href="http://www.h2database.com/html/newsfeed-rss.xml" target="_blank">ヘッダーã?®ã?¿ (RSS)</a>.
二種類�?�ら�?��?��?��?�:<a href="http://www.h2database.com/html/newsfeed-atom.xml" target="_blank">フルテキスト (Atom)</a>�?��?��?�<a href="http://www.h2database.com/html/newsfeed-rss.xml" target="_blank">ヘッダー�?��?� (RSS)</a>.
@mainWeb_1022_b
Email ニュースレター:
@mainWeb_1023_form
H2 データベース ニュース (Googleアカウントã?Œå¿…è¦?ã?§ã?™) ã?«ç½²å??ã?—ã€?ニューリリースã?«ã?¤ã?„ã?¦ã?®æƒ…報を入手ã?—ã?¦ä¸‹ã?•ã?„。 ã?‚ã?ªã?Ÿã?®emailアドレスã?¯ã?“ã?®ã‚³ãƒ³ãƒ†ãƒ³ãƒ„ã?§ã?®ã?¿ä½¿ç”¨ã?•ã‚Œã?¾ã?™ã€‚ もã?—Googleアカウントを入手ã?—ã?Ÿã??ã?ªã?„ã?®ã?§ã?‚ã‚Œã?°ã€? ã?“ã?¡ã‚‰ã?®ãƒªã‚¹ãƒˆã?«å…¥åŠ›ã?—ã?¦ä¸‹ã?•ã?„:
H2 データベース ニュース (Googleアカウント�?�必�?�?��?�) �?�署�??�?��?ニューリリース�?��?��?��?��?�情報を入手�?��?�下�?��?�。 �?��?��?��?�emailアドレス�?��?��?�コンテンツ�?��?��?�使用�?�れ�?��?�。 も�?�Googleアカウントを入手�?��?��??�?��?��?��?��?�れ�?��? �?��?�ら�?�リスト�?�入力�?��?�下�?��?�:
@mainWeb_1024_form
Email:
......@@ -5306,22 +5315,22 @@ Email:
&nbsp;
@mainWeb_1026_h3
寄稿ã?™ã‚‹
寄稿�?�る
@mainWeb_1027_p
H2ã?®ç™ºå±•ã?®ã?Ÿã‚?ã€?フィードãƒ?ックやãƒ?グ報告をé€?ã?£ã?Ÿã‚Šã€?H2コンソールアプリケーション (ファイル h2/src/main/org/h2/server/web/res/_text_*.properties)を訳ã?™ã?ªã?©ã€? 投稿ã?™ã‚‹ã?“ã?¨ã?Œã?§ã??ã?¾ã?™ã€‚ã?¾ã?Ÿã€?下ã?«ã?‚ã‚‹ PayPal ボタンをクリックã?™ã‚‹ã?“ã?¨ã?§ 寄付ã?™ã‚‹ã?“ã?¨ã‚‚ã?§ã??ã?¾ã?™ã€‚ 支æ?´è€…ã?¨ã?—ã?¦ã€?ã?‚ã?ªã?Ÿã?®å??å‰?ã?Œè¼‰ã‚Šã?¾ã?™:
H2�?�発展�?��?��?�?フィード�?ックや�?グ報告を�?�?��?�り�?H2コンソールアプリケーション (ファイル h2/src/main/org/h2/server/web/res/_text_*.properties)を訳�?��?��?��? 投稿�?�る�?��?��?��?��??�?��?�。�?��?��?下�?��?�る PayPal ボタンをクリック�?�る�?��?��?� 寄付�?�る�?��?�も�?��??�?��?�。 支�?�者�?��?��?��?�?��?��?��?��??�?�?�載り�?��?�:
@mainWeb_1028_td
&nbsp;
@mainWeb_1029_h3
フィードãƒ?ック
フィード�?ック
@mainWeb_1030_td
質å•?やè¦?望ã€?ã??ã?®ä»–ã?‚らゆるフィードãƒ?ックã?¯ã?“ã?¡ã‚‰ã?‹ã‚‰é€?ä¿¡ã?—ã?¦ä¸‹ã?•ã?„:
質�?や�?望�?�??�?�他�?�らゆるフィード�?ック�?��?��?�ら�?�ら�?信�?��?�下�?��?�:
@mainWeb_1031_p
Email (任�):
Email (任�?):
@mainWeb_1032_form
メッセージ:
......@@ -5330,7 +5339,7 @@ Email (ä»»
H2 データベース エンジン
@main_1001_p
よã?†ã?“ã??ã€?無料ã?®SQLデータベースã€?H2ã?¸
よ�?��?��??�?無料�?�SQLデータベース�?H2�?�
@main_1002_a
クイックスタート
......@@ -5339,7 +5348,7 @@ H2 データベース エンジン
Click here to get a fast overview.
@main_1004_a
ãƒ?ュートリアル
�?ュートリアル
@main_1005_p
Go through the samples.
......@@ -6578,10 +6587,10 @@ The database URL<code>jdbc:h2:~/test</code>opens the database 'test' in your use
H2 コンソール アプリケーション
@quickstartText_1009_p
ã?“ã?®ã‚³ãƒ³ã‚½ãƒ¼ãƒ«ã?¯ãƒ–ラウザインターフェースを使ã?£ã?¦SQL データベースã?«ã‚¢ã‚¯ã‚»ã‚¹ã?—ã?¾ã?™ã€‚
�?��?�コンソール�?�ブラウザインターフェースを使�?��?�SQL データベース�?�アクセス�?��?��?�。
@quickstartText_1010_p
Windows XPをã?”使用ã?§ã?ªã?‹ã?£ã?Ÿã‚Šã€? 期待通りã?«æ©Ÿèƒ½ã?—ã?ªã?„å ´å?ˆã?¯ã€?<a href="tutorial.html">ãƒ?ュートリアル</a>内ã?® 詳細説明をã?”覧下ã?•ã?„。
Windows XPを�?�使用�?��?��?��?��?�り�? 期待通り�?�機能�?��?��?�場�?��?��?<a href="tutorial.html">�?ュートリアル</a>内�?� 詳細説明を�?�覧下�?��?�。
@quickstartText_1011_h3
手順
......@@ -6590,64 +6599,64 @@ Windows XPã‚’
インストール
@quickstartText_1013_p
Windows インストーラーを使用ã?—ã?¦ã‚½ãƒ•ãƒˆã‚¦ã‚§ã‚¢ã‚’インストールã?—ã?¾ã?—ょã?† (ã?¾ã? ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã?•ã‚Œã?¦ã?„ã?ªã?„å ´å?ˆ)。
Windows インストーラーを使用�?��?�ソフトウェアをインストール�?��?��?�ょ�?� (�?��?�インストール�?�れ�?��?��?��?�場�?�)。
@quickstartText_1014_h4
コンソールを起動ã?™ã‚‹
コンソールを起動�?�る
@quickstartText_1015_p
<span class="button">スタート</span>ã€?
<span class="button">����プログラム</span>�
<span class="button">H2</span>�
<span class="button">H2 Console (Command Line)</span>をクリックã?—ã?¾ã?™:
<span class="button">スタート</span>�?
<span class="button">�?��?��?��?�プログラム</span>�?
<span class="button">H2</span>�?
<span class="button">H2 Console (Command Line)</span>をクリック�?��?��?�:
@quickstartText_1016_p
コンソールウィンドウã?Œ 開ã??ã?¾ã?™:
コンソールウィンドウ�?� 開�??�?��?�:
@quickstartText_1017_p
新ã?—ã?„ブラウザã?§ URL http://localhost:8082/ ã?«ã‚¢ã‚¯ã‚»ã‚¹ã?—ã?¦ä¸‹ã?•ã?„。 ファイアーウォールã?«ã‚ˆã‚‹ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£è­¦å‘Šã‚’設定ã?™ã‚‹ã?“ã?¨ã?Œã?§ã??ã?¾ã?™ã€‚外部ãƒ?ットワークã?‹ã‚‰ ã?‚ã?ªã?Ÿã?®ãƒžã‚·ãƒ³ã?®ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã?«ã‚¢ã‚¯ã‚»ã‚¹ã?•ã‚Œã?Ÿã??ã?ªã?„ã?®ã?§ã?‚ã‚Œã?°ã€?ファイアーウォールã?Œä»–ã?®æŽ¥ç¶šã‚’é?®æ–­ã?—ã?¾ã?™ã€‚ ローカル接続ã?®ã?¿å¿…è¦?ã?§ã?™ã€‚
新�?��?�ブラウザ�?� URL http://localhost:8082/ �?�アクセス�?��?�下�?��?�。 ファイアーウォール�?�よるセキュリティ警告を設定�?�る�?��?��?��?��??�?��?�。外部�?ットワーク�?�ら �?��?��?��?�マシン�?�データベース�?�アクセス�?�れ�?��??�?��?��?��?��?�れ�?��?ファイアーウォール�?�他�?�接続を�?�断�?��?��?�。 ローカル接続�?��?�必�?�?��?�。
@quickstartText_1018_h4
ログイン
@quickstartText_1019_p
<span class="button">Generic H2</span>をé?¸ã?³ã€?<span class="button">Connect</span>をクリックã?—ã?¾ã?™:
<span class="button">Generic H2</span>を�?��?��?<span class="button">Connect</span>をクリック�?��?��?�:
@quickstartText_1020_p
ログインã?•ã‚Œã?¾ã?—ã?Ÿã€‚
ログイン�?�れ�?��?��?�。
@quickstartText_1021_h4
サンプル
@quickstartText_1022_p
<span class="button">Sample SQL Script</span>をクリックã?—ã?¾ã?™ã€‚:
<span class="button">Sample SQL Script</span>をクリック�?��?��?�。:
@quickstartText_1023_p
SQLコマンドã?Œã‚³ãƒžãƒ³ãƒ‰ã‚¨ãƒªã‚¢ã?«è¡¨ç¤ºã?•ã‚Œã?¾ã?™ã€‚
SQLコマンド�?�コマンドエリア�?�表示�?�れ�?��?�。
@quickstartText_1024_h4
実行ã?™ã‚‹
実行�?�る
@quickstartText_1025_p
<span class="button">Run</span>をクリックã?—ã?¾ã?™:
<span class="button">Run</span>をクリック�?��?��?�:
@quickstartText_1026_p
å·¦å?´ã?®ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã‚¢ã‚¤ã‚³ãƒ³ã?®ä¸‹ã?«ã€? 新ã?—ã?„テーブル TEST ã?Œè¿½åŠ ã?•ã‚Œã?¾ã?™ã€‚動作ã?¨ã‚¹ãƒ†ãƒ¼ãƒˆãƒ¡ãƒ³ãƒˆã?®çµ?果ã?¯ã€?スクリプトã?®ä¸‹ã?«è¡¨ç¤ºã?•ã‚Œã?¾ã?™ã€‚
左�?��?�データベースアイコン�?�下�?��? 新�?��?�テーブル TEST �?�追加�?�れ�?��?�。動作�?�ステートメント�?��?果�?��?スクリプト�?�下�?�表示�?�れ�?��?�。
@quickstartText_1027_h4
切断
@quickstartText_1028_p
<span class="button">Disconnect</span>をクリックã?—ã?¾ã?™:
<span class="button">Disconnect</span>をクリック�?��?��?�:
@quickstartText_1029_p
データベースを閉ã?˜ã?¾ã?™
データベースを閉�?��?��?�
@quickstartText_1030_h4
終了
@quickstartText_1031_p
コンソールウィンドウを閉ã?˜ã?¾ã?™ã€‚詳細ã?¯<a href="tutorial.html">ãƒ?ュートリアル</a>をã?”覧下ã?•ã?„。
コンソールウィンドウを閉�?��?��?�。詳細�?�<a href="tutorial.html">�?ュートリアル</a>を�?�覧下�?��?�。
@search_1000_b
検索:
......@@ -6665,7 +6674,7 @@ Highlight keyword(s)
インストール
@search_1005_a
ãƒ?ュートリアル
�?ュートリアル
@search_1006_a
特徴
......@@ -6677,7 +6686,7 @@ Highlight keyword(s)
Advanced Topics
@search_1009_b
å?‚ç…§
�?�照
@search_1010_a
SQL文
......@@ -6701,7 +6710,7 @@ PDFドキュメント
構築
@search_1017_a
歴��ロードマップ
歴�?��?�ロードマップ
@search_1018_a
Q&A
......@@ -6710,49 +6719,49 @@ Q&A
ライセンス
@tutorial_1000_h1
ãƒ?ュートリアル
�?ュートリアル
@tutorial_1001_a
起動ã?¨H2コンソールã?®ä½¿ç”¨
起動�?�H2コンソール�?�使用
@tutorial_1002_a
JDBCを使用ã?—ã?¦ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã?«æŽ¥ç¶š
JDBCを使用�?��?�データベース�?�接続
@tutorial_1003_a
新ã?—ã?„データベースを作æˆ?ã?™ã‚‹
新�?��?�データベースを作�?�?�る
@tutorial_1004_a
サーãƒ?ーを使用ã?™ã‚‹
サー�?ーを使用�?�る
@tutorial_1005_a
Hibernateを使用ã?™ã‚‹
Hibernateを使用�?�る
@tutorial_1006_a
Webアプリケーションã?§ データベースを使用ã?™ã‚‹
Webアプリケーション�?� データベースを使用�?�
@tutorial_1007_a
CSV (Comma Separated Values) サãƒ?ート
CSV (Comma Separated Values) サ�?ート
@tutorial_1008_a
アップグレードã€? ãƒ?ックアップã€?修復
アップグレード�? �?ックアップ�?修復
@tutorial_1009_a
OpenOffice Baseを使用ã?™ã‚‹
OpenOffice Baseを使用�?�る
@tutorial_1010_a
Java Web Start / JNLP
@tutorial_1011_h2
起動ã?¨H2コンソールã?®ä½¿ç”¨
起動�?�H2コンソール�?�使用
@tutorial_1012_p
ã?“ã?®ã‚¢ãƒ—リケーションã?¯ãƒ–ラウザインターフェースを使ã?£ã?¦SQLデータベースã?«ã‚¢ã‚¯ã‚»ã‚¹ã?—ã?¾ã?™ã€‚ ã?“ã‚Œã?¯ã€?H2データベースã€?ã?¾ã?Ÿã?¯JDBC APIをサãƒ?ートã?™ã‚‹åˆ¥ã?®ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã?§ã?‚ã‚‹ã?‹ã‚‚ã?—ã‚Œã?¾ã?›ã‚“。
�?��?�アプリケーション�?�ブラウザインターフェースを使�?��?�SQLデータベース�?�アクセス�?��?��?�。 �?�れ�?��?H2データベース�?�?��?��?�JDBC APIをサ�?ート�?�る別�?�データベース�?��?�る�?�も�?�れ�?��?�ん。
@tutorial_1013_p
ã?“ã‚Œã?¯ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆ / サーãƒ?ーアプリケーションã?§ã€?サーãƒ?ーã?¨ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã?®ä¸¡æ–¹å®Ÿè¡Œã?•ã‚Œã‚‹ã?“ã?¨ã?Œå¿…è¦?ã?§ã?™ã€‚
�?�れ�?�クライアント / サー�?ーアプリケーション�?��?サー�?ー�?�クライアント�?�両方実行�?�れる�?��?��?�必�?�?��?�。
@tutorial_1014_p
プラットフォームã?¨ç’°å¢ƒã?«ã‚ˆã?£ã?¦ã€?アプリケーションã?®èµ·å‹•æ–¹æ³•ã?Œå¤šæ•°ã?‚ã‚Šã?¾ã?™:
プラットフォーム�?�環境�?�よ�?��?��?アプリケーション�?�起動方法�?�多数�?�り�?��?�:
@tutorial_1015_th
OS
......@@ -6764,174 +6773,174 @@ OS
Windows
@tutorial_1018_td
[スタート]ã€? [ã?™ã?¹ã?¦ã?®ãƒ—ログラム]ã€? [H2]ã€? [H2 Console]をクリックã?—ã?¾ã?™
[スタート]�? [�?��?��?��?�プログラム]�? [H2]�? [H2 Console]をクリック�?��?��?�
@tutorial_1019_td
æ­£ã?—ã??動作ã?—ã?Ÿã‚‰ã€? システムトレイã?«ã‚¢ã‚¤ã‚³ãƒ³ã?Œè¿½åŠ ã?•ã‚Œã?¾ã?™:
正�?��??動作�?��?�ら�? システムトレイ�?�アイコン�?�追加�?�れ�?��?�:
@tutorial_1020_td
システムトレイアイコンã?Œè¡¨ç¤ºã?•ã‚Œã?ªã?‹ã?£ã?Ÿã‚‰ã€? Javaã?Œæ­£ã?—ã??インストールã?•ã‚Œã?¦ã?„ã?ªã?„ã?®ã?‹ã‚‚ã?—ã‚Œã?¾ã?›ã‚“。 (ã?“ã?®å ´å?ˆã?¯ã€? 他ã?®ã‚¢ãƒ—リケーション起動方法を試ã?—ã?¦ä¸‹ã?•ã?„) ブラウザウィンドウã?Œé–‹ã??ã€?ログインページã?Œè¡¨ç¤ºã?•ã‚Œã?¾ã?™ã€‚ (URL: http://localhost:8082/)
システムトレイアイコン�?�表示�?�れ�?��?��?��?�ら�? Java�?�正�?��??インストール�?�れ�?��?��?��?��?��?�も�?�れ�?��?�ん。 (�?��?�場�?��?��? 他�?�アプリケーション起動方法を試�?��?�下�?��?�) ブラウザウィンドウ�?�開�??�?ログインページ�?�表示�?�れ�?��?�。 (URL: http://localhost:8082/)
@tutorial_1021_td
Windows
@tutorial_1022_td
ファイルブラウザを開ã??ã€?h2/binフォルダã?¾ã?§é€²ã?¿ã€?h2.batをダブルクリックã?—ã?¾ã?™ã€‚
ファイルブラウザを開�??�?h2/binフォルダ�?��?�進�?��?h2.batをダブルクリック�?��?��?�。
@tutorial_1023_td
æ­£ã?—ã??動作ã?—ã?Ÿã‚‰ã€?システムトレイã?«ã‚¢ã‚¤ã‚³ãƒ³ã?Œè¿½åŠ ã?•ã‚Œã?¾ã?™ã€‚ å•?題ã?Œã?‚ã‚Œã?°ã€?コンソールウィンドウã?«ã‚¨ãƒ©ãƒ¼ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã?Œè¡¨ç¤ºã?•ã‚Œã?¾ã?™ã€‚ ブラウザウィンドウã?Œé–‹ã??ã€?ログインページã?Œè¡¨ç¤ºã?•ã‚Œã?¾ã?™ã€‚ (URL: http://localhost:8082/)
正�?��??動作�?��?�ら�?システムトレイ�?�アイコン�?�追加�?�れ�?��?�。 �?題�?��?�れ�?��?コンソールウィンドウ�?�エラーメッセージ�?�表示�?�れ�?��?�。 ブラウザウィンドウ�?�開�??�?ログインページ�?�表示�?�れ�?��?�。 (URL: http://localhost:8082/)
@tutorial_1024_td
Any
@tutorial_1025_td
コンソールウィンドウを開ã??ã€?'h2/lib'ディレクトリã?¾ã?§é€²ã?¿ã€?下記を実行ã?—ã?¾ã?™:
コンソールウィンドウを開�??�?'h2/lib'ディレクトリ�?��?�進�?��?下記を実行�?��?��?�:
@tutorial_1026_h3
ファイアウォール
@tutorial_1027_p
サーãƒ?ーを起動ã?•ã?›ã?Ÿã‚‰ã€?ファイアウォールã?«ã‚ˆã‚‹ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£è­¦å‘Šã‚’å?—ã?‘ã‚‹ã?§ã?—ょã?† (1度インストールã?—ã?Ÿå ´å?ˆ)。外部ãƒ?ットワークã?‹ã‚‰ã?‚ã?ªã?Ÿã?®ãƒžã‚·ãƒ³ã?®ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã?«ã‚¢ã‚¯ã‚»ã‚¹ã?•ã‚Œã?Ÿã??ã?ªã?„ã?®ã?§ã?‚ã‚Œã?°ã€?ファイアーウォールã?Œä»–ã?®æŽ¥ç¶šã‚’é?®æ–­ã?—ã?¾ã?™ã€‚ローカルマシンã?‹ã‚‰ã?®æŽ¥ç¶šã?¯ã?¾ã? ã?¤ã?ªã?Œã?£ã?¦ã?„ã?¾ã?™ã€‚ä»–ã?®ã‚³ãƒ³ãƒ”ュータã?‹ã‚‰ã€?ã?“ã?®ã‚³ãƒ³ãƒ”ューターã?®ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã?«ã‚¢ã‚¯ã‚»ã‚¹ã?—ã?Ÿã?„å ´å?ˆã?®ã?¿ã€? ファイアウォールã?§ãƒªãƒ¢ãƒ¼ãƒˆæŽ¥ç¶šã‚’許å?¯ã?™ã‚‹å¿…è¦?ã?Œã?‚ã‚Šã?¾ã?™ã€‚
サー�?ーを起動�?��?��?�ら�?ファイアウォール�?�よるセキュリティ警告を�?��?�る�?��?�ょ�?� (1度インストール�?��?�場�?�)。外部�?ットワーク�?�ら�?��?��?��?�マシン�?�データベース�?�アクセス�?�れ�?��??�?��?��?��?��?�れ�?��?ファイアーウォール�?�他�?�接続を�?�断�?��?��?�。ローカルマシン�?�ら�?�接続�?��?��?��?��?��?��?��?��?��?��?�。他�?�コンピュータ�?�ら�?�?��?�コンピューター�?�データベース�?�アクセス�?��?��?�場�?��?��?��? ファイアウォール�?�リモート接続を許�?��?�る必�?�?��?�り�?��?�。
@tutorial_1028_p
å°?ã?•ã?ªãƒ•ã‚¡ã‚¤ã‚¢ãƒ¼ã‚¦ã‚©ãƒ¼ãƒ«ã?¯ã?™ã?§ã?«ã‚µãƒ¼ãƒ?ーã?«çµ„ã?¿è¾¼ã?¾ã‚Œã?¦ã?„ã?¾ã?™ã€‚ デフォルトã?«ã‚ˆã‚‹ã?“ã?®æ§‹é€ ã?¯ã€?他ã?®ã‚³ãƒ³ãƒ”ューターã?Œã‚µãƒ¼ãƒ?ーã?«ã‚¢ã‚¯ã‚»ã‚¹ã?™ã‚‹ã?“ã?¨ã‚’許å?¯ã?—ã?¦ã?„ã?¾ã?›ã‚“。 ã?“ã‚Œã?¯ã€?好ã??ã?ªã‚ˆã?†ã?«å¤‰æ›´ã?™ã‚‹ã?“ã?¨ã?Œã?§ã??ã?¾ã?™ (他ã?®ã‚³ãƒ³ãƒ”ューターã?‹ã‚‰ã?®æŽ¥ç¶šã‚’許å?¯ã?—ã?¾ã?™)。
�?�?��?�ファイアーウォール�?��?��?��?�サー�?ー�?�組�?�込�?�れ�?��?��?��?�。 デフォルト�?�よる�?��?�構造�?��?他�?�コンピューター�?�サー�?ー�?�アクセス�?�る�?��?�を許�?��?��?��?��?��?�ん。 �?�れ�?��?好�??�?�よ�?��?�変更�?�る�?��?��?��?��??�?��?� (他�?�コンピューター�?�ら�?�接続を許�?��?��?��?�)。
@tutorial_1029_h3
ãƒ?イティブ ãƒ?ージョン
�?イティブ �?ージョン
@tutorial_1030_p
ãƒ?イティブ ãƒ?ージョンã?¯Javaを必è¦?ã?¨ã?—ã?¦ã?„ã?¾ã?›ã‚“。ã?ªã?œã?ªã‚‰ã€?ã?“ã‚Œã?¯GCJを使用ã?—ã?¦ã‚³ãƒ³ãƒ‘イルã?•ã‚Œã‚‹ã?‹ã‚‰ã?§ã?™ã€‚ã?—ã?‹ã?—ã€?H2ã?¯ç?¾åœ¨ã€?Windows上ã?®GCJプロジェクトã?§ã?¯å®Ÿè¡Œã?•ã‚Œã?¾ã?›ã‚“。異ã?ªã?£ã?Ÿãƒ—ラットフォームã?§ã‚½ãƒ•ãƒˆã‚¦ã‚§ã‚¢ã‚’コンパイルã?™ã‚‹ã?“ã?¨ã?Œå?¯èƒ½ã?§ã?™ã€‚
�?イティブ �?ージョン�?�Javaを必�?�?��?��?��?��?��?�ん。�?��?��?�ら�?�?�れ�?�GCJを使用�?��?�コンパイル�?�れる�?�ら�?��?�。�?��?��?��?H2�?��?�在�?Windows上�?�GCJプロジェクト�?��?�実行�?�れ�?��?�ん。異�?��?��?�プラットフォーム�?�ソフトウェアをコンパイル�?�る�?��?��?��?�能�?��?�。
@tutorial_1031_h3
Javaをテストã?™ã‚‹
Javaをテスト�?�る
@tutorial_1032_p
インストールã?—ã?ŸJavaã?®ãƒ?ージョンを調ã?¹ã‚‹ã?Ÿã‚?ã?«ã?¯ã€? コマンドプロンプトを開ã??ã€? 下記を入力ã?—ã?¾ã?™:
インストール�?��?�Java�?��?ージョンを調�?�る�?��?�?��?��? コマンドプロンプトを開�??�? 下記を入力�?��?��?�:
@tutorial_1033_p
もã?—エラーメッセージã?Œè¡¨ç¤ºã?•ã‚Œã?Ÿã‚‰ã€?Javaã?®ãƒ?イナリディレクトリを環境変数ã?®Pathã?«è¿½åŠ ã?—ã?¾ã?™ã€‚
も�?�エラーメッセージ�?�表示�?�れ�?�ら�?Java�?��?イナリディレクトリを環境変数�?�Path�?�追加�?��?��?�。
@tutorial_1034_h3
エラーメッセージ 'Port is in use'
@tutorial_1035_p
ã?²ã?¨ã?¤ã?®H2コンソールã?®ã?¿èµ·å‹•ã?™ã‚‹ã?“ã?¨ã?Œã?§ã??ã?¾ã?™ã€‚ ã??ã?†ã?§ã?ªã?‘ã‚Œã?°ã€?次ã?®ã‚ˆã?†ã?ªã‚¨ãƒ©ãƒ¼ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã?Œè¡¨ç¤ºã?•ã‚Œã?¾ã?™:
�?��?��?��?�H2コンソール�?��?�起動�?�る�?��?��?��?��??�?��?�。 �??�?��?��?��?�れ�?��?次�?�よ�?��?�エラーメッセージ�?�表示�?�れ�?��?�:
<code>Port is in use, maybe another ... server already running on...</code>
複数ã?®ã‚³ãƒ³ã‚½ãƒ¼ãƒ«ã‚¢ãƒ—リケーションをå?Œã?˜ã‚³ãƒ³ãƒ”ューターã?§èµ·å‹•ã?™ã‚‹ã?“ã?¨ã?¯å?¯èƒ½ã?§ã?™ (異ã?ªã?£ã?Ÿãƒ?ートを使用ã?—ã?¾ã?™)ã€?ã?—ã?‹ã?—ã€?コンソールã?Œè¤‡æ•°ã?®å?Œæ™‚接続を維æŒ?ã?™ã‚‹ã?¨ã?„ã?†ã?“ã?¨ã?¯ã€?普通ã?¯å¿…è¦?ã?¨ã?•ã‚Œã?¦ã?„ã?¾ã?›ã‚“。
複数�?�コンソールアプリケーションを�?��?�コンピューター�?�起動�?�る�?��?��?��?�能�?��?� (異�?��?��?��?ートを使用�?��?��?�)�?�?��?��?��?コンソール�?�複数�?��?�時接続を維�?�?�る�?��?��?��?��?��?��?普通�?�必�?�?��?�れ�?��?��?��?�ん。
@tutorial_1036_h3
他ã?®ãƒ?ートを使用ã?™ã‚‹
他�?��?ートを使用�?�る
@tutorial_1037_p
もã?—ãƒ?ートã?Œä»–ã?®ã‚¢ãƒ—リケーションã?«ã‚ˆã?£ã?¦ä½¿ç”¨ã?•ã‚Œã?¦ã?„ã‚‹å ´å?ˆã?¯ã€?H2コンソールを異ã?ªã?£ã?Ÿãƒ?ートã?§èµ·å‹•ã?—ã?Ÿã?„ã?¯ã?šã?§ã?™ã€‚ã?“ã‚Œã?¯ã€?.h2.server.properties.ファイル内ã?®ãƒ?ートを変更ã?™ã‚‹ã?“ã?¨ã?«ã‚ˆã‚Šå®Ÿè¡Œã?§ã??ã?¾ã?™ã€‚ã?“ã?®ãƒ•ã‚¡ã‚¤ãƒ«ã?¯ãƒ¦ãƒ¼ã‚¶ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå†…ã?«æ ¼ç´?ã?•ã‚Œã?¦ã?„ã?¾ã?™ (Windowsã?§ã?¯é€šå¸¸ã€?"Documents and Settings/<ユーザå??>")。関連ã?™ã‚‹é …ç›®ã?¯webPortã?§ã?™ã€‚
も�?��?ート�?�他�?�アプリケーション�?�よ�?��?�使用�?�れ�?��?�る場�?��?��?H2コンソールを異�?��?��?��?ート�?�起動�?��?��?��?��?��?��?�。�?�れ�?��?.h2.server.properties.ファイル内�?��?ートを変更�?�る�?��?��?�より実行�?��??�?��?�。�?��?�ファイル�?�ユーザディレクトリ内�?�格�?�?�れ�?��?��?��?� (Windows�?��?�通常�?"Documents and Settings/&lt;ユーザ�??&gt;")。関連�?�る項目�?�webPort�?��?�。
@tutorial_1038_h3
起動æˆ?功
起動�?功
@tutorial_1039_p
コンソールウィンドウã?‹ã‚‰ã?®ã‚µãƒ¼ãƒ?ー起動ã?Œæˆ?功ã?—ã?Ÿã‚‰ã€?新ã?—ã?„ウィンドウã?Œé–‹ã??ã€? 下記ã?®ã‚ˆã?†ã?«è¡¨ç¤ºã?•ã‚Œã?¾ã?™:
コンソールウィンドウ�?�ら�?�サー�?ー起動�?��?功�?��?�ら�?新�?��?�ウィンドウ�?�開�??�? 下記�?�よ�?��?�表示�?�れ�?��?�:
@tutorial_1040_p
ウィンドウ内をクリックã?—ã?ªã?„ã?§ä¸‹ã?•ã?„; アプリケーションã?Œé?®æ–­ã?•ã‚Œã?¦ã?—ã?¾ã?„ã?¾ã?™ (Fast-Edit モードã?Œæœ‰åŠ¹ã?®å ´å?ˆ)。
ウィンドウ内をクリック�?��?��?��?�下�?��?�; アプリケーション�?��?�断�?�れ�?��?��?��?��?��?� (Fast-Edit モード�?�有効�?�場�?�)。
@tutorial_1041_h3
ブラウザを使用ã?—ã?¦ã‚µãƒ¼ãƒ?ーã?«æŽ¥ç¶š
ブラウザを使用�?��?�サー�?ー�?�接続
@tutorial_1042_p
サーãƒ?ーã?®æŽ¥ç¶šã?«æˆ?功ã?—ã?Ÿã‚‰ã€?webブラウザを使用ã?—ã?¦ã‚µãƒ¼ãƒ?ーã?«æŽ¥ç¶šã?™ã‚‹ã?“ã?¨ã?Œã?§ã??ã?¾ã?™ã€‚ブラウザã?«ã?¯JavaScriptã€?フレームã€?カスケードスタイルシート (css)ã?®ã‚µãƒ?ートã?Œå¿…è¦?ã?§ã?™ã€‚ã‚‚ã?—å?Œã?˜ã‚³ãƒ³ãƒ”ューターã?®ãƒ–ラウザã?§ã‚µãƒ¼ãƒ?ーを起動ã?—ã?Ÿã‚‰ã€? http://localhost:8082 ã?¸ã‚¢ã‚¯ã‚»ã‚¹ã?—ã?¦ã??ã? ã?•ã?„。他ã?®ã‚³ãƒ³ãƒ”ューターã?‹ã‚‰ã‚¢ãƒ—リケーションã?«æŽ¥ç¶šã?—ã?Ÿã?„å ´å?ˆã?¯ã€? サーãƒ?ーã?®IPアドレスを用æ„?ã?™ã‚‹ã?“ã?¨ã?Œå¿…è¦?ã?§ã?™ã€‚ 例: http://192.168.0.2:8082 サーãƒ?ーå?´ã?§SSLを使用ã?—ã?Ÿã?„å ´å?ˆã?¯ã€?URLをHTTPSã?‹ã‚‰å§‹ã‚?ã?¾ã?™ã€‚
サー�?ー�?�接続�?��?功�?��?�ら�?webブラウザを使用�?��?�サー�?ー�?�接続�?�る�?��?��?��?��??�?��?�。ブラウザ�?��?�JavaScript�?フレーム�?カスケードスタイルシート (css)�?�サ�?ート�?�必�?�?��?�。も�?��?��?�コンピューター�?�ブラウザ�?�サー�?ーを起動�?��?�ら�? http://localhost:8082 �?�アクセス�?��?��??�?��?��?�。他�?�コンピューター�?�らアプリケーション�?�接続�?��?��?�場�?��?��? サー�?ー�?�IPアドレスを用�?�?�る�?��?��?�必�?�?��?�。 例: http://192.168.0.2:8082 サー�?ー�?��?�SSLを使用�?��?��?�場�?��?��?URLをHTTPS�?�ら始�?�?��?�。
@tutorial_1043_h3
複数ã?®å?Œæ™‚セッション
複数�?��?�時セッション
@tutorial_1044_p
複数ã?®å?Œæ™‚ブラウザセッションã?Œã‚µãƒ?ートã?•ã‚Œã?¦ã?„ã?¾ã?™ã€‚ データベースオブジェクトã?¯ã‚µãƒ¼ãƒ?ーã?«å±žã?—ã?¦ã?„ã‚‹ã?Ÿã‚?ã€?å?Œæ™‚接続ã?®æ•°ã?¯ã‚µãƒ¼ãƒ?ーアプリケーションã?®åˆ©ç”¨å?¯èƒ½ãƒ¡ãƒ¢ãƒªã?«ã‚ˆã?£ã?¦åˆ¶é™?ã?•ã‚Œã?¦ã?„ã?¾ã?™ã€‚
複数�?��?�時ブラウザセッション�?�サ�?ート�?�れ�?��?��?��?�。 データベースオブジェクト�?�サー�?ー�?�属�?��?��?�る�?��?�?�?�時接続�?�数�?�サー�?ーアプリケーション�?�利用�?�能メモリ�?�よ�?��?�制�?�?�れ�?��?��?��?�。
@tutorial_1045_h3
アプリケーションプロパティ
@tutorial_1046_p
サーãƒ?ーを起動ã?™ã‚‹ã?¨ãƒ­ãƒ¼ã‚«ãƒ«ã?®ãƒ›ãƒ¼ãƒ ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã?« .h2.server.properties ã?¨å‘¼ã?°ã‚Œã‚‹ãƒ•ã‚¡ã‚¤ãƒ«æ§‹æˆ?ã?Œä½œæˆ?ã?•ã‚Œã?¾ã?™ã€‚Windowsã?®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã?§ã?¯ã€?ã?“ã?®ãƒ•ã‚¡ã‚¤ãƒ«ã?¯ will be in the directory C:\Documents and Settings\[ユーザå??]ã?®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå†…ã?«ã?‚ã‚Šã?¾ã?™ã€‚ã?“ã?®ãƒ•ã‚¡ã‚¤ãƒ«ã?¯ã‚¢ãƒ—リケーションã?®ã‚»ãƒƒãƒ†ã‚£ãƒ³ã‚°ã?«å?«ã?¾ã‚Œã?¦ã?„ã?¾ã?™ã€‚
サー�?ーを起動�?�る�?�ローカル�?�ホームディレクトリ�?� .h2.server.properties �?�呼�?�れるファイル構�?�?�作�?�?�れ�?��?�。Windows�?�インストール�?��?��?�?��?�ファイル�?� will be in the directory C:\Documents and Settings\[ユーザ�??]�?�ディレクトリ内�?��?�り�?��?�。�?��?�ファイル�?�アプリケーション�?�セッティング�?��?��?�れ�?��?��?��?�。
@tutorial_1047_h3
ログイン
@tutorial_1048_p
ログインページã?§ã?¯ã€?データベースã?«æŽ¥ç¶šã?™ã‚‹ã?Ÿã‚?ã?®æŽ¥ç¶šæƒ…報を設定ã?™ã‚‹å¿…è¦?ã?Œã?‚ã‚Šã?¾ã?™ã€‚ JDBCドライãƒ?をデータベースã?®ã‚¯ãƒ©ã‚¹ã?«è¨­å®šã?—ã€?JDBCã?®URLã€?ユーザå??ã?¨ãƒ‘スワードを入力ã?—ã?¾ã?™ã€‚ 完了ã?—ã?Ÿã‚‰ [Connect] をクリックã?—ã?¾ã?™ã€‚
ログインページ�?��?��?データベース�?�接続�?�る�?��?�?�接続情報を設定�?�る必�?�?��?�り�?��?�。 JDBCドライ�?をデータベース�?�クラス�?�設定�?��?JDBC�?�URL�?ユーザ�??�?�パスワードを入力�?��?��?�。 完了�?��?�ら [Connect] をクリック�?��?��?�。
@tutorial_1049_p
ä¿?存ã?•ã‚Œã?Ÿè¨­å®šã‚’ã?‚らã?‹ã?˜ã‚?ä¿?存ã?—ã€?å†?ã?³ä½¿ç”¨ã?™ã‚‹ã?“ã?¨ã?Œã?§ã??ã?¾ã?™ã€‚設定ã?¯ã‚¢ãƒ—リケーションプロパティファイルã?«è¨˜æ†¶ã?•ã‚Œã?¾ã?™ã€‚
�?存�?�れ�?�設定を�?�ら�?��?��?�?存�?��?�?�?�使用�?�る�?��?��?��?��??�?��?�。設定�?�アプリケーションプロパティファイル�?�記憶�?�れ�?��?�。
@tutorial_1050_h3
エラーメッセージ
@tutorial_1051_p
エラーメッセージã?¯èµ¤ã?§è¡¨ç¤ºã?•ã‚Œã?¾ã?™ã€‚ メッセージをクリックã?™ã‚‹ã?“ã?¨ã?«ã‚ˆã?£ã?¦ã€?例外ã?®è¨˜éŒ²ã?®è¡¨ç¤ºã€?é?žè¡¨ç¤ºã‚’切り替ã?ˆã‚‹ã?“ã?¨ã?Œã?§ã??ã?¾ã?™ã€‚
エラーメッセージ�?�赤�?�表示�?�れ�?��?�。 メッセージをクリック�?�る�?��?��?�よ�?��?��?例外�?�記録�?�表示�?�?�表示を切り替�?�る�?��?��?��?��??�?��?�。
@tutorial_1052_h3
データベースドライãƒ?ã?®è¿½åŠ 
データベースドライ�?�?�追加
@tutorial_1053_p
H2DRIVERSã?‹CLASSPATHã?®ç’°å¢ƒå¤‰æ•°ã?«ã€?ドライãƒ?ã?®Jarファイルã?®ä½?置を追加ã?™ã‚‹ã?“ã?¨ã?«ã‚ˆã‚Šã€?データベースドライãƒ?ã?®è¿½åŠ ã‚’è¡Œã?†ã?“ã?¨ã?Œã?§ã??ã?¾ã?™ã€‚ 例 (Windowsã?®å ´å?ˆ): データベースドライãƒ?ã?®ãƒ©ã‚¤ãƒ–ラリã?« C:\Programs\hsqldb\lib\hsqldb.jar を追加ã?—ã€?H2DRIVERSã?®ç’°å¢ƒå¤‰æ•°ã?« C:\Programs\hsqldb\lib\hsqldb.jar を設定ã?—ã?¾ã?™ã€‚
H2DRIVERS�?�CLASSPATH�?�環境変数�?��?ドライ�?�?�Jarファイル�?��?置を追加�?�る�?��?��?�より�?データベースドライ�?�?�追加を行�?��?��?��?��?��??�?��?�。 例 (Windows�?�場�?�): データベースドライ�?�?�ライブラリ�?� C:\Programs\hsqldb\lib\hsqldb.jar を追加�?��?H2DRIVERS�?�環境変数�?� C:\Programs\hsqldb\lib\hsqldb.jar を設定�?��?��?�。
@tutorial_1054_p
複数ã?®ãƒ‰ãƒ©ã‚¤ãƒ?を設定ã?™ã‚‹ã?“ã?¨ã‚‚å?¯èƒ½ã?§ã?™; ã??れã?žã‚Œã?®ãƒ‘スã?¯ ';' (Windows) や ':' (他ã?®OS) ã?§åŒºåˆ‡ã‚Šã?¾ã?™ã€‚ パスå??内ã?®ã‚¹ãƒšãƒ¼ã‚¹ã?¯æœ‰åŠ¹ã?§ã?™ã€‚設定ã?¯å¼•ç”¨ã?•ã‚Œã?¾ã?›ã‚“。
複数�?�ドライ�?を設定�?�る�?��?�も�?�能�?��?�; �??れ�?�れ�?�パス�?� ';' (Windows) や ':' (他�?�OS) �?�区切り�?��?�。 パス�??内�?�スペース�?�有効�?��?�。設定�?�引用�?�れ�?��?�ん。
@tutorial_1055_p
ドライãƒ?ã?®è¿½åŠ ã?¯Javaãƒ?ージョンã?®ã?¿ã?§ã‚µãƒ?ートã?•ã‚Œã?¦ã?„ã?¾ã?™ (ã?“ã?®ç‰¹å¾´ã?¯ãƒ?イティブãƒ?ージョンã?§ã?¯ã‚µãƒ?ートã?•ã‚Œã?¦ã?„ã?¾ã?›ã‚“)。
ドライ�?�?�追加�?�Java�?ージョン�?��?��?�サ�?ート�?�れ�?��?��?��?� (�?��?�特徴�?��?イティブ�?ージョン�?��?�サ�?ート�?�れ�?��?��?��?�ん)。
@tutorial_1056_h3
アプリケーションを使用ã?™ã‚‹
アプリケーションを使用�?�る
@tutorial_1057_p
アプリケーションã?¯3ã?¤ã?®ãƒ¡ã‚¤ãƒ³ãƒ‘ãƒ?ルをä¿?æŒ?ã?—ã?¦ã?„ã?¾ã?™ã€‚上部ã?®ãƒ„ールãƒ?ーã€?å·¦å?´ã?®ãƒ„リーã?¨ã‚¯ã‚¨ãƒªã€?å?³å?´ã?®çµ?果表示パãƒ?ルã?§ã?™ã€‚データベースオブジェクト (例; テーブル) ã?¯å·¦å?´ã?®ãƒ‘ãƒ?ルã?«ä¸€è¦§è¡¨ç¤ºã?•ã‚Œã?¾ã?™ã€‚クエリパãƒ?ルã?«SQLコマンドを打ã?¡ã€? 'Run' をクリックã?—ã?¾ã?™ã€‚ コマンドã?®çµ?果ã?¯ã€?コマンドã?®ã?™ã??下ã?«è¡¨ç¤ºã?•ã‚Œã?¾ã?™ã€‚
アプリケーション�?�3�?��?�メインパ�?ルを�?�?�?��?��?��?��?�。上部�?�ツール�?ー�?左�?��?�ツリー�?�クエリ�?�?��?��?��?果表示パ�?ル�?��?�。データベースオブジェクト (例; テーブル) �?�左�?��?�パ�?ル�?�一覧表示�?�れ�?��?�。クエリパ�?ル�?�SQLコマンドを打�?��? 'Run' をクリック�?��?��?�。 コマンド�?��?果�?��?コマンド�?��?��??下�?�表示�?�れ�?��?�。
@tutorial_1058_h3
テーブルå??ã€?ã?¾ã?Ÿã?¯ã‚«ãƒ©ãƒ å??をインサートã?™ã‚‹
テーブル�??�?�?��?��?�カラム�??をインサート�?�る
@tutorial_1059_p
テーブルå??やカラムå??ã?¯ã€?ツリー内ã?®ãƒ†ãƒ¼ãƒ–ルå??ã€?カラムå??をクリックã?™ã‚‹ã?“ã?¨ã?«ã‚ˆã?£ã?¦ã‚¹ã‚¯ãƒªãƒ—トã?«ã‚¤ãƒ³ã‚µãƒ¼ãƒˆã?™ã‚‹ã?“ã?¨ã?Œã?§ã??ã?¾ã?™ã€‚クエリã?Œç©ºã?®æ™‚ã?«ãƒ†ãƒ¼ãƒ–ルをクリックã?™ã‚‹ã?¨ã€? 'SELECT * FROM ...' もå?Œæ§˜ã?«è¿½åŠ ã?•ã‚Œã?¾ã?™ã€‚ クエリを入力ã?—ã?¦ã?„ã‚‹é–“ã€?使用ã?•ã‚Œã?¦ã?„るテーブルã?¯ãƒ„リー内ã?§è‡ªå‹•çš„ã?«æ‹¡å¼µã?•ã‚Œã?¾ã?™ã€‚例ã?ˆã?°ã€? 'SELECT * FROM TEST T WHERE T.' ã?¨å…¥åŠ›ã?™ã‚‹ã?¨ã€?ツリー内ã?®TESTテーブルã?¯è‡ªå‹•çš„ã?«æ‹¡å¼µã?•ã‚Œã?¾ã?™ã€‚
テーブル�??やカラム�??�?��?ツリー内�?�テーブル�??�?カラム�??をクリック�?�る�?��?��?�よ�?��?�スクリプト�?�インサート�?�る�?��?��?��?��??�?��?�。クエリ�?�空�?�時�?�テーブルをクリック�?�る�?��? 'SELECT * FROM ...' も�?�様�?�追加�?�れ�?��?�。 クエリを入力�?��?��?�る間�?使用�?�れ�?��?�るテーブル�?�ツリー内�?�自動的�?�拡張�?�れ�?��?�。例�?��?��? 'SELECT * FROM TEST T WHERE T.' �?�入力�?�る�?��?ツリー内�?�TESTテーブル�?�自動的�?�拡張�?�れ�?��?�。
@tutorial_1060_h3
切断ã?¨ã‚¢ãƒ—リケーションã?®çµ‚了
切断�?�アプリケーション�?�終了
@tutorial_1061_p
ブラウザã?§ã?¯ã€?ツールãƒ?ーパãƒ?ルã?® 'Disconnect' をクリックã?—ã?¾ã?™ã€‚データベースã?‹ã‚‰ãƒ­ã‚°ã‚¢ã‚¦ãƒˆã?—ã?¾ã?™ã€‚ã?—ã?‹ã?—ã€?サーãƒ?ーã?¯ã?¾ã? æŽ¥ç¶šã?•ã‚Œã?¦ã?„ã?¦ã€? 新ã?—ã?„セッションをå?—ã?‘入れる準備をã?—ã?¦ã?„ã?¾ã?™ã€‚
ブラウザ�?��?��?ツール�?ーパ�?ル�?� 'Disconnect' をクリック�?��?��?�。データベース�?�らログアウト�?��?��?�。�?��?��?��?サー�?ー�?��?��?�接続�?�れ�?��?��?��? 新�?��?�セッションを�?��?�入れる準備を�?��?��?��?��?�。
@tutorial_1062_p
サーãƒ?ーを止ã‚?るã?Ÿã‚?ã?«ã?¯ã€?システムトレイアイコンをå?³ã‚¯ãƒªãƒƒã‚¯ã?—ã€? [Exit] をé?¸æŠžã?—ã?¾ã?™ã€‚ã‚‚ã?—アイコンã?Œè¡¨ç¤ºã?•ã‚Œã?¦ã?„ã?ªã?„ã?®ã?§ã?‚ã‚Œã?°ã€? (別ã?®æ–¹æ³•ã?§å®Ÿè¡Œã?—ã?Ÿå ´å?ˆ) サーãƒ?ーã?Œå®Ÿè¡Œã?•ã‚Œã?Ÿã‚³ãƒ³ã‚½ãƒ¼ãƒ«ä¸Šã?§ [Ctrl]+[C] を押ã?™ã?‹ (Windowsã?®å ´å?ˆ)ã€?コンソールウィンドウを閉ã?˜ã?¾ã?™ã€‚
サー�?ーを止�?る�?��?�?��?��?システムトレイアイコンを�?�クリック�?��? [Exit] を�?�択�?��?��?�。も�?�アイコン�?�表示�?�れ�?��?��?��?��?��?��?�れ�?��? (別�?�方法�?�実行�?��?�場�?�) サー�?ー�?�実行�?�れ�?�コンソール上�?� [Ctrl]+[C] を押�?��?� (Windows�?�場�?�)�?コンソールウィンドウを閉�?��?��?�。
@tutorial_1063_h2
JDBCを使用ã?—ã?¦ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã?«æŽ¥ç¶š
JDBCを使用�?��?�データベース�?�接続
@tutorial_1064_p
データベースã?«æŽ¥ç¶šã?™ã‚‹ã?Ÿã‚?ã?«Javaアプリケーションã?«æœ€åˆ?ã?«å¿…è¦?ã?ªã?“ã?¨ã?¯ã€? データベースドライãƒ?をロードã?—ã€?接続ã?™ã‚‹ã?“ã?¨ã?§ã?™ã€‚ç°¡å?˜ã?ªæ–¹æ³•ã?¯ã€?次ã?®ã‚³ãƒ¼ãƒ‰ã‚’使用ã?—ã?¾ã?™:
データベース�?�接続�?�る�?��?�?�Javaアプリケーション�?�最�?�?�必�?�?��?��?��?��? データベースドライ�?をロード�?��?接続�?�る�?��?��?��?�。簡�?��?�方法�?��?次�?�コードを使用�?��?��?�:
@tutorial_1065_p
ã?“ã?®ã‚³ãƒ¼ãƒ‰ã?¯æœ€åˆ?ã?«ãƒ‰ãƒ©ã‚¤ãƒ?をロードã?—ã?¦ (Class.forName())ã€? 接続を開始ã?—ã?¾ã?™ (DriverManager.getConnection())。 ã?“ã?®ãƒ‰ãƒ©ã‚¤ãƒ?ã?®å??å‰?ã?¯å…¨ã?¦ã?®ã‚±ãƒ¼ã‚¹ã?«ã?Šã?„ã?¦ "org.h2.Driver" ã?§ã?™ã€‚ データベースã?«èª?識ã?•ã‚Œã‚‹ã?Ÿã‚?ã€?データベースã?®URLã?¯å¸¸ã?« jdbc:h2: ã?‹ã‚‰å§‹ã?¾ã‚Šã?¾ã?™ã€‚ getConnection() 内ã?®2番目ã?®ãƒ‘ラメーターã?¯ãƒ¦ãƒ¼ã‚¶å??を指ã?—ã?¦ã?„ã?¾ã?™ ('sa' ã?¯ã?“ã?®å ´å?ˆã€?システム管ç?†è€…を表ã?—ã?¦ã?„ã?¾ã?™)。3番目ã?®ãƒ‘ラメーターã?¯ãƒ‘スワードã?§ã?™ã€‚ã?“ã?®ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã?§ã?¯ã€?ユーザå??ã?¯å¤§æ–‡å­—ã?¨å°?文字を区別ã?—ã?¦ã?„ã?¾ã?›ã‚“ã?Œã€?パスワードã?¯å¤§æ–‡å­—ã?¨å°?文字を区別ã?—ã?¦ã?„ã?¾ã?™ã€‚
�?��?�コード�?�最�?�?�ドライ�?をロード�?��?� (Class.forName())�? 接続を開始�?��?��?� (DriverManager.getConnection())。 �?��?�ドライ�?�?��??�?�?�全�?��?�ケース�?��?��?��?� "org.h2.Driver" �?��?�。 データベース�?��?識�?�れる�?��?�?データベース�?�URL�?�常�?� jdbc:h2: �?�ら始�?�り�?��?�。 getConnection() 内�?�2番目�?�パラメーター�?�ユーザ�??を指�?��?��?��?��?� ('sa' �?��?��?�場�?��?システム管�?�者を表�?��?��?��?��?�)。3番目�?�パラメーター�?�パスワード�?��?�。�?��?�データベース�?��?��?ユーザ�??�?�大文字�?��?文字を区別�?��?��?��?��?�ん�?��?パスワード�?�大文字�?��?文字を区別�?��?��?��?��?�。
@tutorial_1066_h2
新ã?—ã?„データベースを作æˆ?ã?™ã‚‹
新�?��?�データベースを作�?�?�る
@tutorial_1067_p
åˆ?期設定ã?§ã?¯ã€?データベースã?®æŒ‡å®šã?•ã‚Œã?ŸURLã?Œã?¾ã? å­˜åœ¨ã?—ã?ªã?„å ´å?ˆã€?自動的ã?«æ–°ã?—ã?„ (空ã?®) データベースã?Œä½œã‚‰ã‚Œã?¾ã?™ã€‚
�?期設定�?��?��?データベース�?�指定�?�れ�?�URL�?��?��?�存在�?��?��?�場�?��?自動的�?�新�?��?� (空�?�) データベース�?�作られ�?��?�。
@tutorial_1068_h2
サーãƒ?ーを使用ã?™ã‚‹
サー�?ーを使用�?�る
@tutorial_1069_p
H2ã?¯ç?¾åœ¨ã€?3ã?¤ã?®ã‚µãƒ¼ãƒ?ーをサãƒ?ートã?—ã?¦ã?„ã?¾ã?™: Webサーãƒ?ーã€?TCPサーãƒ?ーã€?ODBCサーãƒ?ーã?§ã?™ã€‚ ã?“れらã?®ã‚µãƒ¼ãƒ?ーã?¯ç•°ã?ªã?£ã?Ÿæ–¹æ³•ã?§èµ·å‹•ã?—ã?¾ã?™ã€‚
H2�?��?�在�?3�?��?�サー�?ーをサ�?ート�?��?��?��?��?�: Webサー�?ー�?TCPサー�?ー�?ODBCサー�?ー�?��?�。 �?�れら�?�サー�?ー�?�異�?��?��?�方法�?�起動�?��?��?�。
@tutorial_1070_h3
コマンドラインã?‹ã‚‰èµ·å‹•ã?™ã‚‹
コマンドライン�?�ら起動�?�る
@tutorial_1071_p
åˆ?期設定ã?§ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã?‹ã‚‰ã‚µãƒ¼ãƒ?ーを起動ã?•ã?›ã‚‹ã?«ã?¯ã€?次ã?®ã‚ˆã?†ã?«å®Ÿè¡Œã?—ã?¾ã?™ã€‚
�?期設定�?�コマンドライン�?�らサー�?ーを起動�?��?�る�?��?��?次�?�よ�?��?�実行�?��?��?�。
@tutorial_1072_p
サーãƒ?ーã?¯ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã‚ªãƒ—ションã?§èµ·å‹•ã?—ã?¾ã?™ã€‚オプションã?®ä¸€è¦§ã‚’å?–å¾—ã?™ã‚‹ã?«ã?¯ã€?次ã?®ã‚ˆã?†ã?«å®Ÿè¡Œã?—ã?¾ã?™ã€‚
サー�?ー�?�デフォルトオプション�?�起動�?��?��?�。オプション�?�一覧を�?�得�?�る�?��?��?次�?�よ�?��?�実行�?��?��?�。
@tutorial_1073_p
異ã?ªã?£ã?Ÿãƒ?ートã?®ä½¿ç”¨ã?Œå?¯èƒ½ã?ªã‚ªãƒ—ションやã€?サーãƒ?ーã?®ä¸€éƒ¨ã‚’èµ·å‹•ã€?終了ã?•ã?›ã‚‹ã‚ªãƒ—ションã?ªã?©ã?Œã?‚ã‚Šã?¾ã?™ã€‚ 詳細ã?¯ã‚µãƒ¼ãƒ?ーツールã?®APIドキュメントをã?”覧下ã?•ã?„。
異�?��?��?��?ート�?�使用�?��?�能�?�オプションや�?サー�?ー�?�一部を起動�?終了�?��?�るオプション�?��?��?��?�り�?��?�。 詳細�?�サー�?ーツール�?�APIドキュメントを�?�覧下�?��?�。
@tutorial_1074_h3
#Connecting to the TCP Server
......@@ -6949,121 +6958,121 @@ Database URL: jdbc:h2:tcp://localhost/~/test
#For details about the database URL, see also in Features.
@tutorial_1079_h3
アプリケーション内ã?§èµ·å‹•ã?™ã‚‹
アプリケーション内�?�起動�?�る
@tutorial_1080_p
アプリケーション内ã?‹ã‚‰ã‚µãƒ¼ãƒ?ーを起動ã€?終了ã?™ã‚‹ã?“ã?¨ã‚‚å?¯èƒ½ã?§ã?™ã€‚ 以下ã?¯ã‚µãƒ³ãƒ—ルコードã?§ã?™:
アプリケーション内�?�らサー�?ーを起動�?終了�?�る�?��?�も�?�能�?��?�。 以下�?�サンプルコード�?��?�:
@tutorial_1081_h3
他ã?®é?Žç¨‹ã?‹ã‚‰TCPサーãƒ?ーを終了ã?™ã‚‹
他�?��?�程�?�らTCPサー�?ーを終了�?�る
@tutorial_1082_p
TCPサーãƒ?ーã?¯ä»–ã?®é?Žç¨‹ã?‹ã‚‰çµ‚了ã?™ã‚‹ã?“ã?¨ã?Œã?§ã??ã?¾ã?™ã€‚ コマンドラインã?‹ã‚‰ã‚µãƒ¼ãƒ?ーを終了ã?™ã‚‹ã?«ã?¯ã€?次ã?®ã‚ˆã?†ã?«å®Ÿè¡Œã?—ã?¾ã?™:
TCPサー�?ー�?�他�?��?�程�?�ら終了�?�る�?��?��?��?��??�?��?�。 コマンドライン�?�らサー�?ーを終了�?�る�?��?��?次�?�よ�?��?�実行�?��?��?�:
@tutorial_1083_p
ユーザアプリケーションã?‹ã‚‰ã‚µãƒ¼ãƒ?ーを終了ã?™ã‚‹ã?«ã?¯ã€?次ã?®ã‚³ãƒ¼ãƒ‰ã‚’使用ã?—ã?¾ã?™:
ユーザアプリケーション�?�らサー�?ーを終了�?�る�?��?��?次�?�コードを使用�?��?��?�:
@tutorial_1084_p
ã?“ã?®æ©Ÿèƒ½ã?¯ã‚µãƒ¼ãƒ?ー上ã?® System.exit を呼んã?§ã?„ã?¾ã?™ã€‚ã?“ã?®æ©Ÿèƒ½ã?¯ã€?データベースã?Œæ¬¡å›žèµ·å‹•ã?•ã‚Œã?Ÿæ™‚ã?®ãƒªã‚«ãƒ?リーを回é?¿ã?™ã‚‹ã?Ÿã‚?ã€?データベースã?¸ã?®å…¨ã?¦ã?®æŽ¥ç¶šã?Œåˆ‡æ–­ã?•ã‚Œã?Ÿå¾Œã?«å‘¼ã?°ã‚Œã?¾ã?™ã€‚リモートサーãƒ?ーを終了ã?™ã‚‹ã?«ã?¯ã€?サーãƒ?ー上ã?§ãƒªãƒ¢ãƒ¼ãƒˆæŽ¥ç¶šã?Œå?¯èƒ½ã?§ã?‚ã‚‹å¿…è¦?ã?Œã?‚ã‚Šã?¾ã?™ã€‚
�?��?�機能�?�サー�?ー上�?� System.exit を呼ん�?��?��?��?�。�?��?�機能�?��?データベース�?�次回起動�?�れ�?�時�?�リカ�?リーを回�?��?�る�?��?�?データベース�?��?�全�?��?�接続�?�切断�?�れ�?�後�?�呼�?�れ�?��?�。リモートサー�?ーを終了�?�る�?��?��?サー�?ー上�?�リモート接続�?��?�能�?��?�る必�?�?��?�り�?��?�。
@tutorial_1085_h3
サーãƒ?ーã?®åˆ¶é™?
サー�?ー�?�制�?
@tutorial_1086_p
ç?¾åœ¨ã€?サーãƒ?ーやクラスターモードを使用ã?™ã‚‹æ™‚ã?«ã?„ã??ã?¤ã?‹ã?®åˆ¶é™?ã?Œã?‚ã‚Šã?¾ã?™:
�?�在�?サー�?ーやクラスターモードを使用�?�る時�?��?��??�?��?��?�制�?�?��?�り�?��?�:
@tutorial_1087_li
Statement.cancel() ã?¯ã‚¨ãƒ³ãƒ™ãƒƒãƒ‰ãƒ¢ãƒ¼ãƒ‰ã?®ã?¿ã‚µãƒ?ートã?•ã‚Œã?¦ã?„ã?¾ã?™ã€‚接続ã?¯ã‚µãƒ¼ãƒ?ーã€?ã?¾ã?Ÿã?¯ã‚¯ãƒ©ã‚¹ã‚¿ãƒ¼ãƒ¢ãƒ¼ãƒ‰ã?§1度ã?«ã?²ã?¨ã?¤ã?®ã‚ªãƒšãƒ¬ãƒ¼ã‚·ãƒ§ãƒ³ã?§å®Ÿè¡Œã?•ã‚Œã€? ã?“ã?®ã‚ªãƒšãƒ¬ãƒ¼ã‚·ãƒ§ãƒ³ã?Œçµ‚了ã?™ã‚‹ã?¾ã?§æŽ¥ç¶šã?¯é?®æ–­ã?•ã‚Œã?¾ã?™ã€‚
Statement.cancel() �?�エンベッドモード�?��?�サ�?ート�?�れ�?��?��?��?�。接続�?�サー�?ー�?�?��?��?�クラスターモード�?�1度�?��?��?��?��?�オペレーション�?�実行�?�れ�? �?��?�オペレーション�?�終了�?�る�?��?�接続�?��?�断�?�れ�?��?�。
@tutorial_1088_h2
Hibernateを使用ã?™ã‚‹
Hibernateを使用�?�る
@tutorial_1089_p
ã?“ã?®ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã?¯Hibernate version 3.1 ã?¨ä»¥é™?ã?®æ–°ã?—ã?„ãƒ?ージョンをサãƒ?ートã?—ã?¦ã?„ã?¾ã?™ã€‚ HSQLDB Dialectã€?ã?¾ã?Ÿã?¯ H2 Dialectã?¯ src/tools/org/h2/tools/hibernate/H2Dialect.txt ファイル内ã?§ä½¿ç”¨å?¯èƒ½ã?§ã?™ã€‚ H2 dialectã?¯ Hibernateã?®ã‚ˆã‚Šæ–°ã?—ã?„ãƒ?ージョンã?«å?«ã?¾ã‚Œã?¦ã?„ã?¾ã?™ã€‚H2 dialectã?Œå?«ã?¾ã‚Œã?¦ã?„ã?ªã?„ãƒ?ージョンã?§ã?¯ã€? src\org\hibernate\dialect (Hibernate 3.1ã?®å ´å?ˆ) フォルダ内ã?®ãƒ•ã‚¡ã‚¤ãƒ«ã‚’コピーã?—ã€? H2Dialect.java ã?«ãƒ•ã‚¡ã‚¤ãƒ«å??を変更ã?—ã€? Hibernateをå†?ã?³ã‚³ãƒ³ãƒ‘イルã?—ã?¾ã?™ã€‚
�?��?�データベース�?�Hibernate version 3.1 �?�以�?�?�新�?��?��?ージョンをサ�?ート�?��?��?��?��?�。 HSQLDB Dialect�?�?��?��?� H2 Dialect�?� src/tools/org/h2/tools/hibernate/H2Dialect.txt ファイル内�?�使用�?�能�?��?�。 H2 dialect�?� Hibernate�?�より新�?��?��?ージョン�?��?��?�れ�?��?��?��?�。H2 dialect�?��?��?�れ�?��?��?��?��?ージョン�?��?��? src\org\hibernate\dialect (Hibernate 3.1�?�場�?�) フォルダ内�?�ファイルをコピー�?��? H2Dialect.java �?�ファイル�??を変更�?��? Hibernateを�?�?�コンパイル�?��?��?�。
@tutorial_1090_h2
Webアプリケーションã?§ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã‚’使用ã?™ã‚‹
Webアプリケーション�?�データベースを使用�?�る
@tutorial_1091_p
Webアプリケーション内ã?‹ã‚‰ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã?«æŽ¥ç¶šã?™ã‚‹ã?«ã?¯æ§˜ã€…ã?ªæ–¹æ³•ã?Œã?‚ã‚Šã?¾ã?™ã€‚ 以下ã?¯Tomcatã?‹JBossを使用ã?®å ´å?ˆã?®ã?„ã??ã?¤ã?‹ã?®ä¾‹ã?§ã?™ã€‚
Webアプリケーション内�?�らデータベース�?�接続�?�る�?��?�様々�?�方法�?��?�り�?��?�。 以下�?�Tomcat�?�JBossを使用�?�場�?��?��?��??�?��?��?�例�?��?�。
@tutorial_1092_h3
エンベッドモード
@tutorial_1093_p
(ç?¾åœ¨)最も簡å?˜ã?ªã‚½ãƒªãƒ¥ãƒ¼ã‚·ãƒ§ãƒ³ã?¯ã‚¨ãƒ³ãƒ™ãƒƒãƒ‰ãƒ¢ãƒ¼ãƒ‰ã?§ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã‚’使用ã?™ã‚‹ã?“ã?¨ã?§ã?™ã€‚ ã??れã?¯ã€?アプリケーションã?Œèµ·å‹•ã?™ã‚‹æ™‚ã‚„ (良ã?„ソリューションã?¯ Servletリスナーを使用ã?—ã?¾ã?™ã€‚下記å?‚ç…§)ã€?セッションã?Œèµ·å‹•ã?™ã‚‹æ™‚ã€?アプリケーションã?«ã?Šã?‘る接続ã?Œé–‹å§‹ã?™ã‚‹ã?¨ã?„ã?†ã?“ã?¨ã‚’æ„?味ã?—ã?¾ã?™ã€‚データベースã?¯ã€?セッションやアプリケーションã?Œå?Œã?˜é?Žç¨‹ã?§å®Ÿè¡Œã?—ã?¦ã?„ã‚‹é™?りã€?多様ã?ªã‚»ãƒƒã‚·ãƒ§ãƒ³ã‚„アプリケーションã?‹ã‚‰å?Œæ™‚ã?«æŽ¥ç¶šã?•ã‚Œã‚‹ã?“ã?¨ã?Œå?¯èƒ½ã?§ã?™ã€‚ 多ã??ã?®Servletコンテナã?¯ (例; Tomcat) ã?Ÿã? ã?²ã?¨ã?¤ã?®ãƒ—ロセスã?§åˆ©ç”¨ã?•ã‚Œã‚‹ã?®ã?§ã€?å•?題ã?¯ã?‚ã‚Šã?¾ã?›ã‚“。 (Tomcatをクラスターモードã?§èµ·å‹•ã?—ã?¦ã?„ã‚‹å ´å?ˆã‚’除ã?„ã?¦)。 Tomcatã?¯ãƒžãƒ«ãƒ?スレッドã?¨ãƒžãƒ«ãƒ?クラスローダーを使用ã?—ã?¦ã?„ã?¾ã?™ã€‚ã‚‚ã?—複数ã?®ã‚¢ãƒ—リケーションã?Œå?Œã?˜ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã?«å?Œæ™‚ã?«ã‚¢ã‚¯ã‚»ã‚¹ã?™ã‚‹å ´å?ˆã€?データベースjarをshared/libã€?ã?¾ã?Ÿã?¯server/libディレクトリã?«ç½®ã??必è¦?ã?Œã?‚ã‚Šã?¾ã?™ã€‚ webアプリケーションã?Œèµ·å‹•ã?—ã?Ÿæ™‚ã?«ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã‚’é–‹ã??ã€?webアプリケーションã?Œçµ‚了ã?—ã?Ÿæ™‚ã?«ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã‚’é–‰ã?˜ã‚‹ã?®ã?Œè‰¯ã?„方法ã?§ã?™ã€‚ã‚‚ã?—複数ã?®ã‚¢ãƒ—リケーションを使用ã?™ã‚‹å ´å?ˆã€?ã??ã?®ã?†ã?¡ã?²ã?¨ã?¤ã?®ã‚¢ãƒ—リケーションをã?“ã?®ã‚ˆã?†ã?«å‹•ä½œã?™ã‚‹ã?“ã?¨ã?Œå¿…è¦?ã?§ã?™ã€‚アプリケーションã?§ã?¯ã€?セッションã?”ã?¨ã?«ã?²ã?¨ã?¤ã?®æŽ¥ç¶šã‚’使ã?†ã?‹ã€?リクエスト(アクション)ã?”ã?¨ã?«ã?²ã?¨ã?¤ã?®æŽ¥ç¶šã‚’使ã?†ã?¨ã?„ã?†æ¦‚念ã?Œã?‚ã‚Šã?¾ã?™ã€‚ã?“れらã?®æŽ¥ç¶šã?¯ã?§ã??るé™?りã€?使用後ã?«çµ‚了ã?•ã?›ã?¾ã?™(ã?—ã?‹ã?—ã€?終了ã?•ã?›ã?ªã??ã?¦ã‚‚悪ã??ã?¯ã?‚ã‚Šã?¾ã?›ã‚“)。
(�?�在)最も簡�?��?�ソリューション�?�エンベッドモード�?�データベースを使用�?�る�?��?��?��?�。 �??れ�?��?アプリケーション�?�起動�?�る時や (良�?�ソリューション�?� Servletリスナーを使用�?��?��?�。下記�?�照)�?セッション�?�起動�?�る時�?アプリケーション�?��?��?�る接続�?�開始�?�る�?��?��?��?��?�を�?味�?��?��?�。データベース�?��?セッションやアプリケーション�?��?��?��?�程�?�実行�?��?��?�る�?り�?多様�?�セッションやアプリケーション�?�ら�?�時�?�接続�?�れる�?��?��?��?�能�?��?�。 多�??�?�Servletコンテナ�?� (例; Tomcat) �?��?��?��?��?��?�プロセス�?�利用�?�れる�?��?��?�?題�?��?�り�?��?�ん。 (Tomcatをクラスターモード�?�起動�?��?��?�る場�?�を除�?��?�)。 Tomcat�?�マル�?スレッド�?�マル�?クラスローダーを使用�?��?��?��?��?�。も�?�複数�?�アプリケーション�?��?��?�データベース�?��?�時�?�アクセス�?�る場�?��?データベースjarをshared/lib�?�?��?��?�server/libディレクトリ�?�置�??必�?�?��?�り�?��?�。 webアプリケーション�?�起動�?��?�時�?�データベースを開�??�?webアプリケーション�?�終了�?��?�時�?�データベースを閉�?�る�?��?�良�?�方法�?��?�。も�?�複数�?�アプリケーションを使用�?�る場�?��?�??�?��?��?��?��?��?��?�アプリケーションを�?��?�よ�?��?�動作�?�る�?��?��?�必�?�?��?�。アプリケーション�?��?��?セッション�?��?��?��?��?��?��?�接続を使�?��?��?リクエスト(アクション)�?��?��?��?��?��?��?�接続を使�?��?��?��?�概念�?��?�り�?��?�。�?�れら�?�接続�?��?��??る�?り�?使用後�?�終了�?��?��?��?�(�?��?��?��?終了�?��?��?��??�?�も悪�??�?��?�り�?��?�ん)。
@tutorial_1094_h3
サーãƒ?ーモード
サー�?ーモード
@tutorial_1095_p
サーãƒ?ーモードã?¯é¡žä¼¼ã?—ã?¦ã?„ã?¾ã?™ã?Œã€?他ã?®ãƒ—ロセスã?§ã‚µãƒ¼ãƒ?ーを起動ã?•ã?›ã‚‹ã?“ã?¨ã‚’許å?¯ã?—ã?¦ã?„ã?¾ã?™ã€‚
サー�?ーモード�?�類似�?��?��?��?��?��?��?他�?�プロセス�?�サー�?ーを起動�?��?�る�?��?�を許�?��?��?��?��?��?�。
@tutorial_1096_h3
データベースã?®èµ·å‹•ã?¨çµ‚了ã?«Servletリスナーを使用ã?™ã‚‹
データベース�?�起動�?�終了�?�Servletリスナーを使用�?�る
@tutorial_1097_p
以下を web.xmlファイルã?«è¿½è¨˜ã?—ã?¦ä¸‹ã?•ã?„。 (context-paramã?¨filterã?®é–“):
以下を web.xmlファイル�?�追記�?��?�下�?��?�。 (context-param�?�filter�?�間):
@tutorial_1098_p
#For details on how to access the database, see the code DbStarter.java
@tutorial_1099_h2
CSV (Comma Separated Values) サãƒ?ート
CSV (Comma Separated Values) サ�?ート
@tutorial_1100_p
データベースã?«CSVREADã?¨CSVWRITEã?®é–¢æ•°ã‚’使用ã?™ã‚‹ã?“ã?¨ã?§ã€? CSVファイルサãƒ?ートを使用ã?™ã‚‹ã?“ã?¨ã?Œã?§ã??ã€?スタンドアロンツールã?¨ã?—ã?¦ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã?®å¤–ã?§CSVライブラリを使用ã?™ã‚‹ã?“ã?¨ã?Œã?§ã??ã?¾ã?™ã€‚
データベース�?�CSVREAD�?�CSVWRITE�?�関数を使用�?�る�?��?��?��? CSVファイルサ�?ートを使用�?�る�?��?��?��?��??�?スタンドアロンツール�?��?��?�データベース�?�外�?�CSVライブラリを使用�?�る�?��?��?��?��??�?��?�。
@tutorial_1101_h3
データベース内ã?‹ã‚‰CSVファイルã?«æ›¸ã??込む
データベース内�?�らCSVファイル�?�書�??込む
@tutorial_1102_p
クエリã?‹ã‚‰CSVファイルを作æˆ?ã?™ã‚‹ã?®ã?«ã€?組込ã?¿é–¢æ•° CSVWRITEを使用ã?™ã‚‹ã?“ã?¨ã?Œã?§ã??ã?¾ã?™ã€‚例:
クエリ�?�らCSVファイルを作�?�?�る�?��?��?組込�?�関数 CSVWRITEを使用�?�る�?��?��?��?��??�?��?�。例:
@tutorial_1103_h3
データベース内ã?‹ã‚‰CSVファイルを読ã?¿è¾¼ã‚€
データベース内�?�らCSVファイルを読�?�込む
@tutorial_1104_p
CSVREAD関数を使用ã?—ã?¦CSVファイルを読ã?¿è¾¼ã‚€ã?“ã?¨ã?Œã?§ã??ã?¾ã?™ã€‚ 例:
CSVREAD関数を使用�?��?�CSVファイルを読�?�込む�?��?��?��?��??�?��?�。 例:
@tutorial_1105_h3
Javaアプリケーションã?‹ã‚‰CSVファイルã?«æ›¸ã??込む
Javaアプリケーション�?�らCSVファイル�?�書�??込む
@tutorial_1106_p
データベースを全ã??使用ã?—ã?ªã??ã?¦ã‚‚ã€?Javaアプリケーションã?§CSVツールを使用ã?™ã‚‹ã?“ã?¨ã?Œã?§ã??ã?¾ã?™ã€‚ 例:
データベースを全�??使用�?��?��??�?�も�?Javaアプリケーション�?�CSVツールを使用�?�る�?��?��?��?��??�?��?�。 例:
@tutorial_1107_h3
Javaアプリケーションã?‹ã‚‰CSVファイルを読ã?¿è¾¼ã‚€
Javaアプリケーション�?�らCSVファイルを読�?�込む
@tutorial_1108_p
データベースを開ã?‹ã?ªã??ã?¦ã‚‚CSVファイルを読ã?¿è¾¼ã‚€ã?“ã?¨ã?Œã?§ã??ã?¾ã?™ã€‚ 例:
データベースを開�?��?��??�?�もCSVファイルを読�?�込む�?��?��?��?��??�?��?�。 例:
@tutorial_1109_h2
アップグレードã€?ãƒ?ックアップã€?修復
アップグレード�?�?ックアップ�?修復
@tutorial_1110_h3
データベースã?®ã‚¢ãƒƒãƒ—グレー
データベース�?�アップグレー
@tutorial_1111_p
ã?‚ã‚‹ãƒ?ージョンã?®ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã‚¨ãƒ³ã‚¸ãƒ³ã‚’次ã?®ãƒ?ージョンã?«ã‚¢ãƒƒãƒ—グレードã?™ã‚‹éš›ã?®æŽ¨å¥¨ã?™ã‚‹æ–¹æ³•ã?¯ã€? å?¤ã?„エンジンを使ã?£ã?¦(SQLスクリプトã?®ãƒ•ã‚©ãƒ¼ãƒ ã?§ã?®)データベースã?®ãƒ?ックアップを作æˆ?ã?—ã€?新ã?—ã?„エンジンを使ã?£ã?¦SQLスクリプトを実行ã?—ã?¾ã?™ã€‚
�?�る�?ージョン�?�データベースエンジンを次�?��?ージョン�?�アップグレード�?�る際�?�推奨�?�る方法�?��? �?��?�エンジンを使�?��?�(SQLスクリプト�?�フォーム�?��?�)データベース�?��?ックアップを作�?�?��?新�?��?�エンジンを使�?��?�SQLスクリプトを実行�?��?��?�。
@tutorial_1112_h3
ãƒ?ックアップ
�?ックアップ
@tutorial_1113_p
異ã?ªã?£ã?Ÿæ–¹æ³•ã?®ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã?®ãƒ?ックアップã?Œã?‚ã‚Šã?¾ã?™ã€‚例ã?ˆã?°ã€?データベースファイルをコピーã?™ã‚‹ã?“ã?¨ã?Œå?¯èƒ½ã?§ã?™ã€‚ã?—ã?‹ã?—ã?ªã?Œã‚‰ã€?ã?“ã?®æ–¹æ³•ã?¯ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã?Œä½¿ç”¨ã?•ã‚Œã?¦ã?„ã‚‹é–“ã?¯æŽ¨å¥¨ã?—ã?¾ã?›ã‚“。データベースã?¯äººã?Œåˆ¤èª­ã?—ã‚„ã?™ã??ã€?極ã‚?ã?¦å¤§ã??ã?„ã?¨ã?„ã?†ã‚?ã?‘ã?§ã?¯ã?‚ã‚Šã?¾ã?›ã‚“。データベースãƒ?ックアップã?®æŽ¨å¥¨ã?™ã‚‹æ–¹æ³•ã?¯ã€?圧縮ã?—ã?ŸSQLスクリプトを作æˆ?ã?™ã‚‹ã?“ã?¨ã?§ã?™ã€‚ã?“ã?®æ–¹æ³•ã?¯ã€?ãƒ?ックアップツールを使用ã?™ã‚‹ã?“ã?¨ã?§å?¯èƒ½ã?§ã?™:
異�?��?��?�方法�?�データベース�?��?ックアップ�?��?�り�?��?�。例�?��?��?データベースファイルをコピー�?�る�?��?��?��?�能�?��?�。�?��?��?��?��?�ら�?�?��?�方法�?�データベース�?�使用�?�れ�?��?�る間�?�推奨�?��?��?�ん。データベース�?�人�?�判読�?�や�?��??�?極�?�?�大�??�?��?��?��?��?�?��?��?��?�り�?��?�ん。データベース�?ックアップ�?�推奨�?�る方法�?��?圧縮�?��?�SQLスクリプトを作�?�?�る�?��?��?��?�。�?��?�方法�?��?�?ックアップツールを使用�?�る�?��?��?��?�能�?��?�:
@tutorial_1114_p
オプションã?«ã?¤ã?„ã?¦ã?®æƒ…å ±ã?¯ã€?SQLコマンドスクリプトをã?”覧下ã?•ã?„。ãƒ?ックアップã?¯é? éš”ã?§è¡Œã?ˆã?¾ã?™ã?Œã€?ファイルã?¯ã‚µãƒ¼ãƒ?ーå?´ã?«ä½œã‚‰ã‚Œã?¾ã?™ã€‚サーãƒ?ーã?‹ã‚‰ãƒ•ã‚¡ã‚¤ãƒ«ã‚’å?–ã‚‹ã?®ã?«ã€?ビルトインFTPサーãƒ?ーを使用ã?™ã‚‹ã?“ã?¨ã?Œã?§ã??ã?¾ã?™ã€‚データベースã?®ãƒ?ックアップを作るã?®ã?«ã€?SQLコマンドスクリプトを 使用ã?™ã‚‹ã?“ã?¨ã‚‚ã?§ã??ã?¾ã?™ã€‚
オプション�?��?��?��?��?�情報�?��?SQLコマンドスクリプトを�?�覧下�?��?�。�?ックアップ�?��?�隔�?�行�?��?��?��?��?ファイル�?�サー�?ー�?��?�作られ�?��?�。サー�?ー�?�らファイルを�?�る�?��?��?ビルトインFTPサー�?ーを使用�?�る�?��?��?��?��??�?��?�。データベース�?��?ックアップを作る�?��?��?SQLコマンドスクリプトを 使用�?�る�?��?�も�?��??�?��?�。
@tutorial_1115_h3
修復
@tutorial_1116_p
SQLスクリプトファイルã?‹ã‚‰ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã‚’修復ã?™ã‚‹ã?«ã?¯ã€?RunScriptツールを使用ã?™ã‚‹å¿…è¦?ã?Œã?‚ã‚Šã?¾ã?™:
SQLスクリプトファイル�?�らデータベースを修復�?�る�?��?��?RunScriptツールを使用�?�る必�?�?��?�り�?��?�:
@tutorial_1117_p
オプションã?«ã?¤ã?„ã?¦ã?®æƒ…å ±ã?¯ã€?SQLコマンド RUNSCRIPTをã?”覧下ã?•ã?„。修復ã?¯é? éš”ã?§è¡Œã?ˆã?¾ã?™ã?Œã€?サーãƒ?ーå?´ã?«ãƒ•ã‚¡ã‚¤ãƒ«ã?Œå­˜åœ¨ã?™ã‚‹å¿…è¦?ã?Œã?‚ã‚Šã?¾ã?™ã€‚サーãƒ?ーã?‹ã‚‰ãƒ•ã‚¡ã‚¤ãƒ«ã‚’コピーã?™ã‚‹ã?®ã?«ã€?ビルトインFTPサーãƒ?ーを使用ã?™ã‚‹ã?“ã?¨ã?Œã?§ã??ã?¾ã?™ã€‚SQLスクリプトを実行ã?™ã‚‹ã?Ÿã‚?ã?«ã€? SQLコマンド RUNSCRIPTを使用ã?™ã‚‹ã?“ã?¨ã?Œã?§ã??ã?¾ã?™ã€‚SQLスクリプトファイルã?«ã?¯ã€?RUNSCRIPTコマンドã?®ãƒ•ã‚©ãƒ¼ãƒ å†…ã?«ä»–ã?®ã‚¹ã‚¯ãƒªãƒ—トファイルã?®ãƒªãƒ•ã‚¡ãƒ¬ãƒ³ã‚¹ã?Œå?«ã?¾ã‚Œã?¦ã?„ã?¾ã?™ã€‚ã?—ã?‹ã?—ã?ªã?Œã‚‰ã€?サーãƒ?ーモードを使用ã?—ã?¦ã?„る時ã€?リファレンススクリプトファイルã?¯ã‚µãƒ¼ãƒ?ーå?´ã?§åˆ©ç”¨å?¯èƒ½ã?§ã?‚ã‚‹ã?“ã?¨ã?Œå¿…è¦?ã?§ã?™ã€‚
オプション�?��?��?��?��?�情報�?��?SQLコマンド RUNSCRIPTを�?�覧下�?��?�。修復�?��?�隔�?�行�?��?��?��?��?サー�?ー�?��?�ファイル�?�存在�?�る必�?�?��?�り�?��?�。サー�?ー�?�らファイルをコピー�?�る�?��?��?ビルトインFTPサー�?ーを使用�?�る�?��?��?��?��??�?��?�。SQLスクリプトを実行�?�る�?��?�?��? SQLコマンド RUNSCRIPTを使用�?�る�?��?��?��?��??�?��?�。SQLスクリプトファイル�?��?��?RUNSCRIPTコマンド�?�フォーム内�?�他�?�スクリプトファイル�?�リファレンス�?��?��?�れ�?��?��?��?�。�?��?��?��?��?�ら�?サー�?ーモードを使用�?��?��?�る時�?リファレンススクリプトファイル�?�サー�?ー�?��?�利用�?�能�?��?�る�?��?��?�必�?�?��?�。
@tutorial_1118_h3
#Online Backup
......@@ -7075,35 +7084,104 @@ SQLスクリプトファイル
#The Backup tool (org.h2.tools.Backup) can not be used to create a online backup; the database must not be in use while running this program.
@tutorial_1121_h2
OpenOffice Baseを使用ã?™ã‚‹
OpenOffice Baseを使用�?�る
@tutorial_1122_p
OpenOffice.org Base ã?¯JDBC API上ã?®ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã‚¢ã‚¯ã‚»ã‚¹ã‚’サãƒ?ートã?—ã?¦ã?„ã?¾ã?™ã€‚ OpenOffice Baseを使ã?£ã?¦H2データベースã?«æŽ¥ç¶šã?™ã‚‹ã?Ÿã‚?ã?«ã?¯ã€?最åˆ?ã?«OpenOfficeã?«JDBCドライãƒ?を追加ã?™ã‚‹å¿…è¦?ã?Œã?‚ã‚Šã?¾ã?™ã€‚H2データベースã?«æŽ¥ç¶šã?™ã‚‹æ‰‹é †:
OpenOffice.org Base �?�JDBC API上�?�データベースアクセスをサ�?ート�?��?��?��?��?�。 OpenOffice Baseを使�?��?�H2データベース�?�接続�?�る�?��?�?��?��?最�?�?�OpenOffice�?�JDBCドライ�?を追加�?�る必�?�?��?�り�?��?�。H2データベース�?�接続�?�る手順:
@tutorial_1123_li
オートスタートをå?«ã‚?ã€?OpenOfficeを終了ã?™ã‚‹
オートスタートを�?��?�?OpenOfficeを終了�?�る
@tutorial_1124_li
h2.jar ファイルを <OpenOffice>\program\classes ディレクトリ内ã?«ã‚³ãƒ”ーã?™ã‚‹
h2.jar ファイルを &lt;OpenOffice&gt;\program\classes ディレクトリ内�?�コピー�?�る
@tutorial_1125_li
OpenOffice Base を起動ã?™ã‚‹
OpenOffice Base を起動�?�る
@tutorial_1126_li
存在ã?™ã‚‹ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã?«æŽ¥ç¶šã?—ã€?JDBCをé?¸æŠžã?—ã€?[Next] をクリックã?™ã‚‹
存在�?�るデータベース�?�接続�?��?JDBCを�?�択�?��?[Next] をクリック�?�る
@tutorial_1127_li
データソースURLã?®ä¾‹: jdbc:h2:c:/temp/test
データソースURL�?�例: jdbc:h2:c:/temp/test
@tutorial_1128_li
JDBCドライãƒ?クラス: org.h2.Driver
JDBCドライ�?クラス: org.h2.Driver
@tutorial_1129_p
ã?“ã‚Œã?§ã€?C:/temp ディレクトリ内ã?«æ ¼ç´?ã?•ã‚Œã?¦ã?„るデータベースã?«ã‚¢ã‚¯ã‚»ã‚¹å?¯èƒ½ã?§ã?™ã€‚
�?�れ�?��?C:/temp ディレクトリ内�?�格�?�?�れ�?��?�るデータベース�?�アクセス�?�能�?��?�。
@tutorial_1130_h2
#Java Web Start / JNLP
Java Web Start / JNLP
@tutorial_1131_p
#When using Java Web Start / JNLP (Java Network Launch Protocol), permissions tags must be set in the .jnlp file, and the application .jar file must be signed. Otherwise, when trying to write to the file system, the following exception will occur: java.security.AccessControlException: access denied (java.io.FilePermission ... read). Example permission tags:
@~faq_1010_h3
#Are there any known bugs? When is the next release?
@~faq_1011_p
#Usually, bugs get fixes as they are found. There is a release every few weeks. Here is the list of known and confirmed issues as of 2007-08-02:
@~faq_1012_li
#Some problems have been found with right outer join. Internally, it is converted to left outer join, which does not always produce the same results as other databases when used in combination with other joins.
@~faq_1013_h3
#Is this Database Engine Open Source?
@~faq_1014_p
#Yes. It is free to use and distribute, and the source code is included. See also under license.
@~faq_1015_h3
#My query is slow
@~faq_1016_p
#Slow SELECT (or DELETE, UPDATE, MERGE) statement can have multiple reasons. Follow this checklist:
@~faq_1017_li
#Run ANALYSE (see documentation for details).
@~faq_1021_h3
#How to Create a New Database?
@~faq_1022_p
#By default, a new database is automatically created if it does not yet exist.
@~faq_1023_h3
#How to Connect to a Database?
@~faq_1024_p
#The database driver is <code>org.h2.Driver</code> , and the database URL starts with <code>jdbc:h2:</code> . To connect to a database using JDBC, use the following code:
@~faq_1025_h3
#Where are the Database Files Stored?
@~faq_1026_p
#When using database URLs like jdbc:h2:~/test, the database is stored in the user directory. For Windows, this is usually C:\Documents and Settings\&lt;userName&gt;. If the base directory is not set (as in jdbc:h2:test), the database files are stored in the directory where the application is started (the current working directory). When using the H2 Console application from the start menu, this is [Installation Directory]/bin. The base directory can be set in the database URL. A fixed or relative path can be used. When using the URL jdbc:h2:file:data/sample, the database is stored in the directory data (relative to the current working directory). The directory must exist. It is also possible to use the fully qualified directory (and for Windows, drive) name. Example: jdbc:h2:file:C:/data/test
@~faq_1027_h3
#What is the Size Limit (maximum size) of a Database?
@~faq_1028_p
#The theoretical limit is currently 256 GB for the data. This number is excluding BLOB and CLOB data: Every CLOB or BLOB can be up to 256 GB as well. The size limit of the index data is 256 GB as well.
@~faq_1030_h3
#Is it Reliable?
@~faq_1031_p
#That is not easy to say. It is still a quite new product. A lot of tests have been written, and the code coverage of these tests is very high. Randomized stress tests are run regularly. But as this is a relatively new product, there are probably some problems that have not yet been found. Areas that are not 100% tested:
@~faq_1032_li
#Platforms other than Windows XP and the Sun JVM 1.4 and 1.5
@~faq_1044_p
#Areas considered Experimental:
@~faq_1045_li
#ODBC driver and the GCJ native version on Windows
@~faq_1049_h3
#Is the GCJ version stable? Faster?
@~faq_1050_p
#The GCJ version is not as stable as the Java version. When running the regression test with the GCJ version, sometimes the application just stops at what seems to be a random point without error message. Currently, the GCJ version is also slower than when using the Sun VM. However, the startup of the GCJ version is faster than when using a VM.
......@@ -389,47 +389,50 @@ faq_1006_a=Where are the Database Files Stored?
faq_1007_a=What is the Size Limit (maximum size) of a Database?
faq_1008_a=Is it Reliable?
faq_1009_a=Is the GCJ version stable? Faster?
faq_1010_h3=Are there any known bugs? When is the next release?
faq_1011_p=Usually, bugs get fixes as they are found. There is a release every few weeks. Here is the list of known and confirmed issues as of 2007-08-02\:
faq_1012_li=Some problems have been found with right outer join. Internally, it is converted to left outer join, which does not always produce the same results as other databases when used in combination with other joins.
faq_1013_h3=Is this Database Engine Open Source?
faq_1014_p=Yes. It is free to use and distribute, and the source code is included. See also under license.
faq_1015_h3=My query is slow
faq_1016_p=Slow SELECT (or DELETE, UPDATE, MERGE) statement can have multiple reasons. Follow this checklist\:
faq_1017_li=Run ANALYSE (see documentation for details).
faq_1018_li=Run the query with EXPLAIN and check if indexes are used (see documentation for details).
faq_1019_li=If required, create additional indexes and try again using ANALYZE and EXPLAIN.
faq_1020_li=If it doesn't help please report the problem.
faq_1021_h3=How to Create a New Database?
faq_1022_p=By default, a new database is automatically created if it does not yet exist.
faq_1023_h3=How to Connect to a Database?
faq_1024_p=The database driver is <code>org.h2.Driver</code> , and the database URL starts with <code>jdbc\:h2\:</code> . To connect to a database using JDBC, use the following code\:
faq_1025_h3=Where are the Database Files Stored?
faq_1026_p=When using database URLs like jdbc\:h2\:~/test, the database is stored in the user directory. For Windows, this is usually C\:\\Documents and Settings\\&lt;userName&gt;. If the base directory is not set (as in jdbc\:h2\:test), the database files are stored in the directory where the application is started (the current working directory). When using the H2 Console application from the start menu, this is [Installation Directory]/bin. The base directory can be set in the database URL. A fixed or relative path can be used. When using the URL jdbc\:h2\:file\:data/sample, the database is stored in the directory data (relative to the current working directory). The directory must exist. It is also possible to use the fully qualified directory (and for Windows, drive) name. Example\: jdbc\:h2\:file\:C\:/data/test
faq_1027_h3=What is the Size Limit (maximum size) of a Database?
faq_1028_p=The theoretical limit is currently 256 GB for the data. This number is excluding BLOB and CLOB data\: Every CLOB or BLOB can be up to 256 GB as well. The size limit of the index data is 256 GB as well.
faq_1029_p=The maximum file size for FAT or FAT32 file systems is 4 GB. So if you use FAT or FAT32, the limit is 4 GB for the data.
faq_1030_h3=Is it Reliable?
faq_1031_p=That is not easy to say. It is still a quite new product. A lot of tests have been written, and the code coverage of these tests is very high. Randomized stress tests are run regularly. But as this is a relatively new product, there are probably some problems that have not yet been found. Areas that are not 100% tested\:
faq_1032_li=Platforms other than Windows XP and the Sun JVM 1.4 and 1.5
faq_1033_li=Data types BLOB, CLOB, VARCHAR_IGNORECASE, OTHER
faq_1034_li=Cluster mode, 2-Phase Commit, Savepoints
faq_1035_li=Server mode (well tested, but not as well as Embedded mode)
faq_1036_li=Multi-Threading and using multiple connections
faq_1037_li=Updatable result sets
faq_1038_li=Referential integrity and check constraints, Triggers
faq_1039_li=ALTER TABLE statements, Views, Linked Tables, Schema, UNION
faq_1040_li=Not all built-in functions are completely tested
faq_1041_li=The Optimizer may not always select the best plan
faq_1042_li=24/7 operation and large databases (500 MB and up)
faq_1043_li=Wide indexes with large VARCHAR or VARBINARY columns and / or with a lot of columns
faq_1044_p=Areas considered Experimental\:
faq_1045_li=ODBC driver and the GCJ native version on Windows
faq_1046_li=Linear Hash Index
faq_1047_li=Compatibility modes for other databases (only some features are implemented)
faq_1048_li=The ARRAY data type and related functionality.
faq_1049_h3=Is the GCJ version stable? Faster?
faq_1050_p=The GCJ version is not as stable as the Java version. When running the regression test with the GCJ version, sometimes the application just stops at what seems to be a random point without error message. Currently, the GCJ version is also slower than when using the Sun VM. However, the startup of the GCJ version is faster than when using a VM.
faq_1010_a=How to Translate this Project?
faq_1011_h3=Are there any known bugs? When is the next release?
faq_1012_p=Usually, bugs get fixes as they are found. There is a release every few weeks. Here is the list of known and confirmed issues as of 2007-08-02\:
faq_1013_li=Some problems have been found with right outer join. Internally, it is converted to left outer join, which does not always produce the same results as other databases when used in combination with other joins.
faq_1014_h3=Is this Database Engine Open Source?
faq_1015_p=Yes. It is free to use and distribute, and the source code is included. See also under license.
faq_1016_h3=My query is slow
faq_1017_p=Slow SELECT (or DELETE, UPDATE, MERGE) statement can have multiple reasons. Follow this checklist\:
faq_1018_li=Run ANALYSE (see documentation for details).
faq_1019_li=Run the query with EXPLAIN and check if indexes are used (see documentation for details).
faq_1020_li=If required, create additional indexes and try again using ANALYZE and EXPLAIN.
faq_1021_li=If it doesn't help please report the problem.
faq_1022_h3=How to Create a New Database?
faq_1023_p=By default, a new database is automatically created if it does not yet exist.
faq_1024_h3=How to Connect to a Database?
faq_1025_p=The database driver is <code>org.h2.Driver</code> , and the database URL starts with <code>jdbc\:h2\:</code> . To connect to a database using JDBC, use the following code\:
faq_1026_h3=Where are the Database Files Stored?
faq_1027_p=When using database URLs like jdbc\:h2\:~/test, the database is stored in the user directory. For Windows, this is usually C\:\\Documents and Settings\\&lt;userName&gt;. If the base directory is not set (as in jdbc\:h2\:test), the database files are stored in the directory where the application is started (the current working directory). When using the H2 Console application from the start menu, this is [Installation Directory]/bin. The base directory can be set in the database URL. A fixed or relative path can be used. When using the URL jdbc\:h2\:file\:data/sample, the database is stored in the directory data (relative to the current working directory). The directory must exist. It is also possible to use the fully qualified directory (and for Windows, drive) name. Example\: jdbc\:h2\:file\:C\:/data/test
faq_1028_h3=What is the Size Limit (maximum size) of a Database?
faq_1029_p=The theoretical limit is currently 256 GB for the data. This number is excluding BLOB and CLOB data\: Every CLOB or BLOB can be up to 256 GB as well. The size limit of the index data is 256 GB as well.
faq_1030_p=The maximum file size for FAT or FAT32 file systems is 4 GB. So if you use FAT or FAT32, the limit is 4 GB for the data.
faq_1031_h3=Is it Reliable?
faq_1032_p=That is not easy to say. It is still a quite new product. A lot of tests have been written, and the code coverage of these tests is very high. Randomized stress tests are run regularly. But as this is a relatively new product, there are probably some problems that have not yet been found. Areas that are not 100% tested\:
faq_1033_li=Platforms other than Windows XP and the Sun JVM 1.4 and 1.5
faq_1034_li=Data types BLOB, CLOB, VARCHAR_IGNORECASE, OTHER
faq_1035_li=Cluster mode, 2-Phase Commit, Savepoints
faq_1036_li=Server mode (well tested, but not as well as Embedded mode)
faq_1037_li=Multi-Threading and using multiple connections
faq_1038_li=Updatable result sets
faq_1039_li=Referential integrity and check constraints, Triggers
faq_1040_li=ALTER TABLE statements, Views, Linked Tables, Schema, UNION
faq_1041_li=Not all built-in functions are completely tested
faq_1042_li=The Optimizer may not always select the best plan
faq_1043_li=24/7 operation and large databases (500 MB and up)
faq_1044_li=Wide indexes with large VARCHAR or VARBINARY columns and / or with a lot of columns
faq_1045_p=Areas considered Experimental\:
faq_1046_li=ODBC driver and the GCJ native version on Windows
faq_1047_li=Linear Hash Index
faq_1048_li=Compatibility modes for other databases (only some features are implemented)
faq_1049_li=The ARRAY data type and related functionality.
faq_1050_h3=Is the GCJ version stable? Faster?
faq_1051_p=The GCJ version is not as stable as the Java version. When running the regression test with the GCJ version, sometimes the application just stops at what seems to be a random point without error message. Currently, the GCJ version is also slower than when using the Sun VM. However, the startup of the GCJ version is faster than when using a VM.
faq_1052_h3=How to Translate this Project?
faq_1053_p=The following files can be translated at the moment\:
features_1000_h1=Features
features_1001_a=Feature List
features_1002_a=Comparison to Other Database Engines
......@@ -915,17 +918,17 @@ history_1006_p=The development of H2 was started in May 2004, but it was first p
history_1007_h2=Change Log
history_1008_h3=Version 1.0 (Current)
history_1009_h3=Version 1.0 / TODO (Build xx)
history_1010_li=Improved error messages\: some tools can't show the root cause of an exception. \tAdding the message of the root cause to the message of the thrown exception now where it makes sense.
history_1011_li=The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context, \t(for example javax.naming.InitialContext), and the URL the resource name (for example java\:comp/env/jdbc/Test). \tThis should also work for linked tables.
history_1010_li=Improved error messages\: some tools can't show the root cause of an exception. Adding the message of the root cause to the message of the thrown exception now where it makes sense.
history_1011_li=The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context, (for example javax.naming.InitialContext), and the URL the resource name (for example java\:comp/env/jdbc/Test). This should also work for linked tables.
history_1012_li=Google translate did not work for the H2 homepage. It should be fixed now.
history_1013_li=The CONVERT function did not work with views when using UNION.
history_1014_li=The build now issues a warning if the source code is switched to the wrong version.
history_1015_li=The default lock mode is now read committed instead of serialized.
history_1016_li=PG server\: data was truncated when reading large VARCHAR columns and decimal columns.
history_1017_li=PG server\: when the same database was accessed multiple times using the PostgreSQL ODBC driver, \tthe pg_catalog schema update failed, and connecting to the database was not possible. Fixed.
history_1017_li=PG server\: when the same database was accessed multiple times using the PostgreSQL ODBC driver, the pg_catalog schema update failed, and connecting to the database was not possible. Fixed.
history_1018_li=Some file operations didn't work for files in the root directory. Fixed.
history_1019_li=In the Restore tool, the parameter -file did not work. Fixed.
history_1020_li=Two-phase commit\: commit with transaction name was only supported in the recovery scan. \tNow it is always supported.
history_1020_li=Two-phase commit\: commit with transaction name was only supported in the recovery scan. Now it is always supported.
history_1021_li=The column name C_CURRENT_TIMESTAMP did not work in the last release.
history_1022_li=OpenOffice compatibility\: support database name in column names.
history_1023_h3=Version 1.0 / 2007-08-02 (Build 56)
......@@ -1582,7 +1585,7 @@ history_1673_li=Implement INSTEAD OF trigger.
history_1674_li=Access rights\: Finer grained access control (grant access for specific functions)
history_1675_li=Support N'text'
history_1676_li=Support SCOPE_IDENTITY() to avoid problems when inserting rows in a trigger
history_1677_li=Support DESCRIPT like MySQL or Oracle (DESC[RIBE] {[schema.]object[@connect_identifier]})
history_1677_li=Support DESCRIBE like MySQL or Oracle (DESC|DESCRIBE {[schema.]object[@connect_identifier]})
history_1678_h3=Not Planned
history_1679_li=HSQLDB (did) support this\: select id i from test where i>0 (other databases don't)
history_1680_li=String.intern (so that Strings can be compared with \=\=) will not be used because some VMs have problems when used extensively
......
......@@ -131,7 +131,7 @@
90108=Stack\u00FCberlauf (Rekursive Abfrage oder Funktion?)
90109=View {0} ist ung\u00FCltig\: {1}
90110={0} ausserhalb des Bereichts
90111=\Fehler beim Zugriff auf eine verkn\u00FCpfte Tabelle mit SQL Befehl {0}, Grund\: {1}
90111=Fehler beim Zugriff auf eine verkn\u00FCpfte Tabelle mit SQL Befehl {0}, Grund\: {1}
90112=Zeile nicht gefunden beim L\u00F6schen von Index {0}
90113=Datenbank-Verbindungs Option {0} nicht unterst\u00FCtzt
90114=Konstante {0} besteht bereits
......
......@@ -29,9 +29,9 @@
90006=Pole nie moze byc puste {0}
90007=Objekt jest zamkniety
90008=Nieprawidlowa wartosc {0} parametru {1}
90009=\#Cannot parse date constant {0}, cause\: {1} \#Nie mozna parsowac stalej daty {0}
90010=\#Cannot parse time constant {0}, cause\: {1} \#Nie mozna parsowac stalej czasu {0}
90011=\#Cannot parse timestamp constant {0}, cause\: {1} \#Nie mozna parsowac stalej stepla czasu {0}
90009=\#Cannot parse date constant {0}, cause\: {1}
90010=\#Cannot parse time constant {0}, cause\: {1}
90011=\#Cannot parse timestamp constant {0}, cause\: {1}
90012=Parametr o numerze {0} nie jest ustalony
90013=Baza danych {0} nie znaleziona
90014=Blad parsowania {0}
......@@ -46,15 +46,15 @@
90023=Kolumna Column {0} nie moze zawierac wartosci pustej
90024=Blad w zmianie nazwy pliku {0} na {1}
90025=Nie mozna skasowac pliku {0}
90026=\#Serialization failed, cause\: {0} \#Blad serializacji
90027=\#Deserialization failed, cause\: {0} \#Blad deserializacji
90026=\#Serialization failed, cause\: {0}
90027=\#Deserialization failed, cause\: {0}
90028=Blad wejscia/wyjscia\: {0}
90029=Aktualny rekord nie pozwala na aktualizacje
90030=Uszkodzenie pliku podczas wczytywania rekordu\: {0}
90031=Polaczenie nie zostalo zamkniete
90032=Uzytkownik {0} nie istnieje
90033=Uzytkownik {0} juz istnieje
90034=\#Log file error\: {0}, cause\: {1} \#Blad pliku logu\: {0}
90034=\#Log file error\: {0}, cause\: {1}
90035=Sekwencja {0} juz istnieje
90036=Sekwencja {0} nie istnieje
90037=Widok {0} nie istnieje
......@@ -63,8 +63,8 @@
90040=Uprawnienia administratora sa wymagane do wykonania tej operacji
90041=Wyzwalacz {0} juz istnieje
90042=Wyzwalacz {0} nie istnieje
90043=\#Error creating or initializing trigger {0} object, class {1}, cause\: {2}; see root cause for details \#\#Blad tworzenia wyzwalacza, obiekt {0}, klasa {1}
90044=\#Error executing trigger {0}, class {1}, cause \: {2}; see root cause for details \#\#Blad wykonania wyzwalacza, obiekt {0}, klasa {1}
90043=\#Error creating or initializing trigger {0} object, class {1}, cause\: {2}; see root cause for details
90044=\#Error executing trigger {0}, class {1}, cause \: {2}; see root cause for details
90045=Ograniczenie {0} juz istnieje
90046=Bledny format URL; powinno byc {0} a jest {1}
90047=Niezgodna wersja sterownika, aktualna werjsa to {0} a wersja serwera to {1}
......@@ -81,7 +81,7 @@
90058=Zduplikowana tabela lub alias tabeli {0}
90059=Niejednoznaczna nazwa kolumny {0}
90060=Niewspierana metoda blokowania pliku {0}
90061=\#Exception opening port {0} (port may be in use), cause\: {1} \#Blad otwarcia portu {0} (prawdopodobnie port jest w uzyciu)
90061=\#Exception opening port {0} (port may be in use), cause\: {1}
90062=Blad tworzenia pliku {0}
90063=Zakladka jest nieprawidlowa\: {0}
90064=Zakladka jest bez nazwy
......@@ -119,7 +119,7 @@
90096=Brak wystarczajacych praw do obiektu {0}
90097=Baza danych jest w trybie tylko do odczytu
90098=Baza danych zostala zamknieta
90099=\#Error setting database event listener {0}, cause\: {1} \#Blad ustawienia sluchacza zdarzen bazy danych {0}
90099=\#Error setting database event listener {0}, cause\: {1}
90100=Brak miejsca na dysku
90101=Zly format XID\: {0}
90102=Nie wspierana opcja kompresji\: {0}
......@@ -131,7 +131,7 @@
90108=Przepelnienie stosu (rekursywna kwerenda lub funkcja?)
90109=Widok {0} jest nieprawidlowy
90110={0} poza zakresem
90111=\#Error accessing linked table with SQL statement {0}, cause\: {1} \#Blad dostepu do podlaczonej tabeli w wyrazeniu SQL {0}
90111=\#Error accessing linked table with SQL statement {0}, cause\: {1}
90112=Rekord nie znaleziony przy probie kasowania z indeksu {0}
90113=Ni ewspierana opcja polaczenia {0}
90114=Stala {0} juz istnieje
......
......@@ -79,7 +79,7 @@ resultEdit.editResult=Editer
resultEdit.save=Enregistrer
toolbar.all=Tous
toolbar.autoCommit=Validation automatique (auto commit)
toolbar.autoComplete=\#Auto-Complete
toolbar.autoComplete=\#Auto complete
toolbar.autoComplete.full=\#Full
toolbar.autoComplete.normal=\#Normal
toolbar.autoComplete.off=\#Off
......
......@@ -79,7 +79,7 @@ resultEdit.editResult=\u7F16\u8F91\u7ED3\u679C\u96C6
resultEdit.save=\u4FDD\u5B58
toolbar.all=\u5168\u90E8
toolbar.autoCommit=\u81EA\u52A8\u63D0\u4EA4
toolbar.autoComplete=\#Auto-Complete
toolbar.autoComplete=\#Auto complete
toolbar.autoComplete.full=\#Full
toolbar.autoComplete.normal=\#Normal
toolbar.autoComplete.off=\#Off
......
......@@ -25,7 +25,7 @@ INSERT INTO ITEM VALUES(26,
</li><li>The per session undo log can now be disabled.
</li><li>Referential integrity can now be disabled.
</li><li>To avoid memory problems when using large transactions,
h2.defaultMaxMemoryUndo is now 50000.
h2.defaultMaxMemoryUndo is now 50000.
</li><li>DEFAULT_MAX_LENGTH_INPLACE_LOB is now 1024.
</li><li>The cache size is now measured in KB.
</li><li>Optimization for NOT, boolean columns, and certain joins.
......
......@@ -59,10 +59,15 @@ public class CheckTextFiles {
}
}
if(name.endsWith(".html") && name.indexOf("_ja") > 0) {
int todoRemoveJapaneseFiles;
// Japanese html files are UTF-8 at this time
check = false;
ignore = true;
}
if(name.endsWith(".utf8.txt")) {
check = false;
ignore = true;
}
for(int i=0; i<suffixIgnore.length; i++) {
if(suffix.equals(suffixIgnore[i])) {
ignore = true;
......
......@@ -28,9 +28,9 @@ public class SpellChecker {
private static final String[] SUFFIX = new String[]{
"html", "java", "sql", "txt", "xml", "jsp", "css", "bat", "csv", "xml", "js", "Driver", "properties", "task", "php", "" };
private static final String[] IGNORE = new String[]{
"cpp", "h", "win", "dev", "def", "nsi",
"gif", "png", "odg", "ico", "sxd", "zip", "bz2", "rc", "layout", "res", "dll", "jar"};
"dev", "nsi", "gif", "png", "odg", "ico", "sxd", "zip", "bz2", "rc", "layout", "res", "dll", "jar"};
private static final String PREFIX_IGNORE = "abc";
private static final String IGNORE_FILE = "mainWeb.html";
public static void main(String[] args) throws IOException {
String dir = "src";
......@@ -103,6 +103,9 @@ public class SpellChecker {
break;
}
}
if(fileName.endsWith(IGNORE_FILE)) {
ignore = true;
}
if(ignore) {
return;
}
......
......@@ -498,4 +498,6 @@ plpgsql interrupting spring oids plperl regex newest
xhtml transactionally remotly jnlp launch mirror subversion matcher hoohoho matching bulk
prorettype pronamespace groname inlining nopmd openfire joda fastutil ibatis igniterealtime unimi dsi
irstv trac iict geosysin fukushima yusuke msi odbcad recent viewed calculation installs embedding relation
resizing translator liqui prepends liquibase typo restarting refactorings manage review
\ No newline at end of file
resizing translator liqui prepends liquibase typo restarting refactorings manage review
mathematicians instantiation homepage supporter grained tilde subscribe baseline wrapped bundle finer relying dangerous
finalizer textbase newsfeeds quicksort
\ No newline at end of file
......@@ -60,8 +60,8 @@ public class Doclet {
writer.println("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">");
String language = "en";
writer.println("<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\""+language+"\" xml:lang=\""+language+"\">");
writer.println(className);
writer.println("<head><meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf-8\" /><title>");
writer.println(className);
writer.println("</title><link rel=\"stylesheet\" type=\"text/css\" href=\"../../../stylesheet.css\" /></head><body>");
writer.println("<table class=\"content\"><tr class=\"content\"><td class=\"content\"><div class=\"contentDiv\">");
......
......@@ -48,7 +48,7 @@ public class PrepareTranslation {
buildHtml("src/docsrc/text", "docs/html", "de");
buildHtml("src/docsrc/text", "docs/html", "ja");
// convert the properies files back to utf8 text files, including the main lanuage (to be used as a template)
// convert the properties files back to utf8 text files, including the main language (to be used as a template)
PropertiesToUTF8.propertiesToTextUTF8("src/docsrc/text/_docs_en.properties", "src/docsrc/text/_docs_en.utf8.txt");
PropertiesToUTF8.propertiesToTextUTF8("src/docsrc/text/_docs_de.properties", "src/docsrc/text/_docs_de.utf8.txt");
PropertiesToUTF8.propertiesToTextUTF8("src/docsrc/text/_docs_ja.properties", "src/docsrc/text/_docs_ja.utf8.txt");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论