提交 9e6016a2 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 5064d142
......@@ -254,25 +254,28 @@ It looks like the development of this database has stopped. The last release was
<td>Fun-to-play games with a simple interface.</td>
</tr><tr>
<td><a href="http://hibernate.org">Hibernate</a></td>
<td>Relational persistence for idiomatic Java (O-R mapping tool)</td>
<td>Relational persistence for idiomatic Java (O-R mapping tool).</td>
</tr><tr>
<td><a href="http://geosysin.iict.ch/irstv-trac/wiki/H2spatial/Why">H2 Spatial</a></td>
<td>A project to add spatial functions to H2 database</td>
<td>A project to add spatial functions to H2 database.</td>
</tr><tr>
<td><a href="http://jamwiki.org">JAMWiki</a></td>
<td>Java-based Wiki engine.</td>
</tr><tr>
<td><a href="http://mywebpage.netscape.com/davidlbarron/javaplayer.html">JavaPlayer</a></td>
<td>Pure Java MP3 player</td>
<td>Pure Java MP3 player.</td>
</tr><tr>
<td><a href="http://www.jpox.org">JPOX</a></td>
<td>Java persistent objects</td>
<td>Java persistent objects.</td>
</tr><tr>
<td><a href="http://liquibase.sourceforge.net">LiquiBase</a></td>
<td>A tool to manage database changes and refactorings.</td>
</tr><tr>
<td><a href="http://luntbuild.javaforge.com">Luntbuild</a></td>
<td>Build automation and management tool</td>
<td>Build automation and management tool.</td>
</tr><tr>
<td><a href="http://www.jenkov.com/mrpersister/introduction.tmpl">Mr. Persister</a></td>
<td>Simple, small and fast object relational mapping</td>
<td>Simple, small and fast object relational mapping.</td>
</tr><tr>
<td><a href="http://www.polepos.org">PolePosition</a></td>
<td>Open source database benchmark.</td>
......
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<!--
Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
Initial Developer: H2 Group
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>H2 データベース エンジン</title>
<script type="text/javascript" src="navigation.js"></script>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<link rel="alternate" type="application/atom+xml" title="H2 Newsfeed" href="http://www.h2database.com/html/newsfeed-atom.xml" />
<link rel="alternate" type="application/rss+xml" title="H2 Newsfeed" href="http://www.h2database.com/html/newsfeed-rss.xml" />
</head>
<frameset cols="180,*" rows="*" frameborder="2" framespacing="4" border="4" onLoad="loadFrameset()">
<frame frameborder="0" marginheight="0" marginwidth="0" src="search_ja.html" name="menu" />
<frame frameborder="0" marginheight="0" marginwidth="0" src="main_ja.html" name="main" />
</frameset>
<noframes>
<body>
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>.
</body>
</noframes>
</html>
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
Initial Developer: H2 Group
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title>
Installation
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" />
<script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();">
<table class="content"><tr class="content"><td class="content"><div class="contentDiv">
<h1>インストール</h1>
<a href="#requirements">
必要条件</a><br />
<a href="#supported_platforms">
サポートされているプラットフォーム</a><br />
<a href="#installing">
ソフトウェアのインストール </a><br />
<a href="#directory_structure">
ディレクトリ構成</a><br />
<br /><a name="requirements"></a>
<h2>必要条件</h2>
データベースを実行するために、以下のソフトウェアが動作することを確認します。 互換性のあるソフトウェアでも動作しますが、テストはされていません。
<ul>
<li>Windows XP, MacOS, or Linux
</li><li>Recommended Windows file system: NTFS (FAT32 supports files up to 4 GB)
</li><li>Sun JDK 1.4 or newer
</li><li>Mozilla Firefox 1.5 or newer
</li></ul>
<br /><a name="supported_platforms"></a>
<h2>サポートされているプラットフォーム</h2>
このデータベースはJavaで書かれているため、多くの異なったプラットフォームで実行することができます。 Java 1.4 と 1.5でテストされましたが、GCJを使用することでネイティブコードにコンパイルすることもできます。 ソースコードはJava 1.5の特徴は使われていません。現在、データベースはWindows XPでSun JDKを使用して開発、テストされていますが、 おそらく、他の多くのOSと他のJava Runtime Environmentを使用しても動作するでしょう。
<br /><a name="installing"></a>
<h2>ソフトウェアのインストール</h2>
ソフトウェアをインストールするために、インストーラーを実行するか 選択したディレクトリにソフトウェアを解凍します。
<br /><a name="directory_structure"></a>
<h2>ディレクトリ構成</h2>
<p>
インストール後、下記のディレクトリ構成が作られます:
</p>
<table>
<tr>
<th>ディレクトリ</th>
<th>コンテンツ</th>
</tr>
<tr>
<td>bin</td>
<td>JAR and batch files</td>
</tr>
<tr>
<td>docs</td>
<td>Documentation</td>
</tr>
<tr>
<td>docs/html</td>
<td>HTML pages</td>
</tr>
<tr>
<td>docs/javadoc</td>
<td>Javadoc files</td>
</tr>
<tr>
<td>odbc</td>
<td>ODBC drivers and tools</td>
</tr>
<tr>
<td>service</td>
<td>Tools to run the database as a Windows Service</td>
</tr>
<tr>
<td>src</td>
<td>Source files</td>
</tr>
</table>
</div></td></tr></table></body></html>
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
Initial Developer: H2 Group
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title>
H2 Database Engine
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" />
<script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();">
<table class="content"><tr class="content"><td class="content"><div class="contentDiv">
<h1>H2 データベース エンジン</h1>
<p>
ようこそ、無料のSQLデータベース、H2へ
</p>
<a href="quickstartText_ja.html" style="font-size: 16px; font-weight: bold">クイックスタート</a>
<br />
Click here to get a fast overview.
<br /><br />
<a href="tutorial_ja.html" style="font-size: 16px; font-weight: bold">チュートリアル</a>
<br />
Go through the samples.
<br /><br />
<a href="features.html" style="font-size: 16px; font-weight: bold">特徴</a>
<br />
See what this database can do and how to use these features.
<br /><br />
</div></td></tr></table></body></html>
......@@ -25,7 +25,7 @@ Welcome to H2, the free SQL database. The main feature of H2 are:
</li><li>JDBC and (partial) ODBC API; Web Client application
</li></ul>
<table style="border: 0px;">
<table style="border: 0px; width: 395px;">
<tr><td style="background-color: #eee;">
<table style="border: 0px; margin: 5px; background-color: #eee;">
<tr><td style="border: 0px; background-color: #eee;" colspan="2">
......@@ -40,7 +40,7 @@ Welcome to H2, the free SQL database. The main feature of H2 are:
<tr><td style="border: 0px; background-color: #eee;">
<a href="http://www.h2database.com/h2-2007-07-12.zip"><img border="1" src="images/download.png" alt="download" /></a>
</td><td style="vertical-align: middle; border: 0px; background-color: #eee;">
<a href="http://www.h2database.com/h2-2007-07-12.zip">Platform-Independent Zip (3.8 MB)</a>
<a href="http://www.h2database.com/h2-2007-07-12.zip">All platforms (zip, 3.8 MB)</a>
</td></tr>
<tr><td style="border: 0px; background-color: #eee;" colspan="2">
<a href="download.html">All Downloads</a>
......@@ -67,21 +67,6 @@ Welcome to H2, the free SQL database. The main feature of H2 are:
document.write('<' + 'a h'+'ref="em' + 'ail:' + d + c + e + g + f +'">' + d + c + e + g + f);
//-->
</script>
<!--
The forum doesn't work at the moment, sorry. <br />
But you can send an e-mail to: <p>
<script type="text/javascript">
var a = '-support.png';
var b = 'mail';
var c = 'support ';
var d = 'db';
var e = 'at ';
var f = '.com';
var g = 'h2database';
var alt = 'mail address: ' + d + c + e + g + f + '(without spaces)';
document.write('<'+'a h' + 'ref="em' + 'ail:' + d + c + e + g + f +'">' + d + c + e + g + f);
</script>
-->
</p>
</td></tr>
</table>
......@@ -111,11 +96,11 @@ Welcome to H2, the free SQL database. The main feature of H2 are:
and <a href="http://www.h2database.com/html/newsfeed-rss.xml" target="_blank">Header only (RSS)</a>.
</p>
<form name="newsletter" method="post" action="php/newsletter.php">
<b>Email Newsletter</b>: Subscribe to
<b>Email Newsletter:</b> Subscribe to
<a href="http://groups.google.com/group/h2database-news/subscribe">
H2 Database News (Google account required)</a><br />
H2 Database News (Google account required)</a>
to get informed about new releases.
Your email address is only used in this context.<br />
Your email address is only used in this context.
If you don't want a Google account, there is a manually maintained list as well: <br />
Email: <input type="text" name="email" size="30"/>
<input type="hidden" name="text" value="subscribe"/>
......@@ -132,9 +117,10 @@ Welcome to H2, the free SQL database. The main feature of H2 are:
<tr><td style="border: 0px; background-color: #eee;">
<h3>Contribute</h3>
<p>
You can contribute to the development of H2 by sending feedback and bug<br />
reports, or translate the H2 Console application (files h2/src/main/org/h2/<br />
server/web/res/_text_*.properties). Or click on the PayPal button below to<br />
You can contribute to the development of H2 by sending feedback and bug
reports, or translate the H2 Console application (files
h2/src/main/org/h2/server/web/res/_text_*.properties).
Or click on the PayPal button below to
donate money. You will be listed as a supporter:
</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
......
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html). -->
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title>
H2 データベース エンジン
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" />
<link rel="alternate" type="application/atom+xml" title="H2 Newsfeed" href="http://www.h2database.com/html/newsfeed-atom.xml" />
<link rel="alternate" type="application/rss+xml" title="H2 Newsfeed" href="http://www.h2database.com/html/newsfeed-rss.xml" />
<script type="text/javascript" src="navigation.js"></script>
<style type="text/css">
<!--
h3 { margin-top: 0px; margin-bottom: 10px; }
-->
</style>
</head><body onload="frameMe();">
<table class="content"><tr class="content"><td class="content"><div class="contentDiv">
<h1>H2 データベース エンジン</h1>
<p>
ようこそ、無料のSQLデータベース、H2へ。H2の主な特徴は:
</p>
<ul>
<li>速度がとても速く、全ての方が無料で使用でき、ソースコードが含まれています
</li><li>Javaで書かれています; GCJ (Linux) でコンパイル可能
</li><li>エンベッド、サーバー、クラスターモードに対応
</li><li>JDBC、 (部分的な) ODBC API; Web クライアントアプリケーション
</li></ul>
<table style="border: 0px; width: 395px;">
<tr><td style="background-color: #eee;">
<table style="border: 0px; margin: 5px; background-color: #eee;">
<tr><td style="border: 0px; background-color: #eee;" colspan="2">
<h3>ダウンロード</h3>
Version 1.0 / 2007-07-12:
</td></tr>
<tr><td style="border: 0px; background-color: #eee;">
<a href="http://www.h2database.com/h2-setup-2007-07-12.exe"><img border="1" src="images/download.png" alt="download" /></a>
</td><td style="vertical-align: middle; border: 0px; background-color: #eee;">
<a href="http://www.h2database.com/h2-setup-2007-07-12.exe">Windows Installer (2.9 MB)</a>
</td></tr>
<tr><td style="border: 0px; background-color: #eee;">
<a href="http://www.h2database.com/h2-2007-07-12.zip"><img border="1" src="images/download.png" alt="download" /></a>
</td><td style="vertical-align: middle; border: 0px; background-color: #eee;">
<a href="http://www.h2database.com/h2-2007-07-12.zip">Platform-Independent Zip (3.8 MB)</a>
</td></tr>
<tr><td style="border: 0px; background-color: #eee;" colspan="2">
<a href="download.html">全てダウンロード</a>
</td></tr>
</table>
</td><td style="border: 0px;">&nbsp;&nbsp;&nbsp;</td>
<td style="background-color: #eee;">
<table style="border: 0px; margin: 5px;">
<tr><td style="border: 0px; background-color: #eee;">
<h3>サポート</h3>
<p>
<a href="http://groups.google.com/group/h2-database" target="_top">Google グループ: ヘルプとディスカッション</a><br /><br />
e-mail はこちらから:<br />
<script type="text/javascript">
<!--
var a = '-support.png';
var b = 'mail';
var c = 'support ';
var d = 'db';
var e = 'at ';
var f = '.com';
var g = 'h2database';
var alt = 'mail address: ' + d + c + e + g + f + '(without spaces)';
document.write('<' + 'a h'+'ref="em' + 'ail:' + d + c + e + g + f +'">' + d + c + e + g + f);
//-->
</script>
</p>
</td></tr>
</table>
</td></tr>
<tr><td colspan="3" style="border: 0px">&nbsp;</td></tr>
<tr><td colspan="3" style="border: 0px">
<table style="border: 0px; margin: 5px; width: 100%;">
<tr><td style="border: 0px;" >
<h3>パフォーマンス</h3>
<img border="0" src="images/performance.png" alt="Performance comparison" /><br />
操作/秒 (高い方がより良い) - <a href="performance.html">このテストについての詳しい情報</a>
</td></tr>
</table>
</td></tr>
<tr><td colspan="3" style="border: 0px">&nbsp;</td></tr>
<tr><td colspan="3" style="background-color: #eee;">
<table style="border: 0px; margin: 5px; background-color: #eee;">
<tr><td style="border: 0px; background-color: #eee;">
<h3>ニュース</h3>
<p>
<b>ニュースフィード:</b> 二種類から選べます:
<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>.
</p>
<form name="newsletter" method="post" action="php/newsletter.php">
<b>Email ニュースレター:</b>
<a href="http://groups.google.com/group/h2database-news/subscribe">
H2 データベース ニュース (Googleアカウントが必要です)</a>
に署名し、ニューリリースについての情報を入手して下さい。
あなたのemailアドレスはこのコンテンツでのみ使用されます。
もしGoogleアカウントを入手したくないのであれば、 こちらのリストに入力して下さい: <br />
Email: <input type="text" name="email" size="30"/>
<input type="hidden" name="text" value="subscribe"/>
<input type="submit" value="Submit"/>
</form>
</td></tr>
</table>
</td></tr>
<tr><td colspan="3" style="border: 0px">&nbsp;</td></tr>
<tr><td colspan="3" style="background-color: #eee;">
<table style="border: 0px; margin: 5px;">
<tr><td style="border: 0px; background-color: #eee;">
<h3>寄稿する</h3>
<p>
H2の発展のため、フィードバックやバグ報告を送ったり、H2コンソールアプリケーション
(ファイル h2/src/main/org/h2/server/web/res/_text_*.properties)を訳すなど、
投稿することができます。また、下にある PayPal ボタンをクリックすることで
寄付することもできます。 支援者として、あなたの名前が載ります:
</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
<input type="hidden" name="cmd" value="_s-xclick"/>
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" border="0" name="submit" alt="PayPal"/>
<img alt="" border="0" src="https://www.paypal.com/de_DE/i/scr/pixel.gif" width="1" height="1" />
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHNwYJKoZIhvcNAQcEoIIHKDCCByQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBT5YHCnqqyWDNUoD0DGudVB/0gMr1D2iOAKr/X+zR9VGBMeZsBtgmJphsbszGxXXEGxwzIVAv/ys+8TKW/uvk9UvZcDqFbCvupXmVIv3dp143N1xHsyLQGGHd8aFNraqCF7fdFoQ8GHzwvNw0VaPbGqU6udswpKz/225zBkMCjTjELMAkGBSsOAwIaBQAwgbQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIvFAVO1Ru/gCAgZCWN/nYxfM8UtcqFy4Z+KefQIgmUISauadMhddUvvkARcSyEOITMCoEkJCc0KC+2mp9noBz2VhDO7uxNIjdj4O74V4iNcRsSy2d7CJe4QEBw2PCrnw2GsLkcL0DDfCE4Y0KfF6zHyUq/GNGUVR8ZhrFTSSLjh4tJJzuLYBPIbWHv89K1OJsWGuHs8dB5zGcbQ6gggOHMIIDgzCCAuygAwIBAgIBADANBgkqhkiG9w0BAQUFADCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20wHhcNMDQwMjEzMTAxMzE1WhcNMzUwMjEzMTAxMzE1WjCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMFHTt38RMxLXJyO2SmS+Ndl72T7oKJ4u4uw+6awntALWh03PewmIJuzbALScsTS4sZoS1fKciBGoh11gIfHzylvkdNe/hJl66/RGqrj5rFb08sAABNTzDTiqqNpJeBsYs/c2aiGozptX2RlnBktH+SUNpAajW724Nv2Wvhif6sFAgMBAAGjge4wgeswHQYDVR0OBBYEFJaffLvGbxe9WT9S1wob7BDWZJRrMIG7BgNVHSMEgbMwgbCAFJaffLvGbxe9WT9S1wob7BDWZJRroYGUpIGRMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbYIBADAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAIFfOlaagFrl71+jq6OKidbWFSE+Q4FqROvdgIONth+8kSK//Y/4ihuE4Ymvzn5ceE3S/iBSQQMjyvb+s2TWbQYDwcp129OPIbD9epdr4tJOUNiSojw7BHwYRiPh58S1xGlFgHFXwrEBb3dgNbMUa+u4qectsMAXpVHnD9wIyfmHMYIBmjCCAZYCAQEwgZQwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tAgEAMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0wNzAxMDcxMTI5MzFaMCMGCSqGSIb3DQEJBDEWBBRCGFuirr8xc1NmatO8jdDYt93luzANBgkqhkiG9w0BAQEFAASBgLJMfUrlr/Ckx/peA6UOkMqsB20W7M9FC4dYaGrlhSf0Og2N3NVlBrliloxGq85KpLnwJsKsh1wbP2aMGHvbicpCOsRoogPVvFI0cLb2UfPFkT0fRuEKerxcVVZQq26WjMq3h/Gps5tQEBGEB5Ok9IGP/dusNA+YijCt5XA/WM47-----END PKCS7-----"/>
</form>
</td></tr>
</table>
</td></tr>
<tr><td colspan="3" style="border: 0px">&nbsp;</td></tr>
<tr><td colspan="3" style="background-color: #eee;">
<table style="border: 0px; margin: 5px;">
<tr><td style="border: 0px; background-color: #eee;">
<h3>フィードバック</h3>
質問や要望、その他あらゆるフィードバックはこちらから送信して下さい:
<form method="post" action="php/sendMail.php">
<p>
Email (任意):<br />
<input name="email" size="73" type="text"/>
</p>
メッセージ:<br />
<textarea name="text" cols="70" rows="5"></textarea>
<br />
<input value="Submit" type="submit"/>
</form>
</td></tr>
</table>
</td></tr>
</table>
</div></td></tr></table></body></html>
\ No newline at end of file
......@@ -33,7 +33,7 @@ This database can be used in embedded mode, or in server mode. To use it in embe
<h2>The H2 Console Application</h2>
The Console lets you access a SQL database using a browser interface.
<br />
<img src="console.png" alt="Web Browser - H2 Console Server - H2 Database" />
<img src="images/console.png" alt="Web Browser - H2 Console Server - H2 Database" />
<br />
If you don't have Windows XP, or if something does not work as expected,
please see the detailed description in the <a href="tutorial.html">Tutorial</a>.
......@@ -48,33 +48,33 @@ Click <span class="button">Start</span>,
<span class="button">All Programs</span>,
<span class="button">H2</span>, and
<span class="button">H2 Console (Command Line)</span>:<br />
<img class="screenshot" src="quickstart-1.png" alt="screenshot: start H2 Console" /><br />
<img class="screenshot" src="images/quickstart-1.png" alt="screenshot: start H2 Console" /><br />
A new console window appears:<br />
<img class="screenshot" src="quickstart-2.png" alt="screenshot: H2 Running" /><br />
<img class="screenshot" src="images/quickstart-2.png" alt="screenshot: H2 Running" /><br />
Also, a new browser page should open with the URL http://localhost:8082.
You may get a security warning from the firewall. If you don't want other computers in the network to access the database
on your machine, you can let the firewall block these connections. Only local connections are required at this time.
<h4>Login</h4>
Select <span class="button">Generic H2</span> and click <span class="button">Connect</span>:<br />
<img class="screenshot" src="quickstart-3.png" alt="screenshot: Login screen" /><br />
<img class="screenshot" src="images/quickstart-3.png" alt="screenshot: Login screen" /><br />
You are now logged in.
<h4>Sample</h4>
Click on the <span class="button">Sample SQL Script</span>:<br />
<img class="screenshot" src="quickstart-4.png" alt="screenshot: click on the sample SQL script" /><br />
<img class="screenshot" src="images/quickstart-4.png" alt="screenshot: click on the sample SQL script" /><br />
The SQL commands appear in the command area.<br />
<h4>Execute</h4>
Click <span class="button">Run</span>:<br />
<img class="screenshot" src="quickstart-5.png" alt="screenshot: click Run" /><br />
<img class="screenshot" src="images/quickstart-5.png" alt="screenshot: click Run" /><br />
On the left side, a new entry TEST is added below the database icon.
The operations and results of the statements are shown below the script.<br />
<img class="screenshot" src="quickstart-6.png" alt="screenshot: see the result" /><br />
<img class="screenshot" src="images/quickstart-6.png" alt="screenshot: see the result" /><br />
<h4>Disconnect</h4>
Click on <span class="button">Disconnect</span>:<br />
<img src="icon_disconnect.gif" alt="Disconnect icon" /><br />
<img src="images/icon_disconnect.gif" alt="Disconnect icon" /><br />
to close the database.
<h4>End</h4>
......
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
Initial Developer: H2 Group
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title>
Quickstart
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" />
<script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();">
<table class="content"><tr class="content"><td class="content"><div class="contentDiv">
<h1>クイックスタート</h1>
<a href="#embedding">
Embedding H2 in an Application</a><br />
<a href="#h2_console">
H2 コンソール アプリケーション</a><br />
<br /><a name="embedding"></a>
<h2>Embedding H2 in an Application</h2>
This database can be used in embedded mode, or in server mode. To use it in embedded mode, you need to:
<ul>
<li>Add <code>h2.jar</code> to the classpath
</li><li>Use the JDBC driver class: <code>org.h2.Driver</code>
</li><li>The database URL <code>jdbc:h2:~/test</code> opens the database 'test' in your user home directory
</li></ul>
<br /><a name="h2_console"></a>
<h2>H2 コンソール アプリケーション</h2>
このコンソールはブラウザインターフェースを使ってSQL データベースにアクセスします。
<br />
<img src="images/console.png" alt="Web Browser - H2 Console Server - H2 Database" />
<br />
Windows XPをご使用でなかったり、 期待通りに機能しない場合は、 <a href="tutorial.html">チュートリアル</a> 内の 詳細説明をご覧下さい。
<h3>手順</h3>
<h4>インストール</h4>
Windows インストーラーを使用してソフトウェアをインストールしましょう (まだインストールされていない場合)。
<h4>コンソールを起動する</h4>
<span class="button">スタート</span>
<span class="button">すべてのプログラム</span>
<span class="button">H2</span>
<span class="button">H2 Console (Command Line)</span>をクリックします:<br />
<img class="screenshot" src="images/quickstart-1.png" alt="screenshot: start H2 Console" /><br />
コンソールウィンドウが 開きます:<br />
<img class="screenshot" src="images/quickstart-2.png" alt="screenshot: H2 Running" /><br />
新しいブラウザで URL http://localhost:8082/ にアクセスして下さい。 ファイアーウォールによるセキュリティ警告を設定することができます。
外部ネットワークから あなたのマシンのデータベースにアクセスされたくないのであれば、ファイアーウォールが他の接続を遮断します。 ローカル接続のみ必要です。
<h4>ログイン</h4>
<span class="button">Generic H2</span>を選び、<span class="button">Connect</span>をクリックします:<br />
<img class="screenshot" src="images/quickstart-3.png" alt="screenshot: Login screen" /><br />
ログインされました。
<h4>サンプル</h4>
<span class="button">Sample SQL Script</span>をクリックします。: <br />
<img class="screenshot" src="images/quickstart-4.png" alt="screenshot: click on the sample SQL script" /><br />
SQLコマンドがコマンドエリアに表示されます。<br />
<h4>実行する</h4>
<span class="button">Run</span>をクリックします:<br />
<img class="screenshot" src="images/quickstart-5.png" alt="screenshot: click Run" /><br />
左側のデータベースアイコンの下に、 新しいテーブル TEST が追加されます。動作とステートメントの結果は、スクリプトの下に表示されます。<br />
<img class="screenshot" src="images/quickstart-6.png" alt="screenshot: see the result" /><br />
<h4>切断</h4>
<span class="button">Disconnect</span>をクリックします:<br />
<img src="images/icon_disconnect.gif" alt="Disconnect icon" /><br />
データベースを閉じます。
<h4>終了</h4>
コンソールウィンドウを閉じます。詳細は<a href="tutorial.html">チュートリアル</a>をご覧下さい。
</div></td></tr></table></body></html>
......@@ -14,11 +14,17 @@ Initial Developer: H2 Group
<body style="margin: 10px 0px 0px 0px;" onload="frameMe('menu');">
<div class="menu">
<img border="0" src="h2-logo.png" alt="H2 Logo" onclick="document.location='main.html'" />
<img border="0" src="images/h2-logo.png" alt="H2 Logo" onclick="document.location='main.html'" />
</div>
<form name="searchForm" action="submit" onsubmit="return goFirst();">
<table width="100%" class="search">
<tr class="search">
<td class="search" colspan="2">
<a href="frame.html" target="_top"><img border="0" src="images/language_en.gif" alt="English" /></a>
<a href="frame_ja.html" target="_top"><img border="0" src="images/language_ja.gif" alt="Japanese" /></a>
</td>
</tr>
<tr class="search">
<td class="search" colspan="2">
<b>Search:</b>
......
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
Initial Developer: H2 Group
-->
<html><head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Search</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<script type="text/javascript" src="index.js"></script>
<script type="text/javascript" src="search.js"></script>
<script type="text/javascript" src="navigation.js"></script>
</head>
<body style="margin: 10px 0px 0px 0px;" onload="frameMe('menu');">
<div class="menu">
<img border="0" src="images/h2-logo.png" alt="H2 Logo" onclick="document.location='main.html'" />
</div>
<form name="searchForm" action="submit" onsubmit="return goFirst();">
<table width="100%" class="search">
<tr class="search">
<td class="search" colspan="2">
<a href="frame.html" target="_top"><img border="0" src="images/language_en.gif" alt="English" /></a>
<a href="frame_ja.html" target="_top"><img border="0" src="images/language_ja.gif" alt="Japanese" /></a>
</td>
</tr>
<tr class="search">
<td class="search" colspan="2">
<b>検索:</b>
</td>
</tr>
<tr class="search">
<td class="search" colspan="2">
<input id="search" name="search" type="text" size="21" maxlength="100" onKeyup="listWords(this.value, '')" /><br />
<input type="reset" id="clear" style="display:none;" value="Clear" onclick="listWords('', '');" />
</td>
</tr>
<tr class="search" style="display:none;" >
<td width="1%" class="search" style="vertical-align: middle;"><input id="highlight" type="checkbox" checked="checked" onclick="highlightCurrent(this.checked, search.value)" /></td>
<td width="99%" class="search" style="padding: 0px; vertical-align: middle;">Highlight keyword(s)</td>
</tr>
<tr class="search">
<td class="search" colspan="2">
<table id="result" style="border: 0px;">
</table>
</td>
</tr>
</table>
</form>
<div class="menu">
<b><a href="main_ja.html" target="main">ホーム</a></b><br />
<a href="quickstartText_ja.html" target="main">クイックスタート</a><br />
<a href="installation_ja.html" target="main">インストール</a><br />
<a href="tutorial_ja.html" target="main">チュートリアル</a><br />
<a href="features.html" target="main">特徴</a><br />
<a href="performance.html" target="main">パフォーマンス</a><br />
<a href="advanced.html" target="main">Advanced Topics</a><br />
<br />
<b>参照</b><br />
<a href="grammar.html" target="main">SQL文</a><br />
<a href="functions.html" target="main">関数</a><br />
<a href="datatypes.html" target="main">データ型</a><br />
<a href="../javadoc/index.html" target="main">Javadoc JDBC API</a><br />
<a href="../h2.pdf" target="_blank">PDFドキュメント</a><br />
<br />
<b>付録</b><br />
<a href="build.html" target="main">構築</a><br />
<a href="history.html" target="main">歴史とロードマップ</a><br />
<a href="faq.html" target="main">Q&A</a><br />
<a href="license.html" target="main">ライセンス</a><br />
<br />
</div>
</body></html>
......@@ -40,7 +40,7 @@ Tutorial
This application lets you access a SQL database using a browser interface.
This can be a H2 database, or another database that supports the JDBC API.
</p>
<img src="console.png" alt="Web Browser - H2 Console Server - H2 Database" />
<img src="images/console.png" alt="Web Browser - H2 Console Server - H2 Database" />
<p>
This is a client / server application, so both a server and a client (a browser) are required to run it.
</p><p>
......@@ -53,7 +53,7 @@ Depending on your platform and environment, there are multiple ways to start the
Click [Start], [All Programs], [H2], and [H2 Console (Command Line)]<br />
When using the Sun JDK 1.4 or 1.5, a window with the title 'H2 Console ' should appear.
When using the Sun JDK 1.6, an icon will be added to the system tray:
<img src="h2.png" alt="[H2 icon]" /><br />
<img src="images/h2.png" alt="[H2 icon]" /><br />
If you don't get the window and the system tray icon,
then maybe Java is not installed correctly (in this case, try another way to start the application).
A browser window should open and point to the Login page http://localhost:8082).
......
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
Initial Developer: H2 Group
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title>
Tutorial
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" />
<script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();">
<table class="content"><tr class="content"><td class="content"><div class="contentDiv">
<h1>チュートリアル</h1>
<a href="#tutorial_starting_h2_console">
起動とH2コンソールの使用</a><br />
<a href="#connecting_using_jdbc">
JDBCを使用してデータベースに接続 </a><br />
<a href="#creating_new_databases">
新しいデータベースを作成する </a><br />
<a href="#using_server">
サーバーを使用する </a><br />
<a href="#using_hibernate">
Hibernateを使用する </a><br />
<a href="#web_applications">
Webアプリケーションで データベースを使用する</a><br />
<a href="#csv">
CSV (Comma Separated Values) サポート</a><br />
<a href="#upgrade_backup_restore">
アップグレード、 バックアップ、修復</a><br />
<a href="#open_office">
OpenOffice Baseを使用する</a><br />
<a href="#web_start">
Java Web Start / JNLP</a><br />
<br /><a name="tutorial_starting_h2_console"></a>
<h2>起動とH2コンソールの使用</h2>
<p>
このアプリケーションはブラウザインターフェースを使ってSQLデータベースにアクセスします。 これは、H2データベース、またはJDBC APIをサポートする別のデータベースであるかもしれません。
</p>
<img src="images/console.png" alt="Web Browser - H2 Console Server - H2 Database" />
<p>
これはクライアント / サーバーアプリケーションで、サーバーとクライアントの両方実行されることが必要です。
</p><p>
プラットフォームと環境によって、アプリケーションの起動方法が多数あります:
</p>
<table><tr><th>OS</th><th>起動</th></tr>
<tr>
<td>Windows</td>
<td>
[スタート]、 [すべてのプログラム]、 [H2]、 [H2 Console]をクリックします<br />
正しく動作したら、 システムトレイにアイコンが追加されます:
<img src="images/h2.png" alt="[H2 icon]" /><br />
システムトレイアイコンが表示されなかったら、 Javaが正しくインストールされていないのかもしれません。
(この場合は、 他のアプリケーション起動方法を試して下さい) ブラウザウィンドウが開き、ログインページが表示されます。 (URL: http://localhost:8082/)
</td>
</tr>
<tr>
<td>Windows</td>
<td>
ファイルブラウザを開き、h2/binフォルダまで進み、h2.batをダブルクリックします。
正しく動作したら、システムトレイにアイコンが追加されます。 問題があれば、コンソールウィンドウにエラーメッセージが表示されます。 ブラウザウィンドウが開き、ログインページが表示されます。 (URL: http://localhost:8082/)
</td>
</tr>
<tr>
<td>Any</td>
<td>
コンソールウィンドウを開き、'h2/lib'ディレクトリまで進み、下記を実行します:
<pre>
java -cp h2.jar org.h2.tools.Server
</pre>
</td>
</tr>
</table>
<h3>ファイアウォール</h3>
<p>
サーバーを起動させたら、ファイアウォールによるセキュリティ警告を受けるでしょう (1度インストールした場合)。外部ネットワークから あなたのマシンのデータベースにアクセスされたくないのであれば、 ファイアーウォールが他の接続を遮断します。ローカルマシンからの接続はまだつながっています。 他のコンピュータから、このコンピューターのデータベースにアクセスしたい場合のみ、 ファイアウォールでリモート接続を許可する必要があります。
</p><p>
小さなファイアーウォールはすでにサーバーに組み込まれています。 デフォルトによるこの構造は、他のコンピューターがサーバーにアクセスすることを許可していません。 これは、好きなように変更することができます (他のコンピューターからの接続を許可します)。
</p>
<h3>ネイティブ バージョン</h3>
ネイティブ バージョンはJavaを必要としていません。なぜなら、 これはGCJを使用してコンパイルされるからです。しかし、H2は現在、Windows上のGCJプロジェクトでは実行されません。 異なったプラットフォームでソフトウェアをコンパイルすることが可能です。
<h3>Javaをテストする</h3>
インストールしたJavaのバージョンを調べるためには、 コマンドプロンプトを開き、 下記を入力します:
<pre>
java -version
</pre>
もしエラーメッセージが表示されたら、Javaのバイナリディレクトリを環境変数のPathに追加します。
<h3>エラーメッセージ 'Port is in use'</h3>
ひとつのH2コンソールのみ起動することができます。 そうでなければ、次のようなエラーメッセージが表示されます:
<code>Port is in use, maybe another ... server already running on...</code>
複数のコンソールアプリケーションを同じコンピューターで起動することは可能です (異なったポートを使用します)、しかし、コンソールが複数の同時接続を維持するということは、普通は必要とされていません。
<h3>他のポートを使用する</h3>
もしポートが他のアプリケーションによって使用されている場合は、H2コンソールを 異なったポートで起動したいはずです。これは、.h2.server.properties.ファイル内のポートを変更することにより実行できます。 このファイルはユーザディレクトリ内に格納されています (Windowsでは通常、"Documents and Settings/<ユーザ名>")。関連する項目はwebPortです。
<h3>起動成功</h3>
コンソールウィンドウからのサーバー起動が成功したら、新しいウィンドウが開き、 下記のように表示されます:
<pre>
H2 Server running on port 9092
Webserver running on https://localhost:8082/
</pre>
ウィンドウ内をクリックしないで下さい; アプリケーションが遮断されてしまいます (Fast-Edit モードが有効の場合)。
<h3>ブラウザを使用してサーバーに接続</h3>
サーバーの接続に成功したら、webブラウザを使用してサーバーに接続することができます。 ブラウザにはJavaScript、フレーム、カスケードスタイルシート (css)のサポートが必要です。 もし同じコンピューターのブラウザでサーバーを起動したら、 http://localhost:8082 へアクセスしてください。他のコンピューターからアプリケーションに接続したい場合は、 サーバーのIPアドレスを用意することが必要です。 例: http://192.168.0.2:8082 サーバー側でSSLを使用したい場合は、URLをHTTPSから始めます。
<h3>複数の同時セッション</h3>
複数の同時ブラウザセッションがサポートされています。 データベースオブジェクトはサーバーに属しているため、同時接続の数はサーバーアプリケーションの利用可能メモリによって制限されています。
<h3>アプリケーションプロパティ</h3>
サーバーを起動するとローカルのホームディレクトリに .h2.server.properties と呼ばれるファイル構成が作成されます。Windowsのインストールでは、このファイルは will be in the directory C:\Documents and Settings\[ユーザ名]のディレクトリ内にあります。このファイルはアプリケーションのセッティングに含まれています。
<h3>ログイン</h3>
<p>
ログインページでは、データベースに接続するための接続情報を設定する必要があります。 JDBCドライバをデータベースのクラスに設定し、JDBCのURL、ユーザ名とパスワードを入力します。 完了したら [Connect] をクリックします。
</p><p>
保存された設定をあらかじめ保存し、再び使用することができます。設定はアプリケーションプロパティファイルに記憶されます。
</p>
<h3>エラーメッセージ</h3>
エラーメッセージは赤で表示されます。 メッセージをクリックすることによって、例外の記録の表示、非表示を切り替えることができます。
<h3>データベースドライバの追加</h3>
<p>
H2DRIVERSかCLASSPATHの環境変数に、ドライバのJarファイルの位置を追加することにより、データベースドライバの追加を行うことができます。 例 (Windowsの場合): データベースドライバのライブラリに C:\Programs\hsqldb\lib\hsqldb.jar を追加し、H2DRIVERSの環境変数に C:\Programs\hsqldb\lib\hsqldb.jar を設定します。
</p><p>
複数のドライバを設定することも可能です; それぞれのパスは ';' (Windows) や ':' (他のOS) で区切ります。 パス名内のスペースは有効です。設定は引用されません。
</p><p>
ドライバの追加はJavaバージョンのみでサポートされています (この特徴はネイティブバージョンではサポートされていません)。
</p>
<h3>アプリケーションを使用する</h3>
アプリケーションは3つのメインパネルを保持しています。上部のツールバー、左側のツリーとクエリ、右側の結果表示パネルです。 データベースオブジェクト (例; テーブル) は左側のパネルに一覧表示されます。クエリパネルにSQLコマンドを打ち、 'Run' をクリックします。 コマンドの結果は、コマンドのすぐ下に表示されます。
<h3>テーブル名、またはカラム名をインサートする</h3>
テーブル名やカラム名は、ツリー内のテーブル名、カラム名をクリックすることによって スクリプトにインサートすることができます。クエリが空の時にテーブルをクリックすると、 'SELECT * FROM ...' も同様に追加されます。 クエリを入力している間、使用されているテーブルはツリー内で自動的に拡張されます。例えば、 'SELECT * FROM TEST T WHERE T.' と入力すると、ツリー内のTESTテーブルは自動的に拡張されます。
<h3>切断とアプリケーションの終了</h3>
<p>
ブラウザでは、ツールバーパネルの 'Disconnect' をクリックします。データベースからログアウトします。しかし、サーバーはまだ接続されていて、 新しいセッションを受け入れる準備をしています。
</p><p>
サーバーを止めるためには、システムトレイアイコンを右クリックし、 [Exit] を選択します。もしアイコンが表示されていないのであれば、 (別の方法で実行した場合) サーバーが実行されたコンソール上で [Ctrl]+[C] を押すか (Windowsの場合)、 コンソールウィンドウを閉じます。
</p>
<br /><a name="connecting_using_jdbc"></a>
<h2>JDBCを使用してデータベースに接続</h2>
データベースに接続するためにJavaアプリケーションに最初に必要なことは、 データベースドライバをロードし、接続することです。簡単な方法は、次のコードを使用します:
<pre>
import java.sql.*;
public class Test {
public static void main(String[] a)
throws Exception {
Class.forName("org.h2.Driver");
Connection conn = DriverManager.
getConnection("jdbc:h2:~/test", "sa", "");
// add application code here
}
}
</pre>
このコードは最初にドライバをロードして (Class.forName())、 接続を開始します (DriverManager.getConnection())。 このドライバの名前は全てのケースにおいて "org.h2.Driver" です。 データベースに認識されるため、データベースのURLは常に jdbc:h2: から始まります。 getConnection() 内の2番目のパラメーターはユーザ名を指しています ('sa' はこの場合、システム管理者を表しています)。3番目のパラメーターはパスワードです。 このデータベースでは、ユーザ名は大文字と小文字を区別していませんが、パスワードは大文字と小文字を区別しています。
<br /><a name="creating_new_databases"></a>
<h2>新しいデータベースを作成する</h2>
初期設定では、データベースの指定されたURLがまだ存在しない場合、自動的に新しい (空の) データベースが作られます。
<br /><a name="using_server"></a>
<h2>サーバーを使用する</h2>
H2は現在、3つのサーバーをサポートしています: Webサーバー、TCPサーバー、ODBCサーバーです。 これらのサーバーは異なった方法で起動します。
<h3>コマンドラインから起動する</h3>
初期設定でコマンドラインからサーバーを起動させるには、次のように実行します。
<pre>
java org.h2.tools.Server
</pre>
サーバーはデフォルトオプションで起動します。オプションの一覧を取得するには、次のように実行します。
<pre>
java org.h2.tools.Server -?
</pre>
異なったポートの使用が可能なオプションや、サーバーの一部を起動、終了させるオプションなどがあります。 詳細はサーバーツールのAPIドキュメントをご覧下さい。
<h3>Connecting to the TCP Server</h3>
To remotly connect to a database using the TCP server, use the following driver and database URL:
<ul>
<li>JDBC driver class: org.h2.Driver
</li><li>Database URL: jdbc:h2:tcp://localhost/~/test
</li></ul>
For details about the database URL, see also in Features.
<h3>アプリケーション内で起動する</h3>
アプリケーション内からサーバーを起動、終了することも可能です。 以下はサンプルコードです:
<pre>
import org.h2.tools.Server;
...
// start the TCP Server
Server server = Server.createTcpServer(args).start();
...
// stop the TCP Server
server.stop();
</pre>
<h3>他の過程からTCPサーバーを終了する</h3>
TCPサーバーは他の過程から終了することができます。 コマンドラインからサーバーを終了するには、次のように実行します:
<pre>
java org.h2.tools.Server -tcpShutdown tcp://localhost:9092
</pre>
ユーザアプリケーションからサーバーを終了するには、次のコードを使用します:
<pre>
org.h2.tools.Server.shutdownTcpServer("tcp://localhost:9094");
</pre>
この機能はサーバー上の System.exit を呼んでいます。この機能は、データベースが次回起動された時のリカバリーを回避するため、 データベースへの全ての接続が切断された後に呼ばれます。リモートサーバーを終了するには、サーバー上でリモート接続が可能である必要があります。
<h3>サーバーの制限</h3>
現在、サーバーやクラスターモードを使用する時にいくつかの制限があります:
<ul>
<li>Statement.cancel() はエンベッドモードのみサポートされています。接続はサーバー、またはクラスターモードで1度にひとつのオペレーションで実行され、 このオペレーションが終了するまで接続は遮断されます。
</li><li>CLOBとBLOBはストリームとしてではなく、ひとつの断片としてサーバーに送信されます。これは、サーバーやクラスターモードを使用している時、 CLOBとBLOBはメモリーに適合している必要があるということを意味しています。
</li></ul>
<br /><a name="using_hibernate"></a>
<h2>Hibernateを使用する</h2>
このデータベースは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を再びコンパイルします。
<br /><a name="web_applications"></a>
<h2>Webアプリケーションでデータベースを使用する</h2>
Webアプリケーション内からデータベースに接続するには様々な方法があります。 以下はTomcatかJBossを使用の場合のいくつかの例です。
<h3>エンベッドモード</h3>
(現在)最も簡単なソリューションはエンベッドモードでデータベースを使用することです。 それは、アプリケーションが起動する時や (良いソリューションは Servletリスナーを使用します。下記参照)、 セッションが起動する時、アプリケーションにおける接続が開始するということを意味します。 データベースは、セッションやアプリケーションが同じ過程で実行している限り、 多様なセッションやアプリケーションから同時に接続されることが可能です。 多くのServletコンテナは (例; Tomcat) ただひとつのプロセスで利用されるので、問題はありません。 (Tomcatをクラスターモードで起動している場合を除いて)。 Tomcatはマルチスレッドとマルチクラスローダーを使用しています。 もし複数のアプリケーションが同じデータベースに同時にアクセスする場合、データベースjarをshared/lib、またはserver/libディレクトリに置く必要があります。 webアプリケーションが起動した時にデータベースを開き、webアプリケーションが終了した時にデータベースを閉じるのが良い方法です。 もし複数のアプリケーションを使用する場合、そのうちひとつのアプリケーションをこのように動作することが必要です。 アプリケーションでは、セッションごとにひとつの接続を使うか、リクエスト(アクション)ごとにひとつの接続を使うという概念があります。 これらの接続はできる限り、使用後に終了させます(しかし、終了させなくても悪くはありません)。
<h3>サーバーモード</h3>
サーバーモードは類似していますが、他のプロセスでサーバーを起動させることを許可しています。
<h3>データベースの起動と終了にServletリスナーを使用する</h3>
以下を web.xmlファイルに追記して下さい。 (context-paramとfilterの間):
<pre>
&lt;listener>
&lt;listener-class>org.h2.server.web.DbStarter&lt;/listener-class>
&lt;/listener>
</pre>
For details on how to access the database, see the code DbStarter.java
<br /><a name="csv"></a>
<h2>CSV (Comma Separated Values) サポート</h2>
データベースにCSVREADとCSVWRITEの関数を使用することで、 CSVファイルサポートを使用することができ、スタンドアロンツールとしてデータベースの外でCSVライブラリを使用することができます。
<h3>データベース内からCSVファイルに書き込む</h3>
クエリからCSVファイルを作成するのに、組込み関数 CSVWRITEを使用することができます。例:
<pre>
CREATE TABLE TEST(ID INT, NAME VARCHAR);
INSERT INTO TEST VALUES(1, 'Hello'), (2, 'World');
CALL CSVWRITE('test.csv', 'SELECT * FROM TEST');
</pre>
<h3>データベース内からCSVファイルを読み込む</h3>
CSVREAD関数を使用してCSVファイルを読み込むことができます。 例:
<pre>
SELECT * FROM CSVREAD('test.csv');
</pre>
<h3>JavaアプリケーションからCSVファイルに書き込む</h3>
データベースを全く使用しなくても、JavaアプリケーションでCSVツールを使用することができます。 例:
<pre>
SimpleResultSet rs = new SimpleResultSet();
rs.addColumn("NAME", Types.VARCHAR, 255, 0);
rs.addColumn("EMAIL", Types.VARCHAR, 255, 0);
rs.addColumn("PHONE", Types.VARCHAR, 255, 0);
rs.addRow(new String[]{"Bob Meier", "bob.meier@abcde.abc", "+41123456789"});
rs.addRow(new String[]{"John Jones", "john.jones@abcde.abc", "+41976543210"});
Csv.write("test.csv", rs, null);
</pre>
<h3>JavaアプリケーションからCSVファイルを読み込む</h3>
データベースを開かなくてもCSVファイルを読み込むことができます。 例:
<pre>
ResultSet rs = Csv.read("test.csv", null, null);
ResultSetMetaData meta = rs.getMetaData();
while(rs.next()) {
for(int i=0; i&lt;meta.getColumnCount(); i++) {
System.out.println(meta.getColumnLabel(i+1) + ": " + rs.getString(i+1));
}
System.out.println();
}
rs.close();
</pre>
<br /><a name="upgrade_backup_restore"></a>
<h2>アップグレード、バックアップ、修復</h2>
<h3>データベースのアップグレー</h3>
あるバージョンのデータベースエンジンを次のバージョンにアップグレードする際の推奨する方法は、 古いエンジンを使って(SQLスクリプトのフォームでの)データベースのバックアップを作成し、新しいエンジンを使ってSQLスクリプトを実行します。
<h3>バックアップ</h3>
異なった方法のデータベースのバックアップがあります。例えば、データベースファイルをコピーすることが可能です。 しかしながら、この方法はデータベースが使用されている間は推奨しません。データベースは人が判読しやすく、極めて大きいというわけではありません。 データベースバックアップの推奨する方法は、圧縮したSQLスクリプトを作成することです。この方法は、バックアップツールを使用することで可能です:
<pre>
java org.h2.tools.Script -url jdbc:h2:~/test -user sa -script test.zip -options compression zip
</pre>
オプションについての情報は、SQLコマンドスクリプトをご覧下さい。バックアップは遠隔で行えますが、ファイルはサーバー側に作られます。 サーバーからファイルを取るのに、ビルトインFTPサーバーを使用することができます。データベースのバックアップを作るのに、SQLコマンドスクリプトを 使用することもできます。
<h3>修復</h3>
SQLスクリプトファイルからデータベースを修復するには、RunScriptツールを使用する必要があります:
<pre>
java org.h2.tools.RunScript -url jdbc:h2:~/test -user sa -script test.zip -options compression zip
</pre>
オプションについての情報は、SQLコマンド RUNSCRIPTをご覧下さい。修復は遠隔で行えますが、サーバー側にファイルが存在する必要があります。 サーバーからファイルをコピーするのに、ビルトインFTPサーバーを使用することができます。SQLスクリプトを実行するために、 SQLコマンド RUNSCRIPTを使用することができます。SQLスクリプトファイルには、RUNSCRIPTコマンドのフォーム内に他のスクリプトファイルのリファレンスが含まれています。 しかしながら、サーバーモードを使用している時、リファレンススクリプトファイルはサーバー側で利用可能であることが必要です。
<h3>Online Backup</h3>
The BACKUP SQL statement and the Backup tool both create a zip file
with all database files. However, the contents of this file are not human readable.
Other than the SCRIPT statement, the BACKUP statement does not lock the
database objects, and therefore does not block other users. The resulting
backup is transactionally consistent:
<pre>
BACKUP TO 'backup.zip'
</pre>
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.
<br /><a name="open_office"></a>
<h2>OpenOffice Baseを使用する</h2>
OpenOffice.org Base はJDBC API上のデータベースアクセスをサポートしています。 OpenOffice Baseを使ってH2データベースに接続するためには、最初にOpenOfficeにJDBCドライバを追加する必要があります。H2データベースに接続する手順:
<ul>
<li>オートスタートを含め、OpenOfficeを終了する
</li><li>h2.jar ファイルを <OpenOffice>\program\classes ディレクトリ内にコピーする
</li><li>OpenOffice Base を起動する
</li><li>存在するデータベースに接続し、JDBCを選択し、[Next] をクリックする
</li><li>データソースURLの例: jdbc:h2:c:/temp/test
</li><li>JDBCドライバクラス: org.h2.Driver
</li></ul>
これで、C:/temp ディレクトリ内に格納されているデータベースにアクセス可能です。
<br /><a name="web_start"></a>
<h2>Java Web Start / JNLP</h2>
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:
<pre>
&lt;security>
&lt;all-permissions/>
&lt;/security>
</pre>
</div></td></tr></table></body></html>
\ No newline at end of file
......@@ -9,13 +9,20 @@ import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.sql.SQLException;
import java.text.MessageFormat;
import java.util.Iterator;
import java.util.Locale;
import java.util.Properties;
import java.util.Map.Entry;
import org.h2.jdbc.JdbcSQLException;
import org.h2.util.Resources;
import org.h2.util.StringUtils;
/**
* Use the PropertiesToUTF8 tool to translate properties files to UTF-8 and back.
* If the word 'SQL' appears then the whole SQL statement must be a parameter,
* otherwise this may be added: '; SQL statement: ' + sql
*
* @author Thomas
*/
public class Message {
......@@ -23,13 +30,27 @@ public class Message {
private static final Properties MESSAGES = new Properties();
static {
// TODO multi language messages
// String language = Locale.getDefault().getLanguage();
try {
byte[] messages = Resources.get("/org/h2/res/messages.properties");
byte[] messages = Resources.get("/org/h2/res/_messages_en.properties");
if(messages != null) {
MESSAGES.load(new ByteArrayInputStream(messages));
}
String language = Locale.getDefault().getLanguage();
int testing;
System.out.println("language: " + language);
if(!"en".equals(language)) {
byte[] translations = Resources.get("/org/h2/res/_messages_"+language+".properties");
// message: translated message + english (otherwise certain applications don't work)
if(translations != null) {
Properties p = new Properties();
p.load(new ByteArrayInputStream(translations));
for(Iterator it = p.entrySet().iterator(); it.hasNext(); ) {
Entry e = (Entry) it.next();
String key = (String) e.getKey();
MESSAGES.put(key, e.getValue() + " / " + MESSAGES.getProperty(key));
}
}
}
} catch (IOException e) {
TraceSystem.traceThrowable(e);
}
......
.translator=Thomas Mueller
02000=Keine Daten verfügbar
07001=Ungültige Anzahl Parameter für {0}, erwartet\: {1}
08000=Fehler beim Öffnen der Datenbank
08004=Falscher Benutzer Name oder Passwort
21S02=Anzahl der Felder stimmt nicht überein
22003=Zahlenwert ausserhalb des Bereichs
22012=Division durch 0\: {0}
22025=Fehler in LIKE ESCAPE\: {0}
23000=Bedingung verletzt\: {0}
23001=Eindeutiger Index oder Primarschlüssel verletzt\: {0}
23002=Referentielle Integrität verletzt\: {0}
23003=Referentielle Integrität verletzt\: {0}
42000=Syntax Fehler in SQL Befehl {0}
42001=Syntax Fehler in SQL Befehl {0}; erwartet {1}
42S01=Tabelle {0} besteht bereits
42S02=Tabelle {0} nicht gefunden
42S11=Index {0} besteht bereits
42S12=Index {0} nicht gefunden
42S21=Doppelter Feldname {0}
42S22=Feld {0} nicht gefunden
42S32=Einstellung {0} nicht gefunden
90000=Funktion {0} muss einen Zeilen zurückgeben
90001=Methode nicht zulässig für eine Abfrage. Erlaubt sind execute oder executeQuery, nicht jedoch executeUpdate
90002=Methode nur zulässig for eine Abfrage. Erlaubt sind execute oder executeUpdate, nicht jedoch executeQuery
90003=Hexadezimal Zahl mit einer ungeraden Anzahl Zeichen\: {0}
90004=Hexadezimal Zahl enthält unerlaubtes Zeichen\: {0}
90005=Wert zu gross / lang für Feld {0}
90006=NULL nicht zulässig für Feld {0}
90007=Das Objekt wurde bereits geschlossen
90008=Unerlaubter Wert {0} für Parameter {1}
90009=Kann Datum {0} nicht umwandeln
90010=Kann Zeit {0} nicht umwandeln
90011=Kann Zeitstempel {0} nicht umwandeln
90012=Parameter {0} wurde nicht gesetzt
90013=Datenbank {0} nicht gefunden
90014=Fehler beim Parsen von {0}
90015=SUM oder AVG auf falschem Datentyp für {0}
90016=Feld {0} muss in der GROUP BY Liste sein
90017=Versuche, einen zweiten Primärschlüssel zu definieren
90018=Die Datenbank-Verbindung wurde nicht explizit geschlossen (jetzt in der Müllabfuhr)
90019=Kann aktuellen Benutzer nicht löschen
90020=Datenbank wird wahrscheinlich bereits benutzt\: {0}. Mögliche Lösungen\: alle Verbindungen schliessen; Server Modus verwenden
90021=Datenumwandlungsfehler beim Umwandeln von {0}
90022=Funktion {0} nicht gefunden
90023=Feld {0} darf nicht NULL nicht erlauben
90024=Fehler beim Umbenennen der Datei {0} nach {1}
90025=Kann Datei {0} nicht löschen
90026=Serialisierung fehlgeschlagen
90027=De-Serialisierung fehlgeschlagen
90028=Eingabe/Ausgabe Fehler\: {0}
90029=Im Moment nicht auf einer veränderbaren Zeile
90030=Datei fehlerhaft beim Lesen des Datensatzes\: {0}. Mögliche Lösung\: Recovery Werkzeug verwenden
90031=Eingabe/Ausgabe\: {0}; {1}
90032=Benutzer {0} nicht gefunden
90033=Benutzer {0} besteht bereits
90034=Log Datei error\: {0}
90035=Sequenz {0} besteht bereits
90036=Sequenz {0} nicht gefunden
90037=View {0} nicht gefunden
90038=View {0} besteht bereits
90039=Der Wert ist zu gross / lang für die Genauigkeit {0}
90040=Für diese Operation werden Administrator-Rechte benötigt
90041=Trigger {0} besteht bereits
90042=Trigger {0} nicht gefunden
90043=Fehler beim Erzeugen des Triggers {0}, Klasse {1}
90044=Fehler beim Ausführen des Triggers {0}, Klasse {1}
90045=Bedingung {0} besteht bereits
90046=URL Format Fehler; erwartet {0}, erhalten {1}
90047=Falsche Version, Treiber Version ist {0}, Server Version ist {1}
90048=Datenbank Datei Version wird nicht unterstützt oder ungültiger Dateikopf in Datei {0}
90049=Verschlüsselungsfehler in Datei {0}
90050=Falsches Passwort Format, benötigt wird\: Datei-Passwort <Leerschlag> Benutzer-Passwort
90051=Befehl wurde abgebrochen
90052=Unterabfrage gibt mehr als eine Feld zurück
90053=Skalar-Unterabfrage enthält mehr als eine Zeile
90054=Ungültige Verwendung der Aggregat Funktion {0}
90055=Chiffre nicht unterstützt\: {0}
90056=Kein Vorgabewert für Feld {0}
90057=Bedingung {0} nicht gefunden
90058=Doppelter Tabellen- oder Alias-Name {0}
90059=Mehrdeutiger Feldname {0}
90060=Ungültige Datei-Sperr-Methode {0}
90061=Fehler beim Öffnen von Port {0} (Port wird ev. bereits verwendet)
90062=Fehler beim Erzeugen der Datei {0}
90063=Savepoint ist ungültig\: {0}
90064=Savepoint hat keinen Namen
90065=Savepoint hat einen Namen
90066=Doppeltes Merkmahl {0}
90067=Verbindung ist unterbrochen
90068=Sortier-Ausdruck {0} muss in diesem Fall im Resultat vorkommen
90069=Rolle {0} besteht bereits
90070=Rolle {0} nicht gefunden
90071=Benutzer or Rolle {0} nicht gefunden
90072=Rollen und Rechte können nicht gemischt werden
90073=Recht nicht gefunden
90074=Rolle {0} bereits zugewiesen
90075=Feld ist Teil eines Indexes {0}
90076=Funktions-Alias {0} besteht bereits
90077=Funktions-Alias {0} nicht gefunden
90078=Schema {0} besteht bereits
90079=Schema {0} nicht gefunden
90080=Schema Namen müssen übereinstimmen
90081=Feld {0} enthält NULL Werte
90082=Sequenz {0} gehört zu einer Tabelle
90083=Feld wird referenziert durch {0}
90084=Kann das letzte Feld nicht löschen {0}
90085=Index {0} gehört zu einer Bedingung
90086=Klasse {0} nicht gefunden
90087=Methode {0} nicht gefunden
90088=Unbekannter Modus {0}
90089=Textvergleich-Modus kann nicht geändert werden wenn Tabellen vorhanden sind {0}
90090=Schema {0} kann nicht gelöscht werden
90091=Rolle {0} kann nicht gelöscht werden
90092=Diese Java-Version wird nicht unterstützt (Java 1.4 oder neuer wird benötigt)
90093=Clustering Fehler - Datenbank läuft bereits im autonomen Modus
90094=Clustering Fehler - Datenbank läuft bereits im Cluster Modus, Serverliste\: {0}
90095=Textformat Fehler\: {0}
90096=Nicht genug Rechte für Objekt {0}
90097=Die Datenbank ist schreibgeschützt
90098=Die Datenbank ist bereits geschlossen
90099=Fehler beim Setzen des Datenbank Ereignis Empfängers {0}
90100=Kein Festplatten Speicherplatz verfügbar
90101=Falsches XID Format\: {0}
90102=Datenkompressions-Option nicht unterstützt\: {0}
90103=Datenkompressions-Algorithmus nicht unterstützt\: {0}
90104=Datenkompressions Fehler
90105=Fehler beim Aufruf eine benutzerdefinierten Funktion
90106=Kann {0} nicht zurücksetzen per TRUNCATE
90107=Kann {0} nicht löschen weil {1} davon abhängt
90108=Stacküberlauf (Rekursive Abfrage oder Funktion?)
90109=View {0} ist ungültig\: {1}
90110={0} ausserhalb des Bereichts
90111=Fehler beim Zugriff auf eine verknüpfte Tabelle mit SQL Befehl {0}
90112=Zeile nicht gefunden beim Löschen von Index {0}
90113=Datenbank-Verbindungs Option {0} nicht unterstützt
90114=Konstante {0} besteht bereits
90115=Konstante {0} nicht gefunden
90116=Literal dieser Art nicht zugelassen
90117=Verbindungen von anderen Rechnern sind nicht freigegeben, siehe -tcpAllowOthers
90118=Kann Tabelle nicht löschen {0}
90119=Benutzer-Datentyp {0} besteht bereits
90120=Benutzer-Datentyp {0} nicht gefunden
90121=Datenbank-Aufruf beim Stoppen der VM; URL muss ";DB_CLOSE_ON_EXIT\=FALSE" enthalten um das automatische Schliessen der Datenbank zu verhindern
90122=Funktion nicht unterstützt für Tabelle {0} wenn Views auf die Tabelle vorhanden sind\: {1}
90123=Kann nicht indizierte und nicht indizierte Parameter mischen
90124=Datei nicht gefunden\: {0}
90125=Ungültig Klasse, erwartet {0} erhalten {1}
90126=Datenbank ist nicht persistent
90127=Die Resultat-Zeilen können nicht verändert werden. Die Abfrage muss alle Felder eines eindeutigen Schlüssels enthalten, und nur eine Tabelle enthalten.
90128=Kann nicht an den Anfang der Resultat-Zeilen springen. Mögliche Lösung: conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY).
HY000=Allgemeiner Fehler\: {0}
HY004=Unbekannter Datentyp\: {0}
HYC00=Dieses Feature wird unterstützt
HYT00=Zeitüberschreitung beim Versuch die Tabelle {0} zu sperren
# If the word 'SQL' appears then the whole SQL statement must be a parameter. Otherwise this may be added: '; SQL statement: ' + sql
.translator=Thomas Mueller
02000=No data is available
07001=Invalid parameter count for {0}, expected count: {1}
07001=Invalid parameter count for {0}, expected count\: {1}
08000=Error opening database
08004=Wrong user name or password
21S02=Column count does not match
22003=Numeric value out of range
22012=Division by zero: {0}
22025=Error in LIKE ESCAPE: {0}
23000=Check constraint violation: {0}
23001=Unique index or primary key violation: {0}
23002=Referential integrity constraint violation: {0}
23003=Referential integrity constraint violation: {0}
22012=Division by zero\: {0}
22025=Error in LIKE ESCAPE\: {0}
23000=Check constraint violation\: {0}
23001=Unique index or primary key violation\: {0}
23002=Referential integrity constraint violation\: {0}
23003=Referential integrity constraint violation\: {0}
42000=Syntax error in SQL statement {0}
42001=Syntax error in SQL statement {0}; expected {1}
42S01=Table {0} already exists
......@@ -21,12 +20,11 @@
42S21=Duplicate column name {0}
42S22=Column {0} not found
42S32=Setting {0} not found
90000=Function {0} must return a result set
90001=Method is not allowed for a query. Use execute or executeQuery instead of executeUpdate
90002=Method is only allowed for a query. Use execute or executeUpdate instead of executeQuery
90003=Hexadecimal string with odd number of characters: {0}
90004=Hexadecimal string contains non-hex character: {0}
90003=Hexadecimal string with odd number of characters\: {0}
90004=Hexadecimal string contains non-hex character\: {0}
90005=Value too long for column {0}
90006=NULL not allowed for column {0}
90007=The object is already closed
......@@ -42,7 +40,7 @@
90017=Attempt to define a second primary key
90018=The connection was not closed by the application and is garbage collected
90019=Cannot drop the current user
90020=Database may be already in use: {0}. Possible solutions: close all other connection(s); use the server mode
90020=Database may be already in use\: {0}. Possible solutions\: close all other connection(s); use the server mode
90021=Data conversion error converting {0}
90022=Function {0} not found
90023=Column {0} must not be nullable
......@@ -50,13 +48,13 @@
90025=Cannot delete file {0}
90026=Serialization failed
90027=Deserialization failed
90028=IO Exception: {0}
90028=IO Exception\: {0}
90029=Currently not on an updatable row
90030=File corrupted while reading record: {0}. Possible solution: use the recovery tool
90031=IO Exception: {0}; {1}
90030=File corrupted while reading record\: {0}. Possible solution\: use the recovery tool
90031=IO Exception\: {0}; {1}
90032=User {0} not found
90033=User {0} already exists
90034=Log file error: {0}
90034=Log file error\: {0}
90035=Sequence {0} already exists
90036=Sequence {0} not found
90037=View {0} not found
......@@ -72,7 +70,7 @@
90047=Version mismatch, driver version is {0} but server version is {1}
90048=Unsupported database file version or invalid file header in file {0}
90049=Encryption error in file {0}
90050=Wrong password format, must be: file password <space> user password
90050=Wrong password format, must be\: file password <space> user password
90051=Statement was cancelled
90052=Subquery is not a single column query
90053=Scalar subquery contains more than one row
......@@ -85,7 +83,7 @@
90060=Unsupported file lock method {0}
90061=Exception opening port {0} (port may be in use)
90062=Error while creating file {0}
90063=Savepoint is invalid: {0}
90063=Savepoint is invalid\: {0}
90064=Savepoint is unnamed
90065=Savepoint is named
90066=Duplicate property {0}
......@@ -116,22 +114,22 @@
90091=Role {0} cannot be dropped
90092=This Java version is not supported (Java 1.4 is required)
90093=Clustering error - database currently runs in standalone mode
90094=Clustering error - database currently runs in cluster mode, server list: {0}
90095=String format error: {0}
90094=Clustering error - database currently runs in cluster mode, server list\: {0}
90095=String format error\: {0}
90096=Not enough rights for object {0}
90097=The database is read only
90098=The database has been closed
90099=Error setting database event listener {0}
90100=No disk space available
90101=Wrong XID format: {0}
90102=Unsupported compression options: {0}
90103=Unsupported compression algorithm: {0}
90101=Wrong XID format\: {0}
90102=Unsupported compression options\: {0}
90103=Unsupported compression algorithm\: {0}
90104=Compression error
90105=Exception calling user defined function
90106=Cannot truncate {0}
90107=Cannot drop {0} because {1} depends on it
90108=Stack overflow (recursive query or function?)
90109=View {0} is invalid: {1}
90109=View {0} is invalid\: {1}
90110={0} out of range
90111=Error accessing linked table with SQL statement {0}
90112=Row not found when trying to delete from index {0}
......@@ -143,18 +141,15 @@
90118=Cannot drop table {0}
90119=User data type {0} already exists
90120=User data type {0} not found
90121=Database called at VM shutdown; add ";DB_CLOSE_ON_EXIT=FALSE" to the db URL to disable automatic database closing
90122=Operation not supported for table {0} when there are views on the table: {1}
90121=Database called at VM shutdown; add ";DB_CLOSE_ON_EXIT\=FALSE" to the db URL to disable automatic database closing
90122=Operation not supported for table {0} when there are views on the table\: {1}
90123=Cannot mix indexed and non-indexed parameters
90124=File not found: {0}
90124=File not found\: {0}
90125=Invalid class, expected {0} but got {1}
90126=Database is not persistent
90127=The result set is not updatable. The query must select all columns from a unique key. Only one table may be selected.
90128=The result set is not scrollable and can not be reset. You may need to use conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY).
HY000=General error: {0}
HY004=Unknown data type: {0}
HY000=General error\: {0}
HY004=Unknown data type\: {0}
HYC00=Feature not supported
HYT00=Timeout trying to lock table {0}
.translator=Tomek
02000=Dane nie sa dostepne
07001=Niewlasciwa liczba parametrow, oczekiwano ilosci: {0}
07001=Niewlasciwa liczba parametrow, oczekiwano ilosci\: {0}
08000=Blad otwarcia bazy danych
08004=Nieprawidlowy uzytkownik/haslo
21S02=Niezgodna ilosc kolumn
22003=Wartosc numeryczna poza zakresem
22012=Dzielenie przez zero: {0}
22025=Blad w LIKE ESCAPE: {0}
23000=Naruszenie ograniczenia Check: {0}
23001=Naruszenie ograniczenia Klucza Glownego lub Indeksu Unikalnego: {0}
22012=Dzielenie przez zero\: {0}
22025=Blad w LIKE ESCAPE\: {0}
23000=Naruszenie ograniczenia Check\: {0}
23001=Naruszenie ograniczenia Klucza Glownego lub Indeksu Unikalnego\: {0}
23002=\#Referential integrity constraint violation\: {0}
23003=\#Referential integrity constraint violation\: {0}
42000=Blad skladniowy w wyrazeniu SQL {0}
42001=Blad skladniowy w wyrazeniu SQL {0}; oczekiwano {1}
42S01=Tablela {0} juz istnieje
......@@ -17,12 +20,11 @@
42S21=Zduplikowana nazwa kolumny {0}
42S22=Kolumna {0} nie istnieje
42S32=Ustawienie {0} nie istnieje
90000=Funkcja {0} musi zwrocic dane
90001=Metoda nie jest dozwolona w kwerendzie
90002=Metoda jest dozwolona tylko w kwerendzie
90003=Hexadecimal string with odd number of characters: {0}
90004=Hexadecimal string contains non hex character: {0}
90003=Hexadecimal string with odd number of characters\: {0}
90004=Hexadecimal string contains non hex character\: {0}
90005=Wartosc za dluga dla kolumny {0}
90006=Pole nie moze byc puste {0}
90007=Objekt jest zamkniety
......@@ -38,7 +40,7 @@
90017=Proba zdefiniowania drugiego klucza glownego
90018=Polaczenie zostalo zamkniete przez aplikacje i zostalo usuniete przez kolektor nieuzytkow
90019=Nie mozna skasowac aktualnego uzytkownika
90020=Baza danych moze byc juz otwarta: {0}
90020=Baza danych moze byc juz otwarta\: {0}
90021=Blad konwersji danych {0}
90022=Funkcja {0} nie istnieje
90023=Kolumna Column {0} nie moze zawierac wartosci pustej
......@@ -46,13 +48,13 @@
90025=Nie mozna skasowac pliku {0}
90026=Blad serializacji
90027=Blad deserializacji
90028=Blad wejscia/wyjscia: {0}
90028=Blad wejscia/wyjscia\: {0}
90029=Aktualny rekord nie pozwala na aktualizacje
90030=Uszkodzenie pliku podczas wczytywania rekordu: {0}
90030=Uszkodzenie pliku podczas wczytywania rekordu\: {0}
90031=Polaczenie nie zostalo zamkniete
90032=Uzytkownik {0} nie istnieje
90033=Uzytkownik {0} juz istnieje
90034=Blad pliku logu: {0}
90034=Blad pliku logu\: {0}
90035=Sekwencja {0} juz istnieje
90036=Sekwencja {0} nie istnieje
90037=Widok {0} nie istnieje
......@@ -68,7 +70,7 @@
90047=Niezgodna wersja sterownika, aktualna werjsa to {0} a wersja serwera to {1}
90048=Nieprawidlowa wersja pliku bazy danych lub nieprawidlowy naglowek pliku {0}
90049=Blad szyfowania pliku {0}
90050=Zly format hasla, powinno byc: plik haslo <spacja> uzytkownik haslo
90050=Zly format hasla, powinno byc\: plik haslo <spacja> uzytkownik haslo
90051=Statement was cancelled
90052=Podzapytanie nie jest zapytaniem opartym o jedna kolumne
90053=Scalar subquery contains more than one row
......@@ -81,7 +83,7 @@
90060=Niewspierana metoda blokowania pliku {0}
90061=Blad otwarcia portu {0} (prawdopodobnie port jest w uzyciu)
90062=Blad tworzenia pliku {0}
90063=Zakladka jest nieprawidlowa: {0}
90063=Zakladka jest nieprawidlowa\: {0}
90064=Zakladka jest bez nazwy
90065=Zakladka jest nazwana
90066=Zduplikowana wlasciwosc {0}
......@@ -112,16 +114,16 @@
90091=Rola {0} nie moze zostac skasowana
90092=Obecna wersja Javy nie jest wspierana (Java 1.4 lub nowsza jest wymagana)
90093=Clustering error - database currently runs in standalone mode
90094=Clustering error - database currently runs in cluster mode, server list: {0}
90095=Blad ciagu formatowania: {0}
90094=Clustering error - database currently runs in cluster mode, server list\: {0}
90095=Blad ciagu formatowania\: {0}
90096=Brak wystarczajacych praw do obiektu {0}
90097=Baza danych jest w trybie tylko do odczytu
90098=Baza danych zostala zamknieta
90099=Blad ustawienia sluchacza zdarzen bazy danych {0}
90100=Brak miejsca na dysku
90101=Zly format XID: {0}
90102=Nie wspierana opcja kompresji: {0}
90103=Nie wspierany algorytm kompresji: {0}
90101=Zly format XID\: {0}
90102=Nie wspierana opcja kompresji\: {0}
90103=Nie wspierany algorytm kompresji\: {0}
90104=Blad kompresji
90105=Wyjatek wywoluje funkcje uzytkownika
90106=Nie mozna obciac {0}
......@@ -139,14 +141,15 @@
90118=Nie mozna skasowac tabeli {0}
90119=Typ danych uzytkownika {0} juz istnieje
90120=Typ danych uzytkownika {0} nie istnieje
90121=Database called at VM shutdown; add ";DB_CLOSE_ON_EXIT=FALSE" to the db URL to disable automatic database closing
90122=Operacja nie jest dozwolona dla tabeli {0} gdy istnieja widoki oparte na tabeli: {1}
90121=Database called at VM shutdown; add ";DB_CLOSE_ON_EXIT\=FALSE" to the db URL to disable automatic database closing
90122=Operacja nie jest dozwolona dla tabeli {0} gdy istnieja widoki oparte na tabeli\: {1}
90123=Nie mozna mieszac parametrow indeksowych z nieindeksowymi
90124=Plik nie istnieje: {0}
90124=Plik nie istnieje\: {0}
90125=Nieprawidlowa klasa, oczekiwano {0} a jest {1}
90126=Baza danych nie jest trwala
HY000=Blad ogolny: {0}
HY004=Nieznany typ danyche: {0}
90127=\#The result set is not updatable. The query must select all columns from a unique key. Only one table may be selected.
90128=\#The result set is not scrollable and can not be reset. You may need to use conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY).
HY000=Blad ogolny\: {0}
HY004=Nieznany typ danyche\: {0}
HYC00=Cecha nie jest wspierana
HYT00=Czas oczekiwania na blokade tabeli {0} sie skonczyl
......@@ -30,12 +30,17 @@ import org.h2.util.MathUtils;
import org.h2.util.NetUtils;
import org.h2.util.RandomUtils;
import org.h2.util.Resources;
import org.h2.util.SortedProperties;
public class WebServer implements Service {
// TODO tool: implement a watchdog for a server
private static final String DEFAULT_LANGUAGE = "en";
/**
* Hungarian spec chars: &eacute;&#369;&aacute;&#337;&uacute;&ouml;&uuml;&oacute;&iacute;&Eacute;&Aacute;&#368;&#336;&Uacute;&Ouml;&Uuml;&Oacute;&Iacute;
*/
private static final String[][] LANGUAGES = {
{ "en", "English" },
{ "de", "Deutsch" },
......@@ -388,7 +393,7 @@ public class WebServer implements Service {
synchronized void saveSettings() {
try {
Properties prop = new Properties();
Properties prop = new SortedProperties();
if(driverList != null) {
prop.setProperty("drivers", driverList);
}
......
# Use the PropertiesToUTF8 tool to translate the files to UTF-8 and back
# Translator: Thomas Mueller
.translator=Thomas Mueller
a.help=Hilfe
a.language=Deutsch
a.lynxNotSupported=Dieser Browser unterst&uuml;tzt keine Frames. Frames (und Javascript) werden ben&ouml;tigt.
......@@ -32,7 +31,7 @@ helpAction=Aktion
helpAddAnotherRow=F&uuml;gt einen weiteren Datensatz hinzu
helpAddDrivers=Datenbank Treiber hinzuf&uuml;gen
helpAddDriversOnlyJava=Zus&auml;tzliche Treiber werden nur von der Java Version unterst&uuml;tzt (nicht von der Native Version).
helpAddDriversText=Es ist m&ouml;glich zus&auml;tzliche Datenbank-Treiber zu laden, indem die Pfade der Treiber-Dateien in den Umgebungsvariablen H2DRIVERS oder CLASSPATH eingetragen werden. Beispiel (Windows): Um den Datenbank-Treiber mit dem Jar-File C:\\Programs\\hsqldb\\lib\\hsqldb.jar hinzuzuf&uuml;gen, setzen Sie den die Umgebungvariable H2DRIVERS auf C:\\Programs\\hsqldb\\lib\\hsqldb.jar.
helpAddDriversText=Es ist m&ouml;glich zus&auml;tzliche Datenbank-Treiber zu laden, indem die Pfade der Treiber-Dateien in den Umgebungsvariablen H2DRIVERS oder CLASSPATH eingetragen werden. Beispiel (Windows)\: Um den Datenbank-Treiber mit dem Jar-File C\:\\Programs\\hsqldb\\lib\\hsqldb.jar hinzuzuf&uuml;gen, setzen Sie den die Umgebungvariable H2DRIVERS auf C\:\\Programs\\hsqldb\\lib\\hsqldb.jar.
helpAddRow=F&uuml;gt einen Datensatz hinzu
helpCommandHistory=Zeigt die Befehls-Chronik
helpCreateTable=Erzeugt eine neue Tabelle
......@@ -81,9 +80,9 @@ resultEdit.save=Speichern
toolbar.all=Alle
toolbar.autoCommit=Auto-Commit
toolbar.autoComplete=Auto-Complete
toolbar.autoComplete.off=Aus
toolbar.autoComplete.normal=Normal
toolbar.autoComplete.full=Alles
toolbar.autoComplete.normal=Normal
toolbar.autoComplete.off=Aus
toolbar.cancelStatement=Laufenden Befehl abbrechen
toolbar.clear=Leeren
toolbar.commit=Commit (Abschliessen/Speichern)
......
# Use the PropertiesToUTF8 tool to translate the files to UTF-8 and back
.translator=Thomas Mueller
a.help=Help
a.language=English
a.lynxNotSupported=Sorry, Lynx not supported yet
......@@ -31,7 +31,7 @@ helpAction=Action
helpAddAnotherRow=Add another row
helpAddDrivers=Adding Database Drivers
helpAddDriversOnlyJava=Only the Java version supports additional drivers (this feature is not supported by the Native version).
helpAddDriversText=Additional database drivers can be registerd by adding the Jar file location of the driver to the the environment variables H2DRIVERS or CLASSPATH. Example (Windows): To add the database driver library C:\\Programs\\hsqldb\\lib\\hsqldb.jar, set the environment variable H2DRIVERS to C:\\Programs\\hsqldb\\lib\\hsqldb.jar.
helpAddDriversText=Additional database drivers can be registerd by adding the Jar file location of the driver to the the environment variables H2DRIVERS or CLASSPATH. Example (Windows)\: To add the database driver library C\:\\Programs\\hsqldb\\lib\\hsqldb.jar, set the environment variable H2DRIVERS to C\:\\Programs\\hsqldb\\lib\\hsqldb.jar.
helpAddRow=Add a new row
helpCommandHistory=Shows the Command History
helpCreateTable=Create a new table
......@@ -80,9 +80,9 @@ resultEdit.save=Save
toolbar.all=All
toolbar.autoCommit=Auto commit
toolbar.autoComplete=Auto complete
toolbar.autoComplete.off=Off
toolbar.autoComplete.normal=Normal
toolbar.autoComplete.full=Full
toolbar.autoComplete.normal=Normal
toolbar.autoComplete.off=Off
toolbar.cancelStatement=Cancel the current statement
toolbar.clear=Clear
toolbar.commit=Commit
......
# Use the PropertiesToUTF8 tool to translate the files to UTF-8 and back
# Translator: Miguel Angel
.translator=Miguel Angel
a.help=Ayuda
a.language=Espa&ntilde;ol
a.lynxNotSupported=Lo sentimos, Lynx no est&aacute; soportado todav&iacute;a
......@@ -32,7 +31,7 @@ helpAction=Action
helpAddAnotherRow=A&ntilde;adir otra fila
helpAddDrivers=A&ntilde;adiendo drivers de base de datos
helpAddDriversOnlyJava=Solo la versi&oacute;n Java soporta otros drivers (esta caracteristica no esta soportada por la versi&oacute;n nativa).
helpAddDriversText=Se pueden registrar otros drivers a&ntilde;adiendo el archivo Jar del driver a la variable de entorno H2DRIVERS o CLASSPATH. Por ejemplo (Windows): Para a&ntilde;adir la librer&iacute;a del driver de base de datos C:\\Programs\\hsqldb\\lib\\hsqldb.jar, hay que establecer la variable de entorno H2DRIVERS a C:\\Programs\\hsqldb\\lib\\hsqldb.jar.
helpAddDriversText=Se pueden registrar otros drivers a&ntilde;adiendo el archivo Jar del driver a la variable de entorno H2DRIVERS o CLASSPATH. Por ejemplo (Windows)\: Para a&ntilde;adir la librer&iacute;a del driver de base de datos C\:\\Programs\\hsqldb\\lib\\hsqldb.jar, hay que establecer la variable de entorno H2DRIVERS a C\:\\Programs\\hsqldb\\lib\\hsqldb.jar.
helpAddRow=A&ntilde;adir una fila nueva
helpCommandHistory=Ver hist&oacute;rico de comandos
helpCreateTable=Crear una tabla nueva
......@@ -81,9 +80,9 @@ resultEdit.save=Guardar
toolbar.all=Todos
toolbar.autoCommit=Auto commit
toolbar.autoComplete=Auto completado
toolbar.autoComplete.off=Desactivado
toolbar.autoComplete.normal=Normal
toolbar.autoComplete.full=Completo
toolbar.autoComplete.normal=Normal
toolbar.autoComplete.off=Desactivado
toolbar.cancelStatement=Cancelar la instrucci&oacute;n actual
toolbar.clear=Eliminar
toolbar.commit=Commit
......
# Use the PropertiesToUTF8 tool to translate the files to UTF-8 and back
.translator=?
a.help=Aide
a.language=Fran&ccedil;ais
a.lynxNotSupported=D&eacute;sol&eacute;, Lynx n'est pas encore support&eacute;
......@@ -6,11 +6,11 @@ a.password=Mot de passe
a.remoteConnectionsDisabled=D&eacute;sol&eacute;, la gestion des connexions provenant de machines distantes est d&eacute;sactiv&eacute;e sur ce serveur ('webAllowOthers').
a.title=Console H2
a.user=Nom d'utilisateur
admin.executing=#Executing
admin.ip=#IP
admin.lastAccess=#Last Access
admin.lastQuery=#Last Query
admin.url=#URL
admin.executing=\#Executing
admin.ip=\#IP
admin.lastAccess=\#Last Access
admin.lastQuery=\#Last Query
admin.url=\#URL
adminAllow=Clients autoris&eacute;s
adminConnection=S&eacute;curit&eacute; des connexions
adminHttp=Utiliser des connexions HTTP non s&eacute;curis&eacute;es
......@@ -25,13 +25,13 @@ adminPort=Num&eacute;ro de port du serveur Web
adminRestart=Modifications effectu&eacute;es apr&egrave; red&eacute;marrage du serveur.
adminSave=Enregistrer
adminSessions=Sessions actives
adminShutdown=#Shutdown
adminShutdown=\#Shutdown
adminTitle=Console H2 de param&eacute;trage des options
helpAction=Action
helpAddAnotherRow=Ajouter un autre enregistrement
helpAddDrivers=Ajouter de drivers de base de donn&eacute;es
helpAddDriversOnlyJava=Seule la version Java permet d'ajouter des drivers suppl&eacute;mentaires. (Cette fonctionnalit&eacute; n'est pas support&eacute;e dans la version Native).
helpAddDriversText=Des drivers additionels peuvent &ecirc;tre configur&eacute;s en d&eacute;clarant l'emplacement du fichier Jar contenant ces drivers dans les variables d'environnement H2DRIVERS ou CLASSPATH. Exemple (Windows): Pour ajouter la librairie C:\\Programs\\hsqldb\\lib\\hsqldb.jar, d&eacute;finir la valeur de la variable d'environnement H2DRIVERS en C:\\Programs\\hsqldb\\lib\\hsqldb.jar.
helpAddDriversText=Des drivers additionels peuvent &ecirc;tre configur&eacute;s en d&eacute;clarant l'emplacement du fichier Jar contenant ces drivers dans les variables d'environnement H2DRIVERS ou CLASSPATH. Exemple (Windows)\: Pour ajouter la librairie C\:\\Programs\\hsqldb\\lib\\hsqldb.jar, d&eacute;finir la valeur de la variable d'environnement H2DRIVERS en C\:\\Programs\\hsqldb\\lib\\hsqldb.jar.
helpAddRow=Ajouter un nouvel enregistrement
helpCommandHistory=Affiche l'historique des commandes
helpCreateTable=Cr&eacute;er une nouvelle table
......@@ -79,10 +79,10 @@ resultEdit.editResult=Editer
resultEdit.save=Enregistrer
toolbar.all=Tous
toolbar.autoCommit=Validation automatique (auto commit)
toolbar.autoComplete=#Auto-Complete
toolbar.autoComplete.off=#Off
toolbar.autoComplete.normal=#Normal
toolbar.autoComplete.full=#Full
toolbar.autoComplete=\#Auto-Complete
toolbar.autoComplete.full=\#Full
toolbar.autoComplete.normal=\#Normal
toolbar.autoComplete.off=\#Off
toolbar.cancelStatement=Annuler l'instruction en cours
toolbar.clear=Effacer
toolbar.commit=Valider
......
# Use the PropertiesToUTF8 tool to translate the files to UTF-8 and back
# Hungarian spec chars: &eacute;&#369;&aacute;&#337;&uacute;&ouml;&uuml;&oacute;&iacute;&Eacute;&Aacute;&#368;&#336;&Uacute;&Ouml;&Uuml;&Oacute;&Iacute;
# Translator: Andras Hideg
.translator=Andras Hideg
a.help=S&uacute;g&oacute;
a.language=Magyar
a.lynxNotSupported=A Lynx b&ouml;ng&eacute;sz&#337; egyel&#337;re nem t&aacute;mogatott
a.lynxNotSupported=A Lynx b&ouml;ng&eacute;sz&\#337; egyel&\#337;re nem t&aacute;mogatott
a.password=Jelsz&oacute;
a.remoteConnectionsDisabled=Ezen a kiszolg&aacute;l&oacute;n t&aacute;voli kapcsolatok ('webAllowOthers') nem enged&eacute;lyezettek.
a.title=H2 konzol
......@@ -22,7 +20,7 @@ adminLogin=Adminisztr&aacute;ci&oacute;s bejelentkez&eacute;s
adminLoginCancel=M&eacute;gse
adminLoginOk=OK
adminLogout=Kil&eacute;p&eacute;s
adminOthers=M&aacute;s sz&aacute;m&iacute;t&oacute;g&eacute;pekr&#337;l kezdem&eacute;nyezett kapcsolatok enged&eacute;lyez&eacute;se
adminOthers=M&aacute;s sz&aacute;m&iacute;t&oacute;g&eacute;pekr&\#337;l kezdem&eacute;nyezett kapcsolatok enged&eacute;lyez&eacute;se
adminPort=Webkiszolg&aacute;l&oacute; portsz&aacute;ma
adminRestart=A v&aacute;ltoztat&aacute;sok a kiszolg&aacute;l&oacute; &uacute;jraind&iacute;t&aacute;sa ut&aacute;n l&eacute;pnek &eacute;rv&eacute;nybe
adminSave=Ment&eacute;s
......@@ -31,9 +29,9 @@ adminShutdown=Le&aacute;ll&iacute;t&aacute;s
adminTitle=H2 Konzol tulajdons&aacute;gai
helpAction=Parancs
helpAddAnotherRow=Rekord hozz&aacute;ad&aacute;sa
helpAddDrivers=Adatb&aacute;zis-illeszt&#337;programok hozz&aacute;ad&aacute;sa
helpAddDriversOnlyJava=Illeszt&#337;programok hozz&aacute;ad&aacute;s&aacute;t csak a Java verzi&oacute; t&aacute;mogatja, a nat&iacute;v verzi&oacute; nem.
helpAddDriversText=Tov&aacute;bbi adatb&aacute;zis-illeszt&#337;programok regisztr&aacute;l&aacute;sakor a H2DRIVERS vagy CLASSPATH k&ouml;rnyezeti v&aacute;ltoz&oacute;khoz kell adni a .jar illeszt&#337;program-f&aacute;jlok el&eacute;r&eacute;si &uacute;tvonalait. P&eacute;ld&aacute;ul (Windows eset&eacute;n) a C:\\Programs\\hsqldb\\lib\\hsqldb.jar illeszt&#337;program regisztr&aacute;l&aacute;s&aacute;hoz a H2DRIVERS k&ouml;rnyezeti v&aacute;ltoz&oacute;nak az al&aacute;bbi &eacute;rt&eacute;k&eacute;t kell megadni: C:\\Programs\\hsqldb\\lib\\hsqldb.jar
helpAddDrivers=Adatb&aacute;zis-illeszt&\#337;programok hozz&aacute;ad&aacute;sa
helpAddDriversOnlyJava=Illeszt&\#337;programok hozz&aacute;ad&aacute;s&aacute;t csak a Java verzi&oacute; t&aacute;mogatja, a nat&iacute;v verzi&oacute; nem.
helpAddDriversText=Tov&aacute;bbi adatb&aacute;zis-illeszt&\#337;programok regisztr&aacute;l&aacute;sakor a H2DRIVERS vagy CLASSPATH k&ouml;rnyezeti v&aacute;ltoz&oacute;khoz kell adni a .jar illeszt&\#337;program-f&aacute;jlok el&eacute;r&eacute;si &uacute;tvonalait. P&eacute;ld&aacute;ul (Windows eset&eacute;n) a C\:\\Programs\\hsqldb\\lib\\hsqldb.jar illeszt&\#337;program regisztr&aacute;l&aacute;s&aacute;hoz a H2DRIVERS k&ouml;rnyezeti v&aacute;ltoz&oacute;nak az al&aacute;bbi &eacute;rt&eacute;k&eacute;t kell megadni\: C\:\\Programs\\hsqldb\\lib\\hsqldb.jar
helpAddRow=Rekord hozz&aacute;ad&aacute;sa
helpCommandHistory=Kor&aacute;bbi utas&iacute;t&aacute;sok megjelen&iacute;t&eacute;se
helpCreateTable=&Uacute;j t&aacute;bla l&eacute;trehoz&aacute;sa
......@@ -44,15 +42,15 @@ helpDropTable=T&aacute;bla t&ouml;rl&eacute;se, ha az l&eacute;tezik
helpExecuteCurrent=Aktu&aacute;lis SQL utas&iacute;t&aacute;s v&eacute;grehajt&aacute;sa
helpIcon=Ikon
helpImportantCommands=Fontos utas&iacute;t&aacute;sok
helpOperations=M&#369;veletek
helpOperations=M&\#369;veletek
helpQuery=T&aacute;bla lek&eacute;rdez&eacute;se
helpSampleSQL=Minta SQL szkript
helpStatements=SQL utas&iacute;t&aacute;sok
helpUpdate=Adatok m&oacute;dos&iacute;t&aacute;sa egy rekordon bel&uuml;l
helpWithColumnsIdName=ID &eacute;s NAME oszlopokkal
login.connect=Csatlakoz&aacute;s
login.driverClass=Illeszt&#337;program oszt&aacute;ly
login.driverNotFound=Adatb&aacute;zis-illeszt&#337;program nem tal&aacute;lhat&oacute;&lt;br&gt;Illeszt&#337;programok hozz&aacute;ad&aacute;s&aacute;r&oacute;l a S&uacute;g&oacute; ad felvil&aacute;gos&iacute;t&aacute;st.
login.driverClass=Illeszt&\#337;program oszt&aacute;ly
login.driverNotFound=Adatb&aacute;zis-illeszt&\#337;program nem tal&aacute;lhat&oacute;&lt;br&gt;Illeszt&\#337;programok hozz&aacute;ad&aacute;s&aacute;r&oacute;l a S&uacute;g&oacute; ad felvil&aacute;gos&iacute;t&aacute;st.
login.goAdmin=Tulajdons&aacute;gok
login.jdbcUrl=JDBC URL
login.language=Nyelv
......@@ -82,9 +80,9 @@ resultEdit.save=Ment&eacute;s
toolbar.all=Mind
toolbar.autoCommit=Automatikus j&oacute;v&aacute;hagy&aacute;s
toolbar.autoComplete=Automatikus kieg&eacute;sz&iacute;t&eacute;s
toolbar.autoComplete.off=Kikapcsolva
toolbar.autoComplete.normal=Norm&aacute;l
toolbar.autoComplete.full=Teljes
toolbar.autoComplete.normal=Norm&aacute;l
toolbar.autoComplete.off=Kikapcsolva
toolbar.cancelStatement=Aktu&aacute;lis utas&iacute;t&aacute;s v&eacute;grehajt&aacute;s&aacute;nak megszak&iacute;t&aacute;sa
toolbar.clear=T&ouml;rl&eacute;s
toolbar.commit=J&oacute;v&aacute;hagy&aacute;s
......
# Use the PropertiesToUTF8 tool to translate the files to UTF-8 and back
# Translator: Joko Yuliantoro
.translator=Joko Yuliantoro
a.help=Bantuan
a.language=Indonesia
a.lynxNotSupported=Maaf, Lynx belum didukung. Gunakan browser yang mendukung Javascript (dan Frame).
......@@ -32,7 +31,7 @@ helpAction=Aksi
helpAddAnotherRow=Menambah sebuah baris
helpAddDrivers=Menambah pengendali basis data
helpAddDriversOnlyJava=Hanya versi Java saja yang mendukung pengendali tambahan (fitur ini tidak didukung oleh versi Native).
helpAddDriversText=Pengendali basis data tambahan dapat didaftarkan dengan cara menambah lokasi file Jar dari si pengendali ke variabel lingkungan H2DRIVERS atau CLASSPATH. Contoh (Windows): Untuk menambah librari pengendali basis data C:\\Programs\\hsqldb\\lib\\hsqldb.jar, atur variabel lingkungan H2DRIVERS menjadi C:\\Programs\\hsqldb\\lib\\hsqldb.jar.
helpAddDriversText=Pengendali basis data tambahan dapat didaftarkan dengan cara menambah lokasi file Jar dari si pengendali ke variabel lingkungan H2DRIVERS atau CLASSPATH. Contoh (Windows)\: Untuk menambah librari pengendali basis data C\:\\Programs\\hsqldb\\lib\\hsqldb.jar, atur variabel lingkungan H2DRIVERS menjadi C\:\\Programs\\hsqldb\\lib\\hsqldb.jar.
helpAddRow=Tambah sebuah baris baru
helpCommandHistory=Tampilkan sejarah perintah
helpCreateTable=Ciptakan sebuah tabel
......@@ -81,9 +80,9 @@ resultEdit.save=Simpan
toolbar.all=Semua
toolbar.autoCommit=Autocommit
toolbar.autoComplete=Auto-Complete
toolbar.autoComplete.off=Off
toolbar.autoComplete.normal=Normal
toolbar.autoComplete.full=Full
toolbar.autoComplete.normal=Normal
toolbar.autoComplete.off=Off
toolbar.cancelStatement=Batalkan pernyataan terkini
toolbar.clear=Bersihkan
toolbar.commit=Laksanakan
......
# Use the PropertiesToUTF8 tool to translate the files to UTF-8 and back
# Translator: IKEMOTO, Masahiro <ikeyan (at) arizona (dot) ne (dot) jp>
a.help=\u30d8\u30eb\u30d7
a.language=\u65e5\u672c\u8a9e
a.lynxNotSupported=Lynx\u306b\u306f\u307e\u3060\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u305b\u3093
a.password=\u30d1\u30b9\u30ef\u30fc\u30c9
a.remoteConnectionsDisabled=\u3053\u306e\u30b5\u30fc\u30d0\u3067\u306f\u3001\u30ea\u30e2\u30fc\u30c8\u63a5\u7d9a('webAllowOthers')\u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u305b\u3093\u3002
a.title=H2\u30b3\u30f3\u30bd\u30fc\u30eb
a.user=\u30e6\u30fc\u30b6\u540d
admin.executing=\u5b9f\u884c\u4e2d
.translator=IKEMOTO, Masahiro <ikeyan (at) arizona (dot) ne (dot) jp>
a.help=\u30D8\u30EB\u30D7
a.language=\u65E5\u672C\u8A9E
a.lynxNotSupported=Lynx\u306B\u306F\u307E\u3060\u5BFE\u5FDC\u3057\u3066\u3044\u307E\u305B\u3093
a.password=\u30D1\u30B9\u30EF\u30FC\u30C9
a.remoteConnectionsDisabled=\u3053\u306E\u30B5\u30FC\u30D0\u3067\u306F\u3001\u30EA\u30E2\u30FC\u30C8\u63A5\u7D9A('webAllowOthers')\u304C\u6709\u52B9\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093\u3002
a.title=H2\u30B3\u30F3\u30BD\u30FC\u30EB
a.user=\u30E6\u30FC\u30B6\u540D
admin.executing=\u5B9F\u884C\u4E2D
admin.ip=IP
admin.lastAccess=\u6700\u7d42\u30a2\u30af\u30bb\u30b9
admin.lastQuery=\u6700\u7d42\u554f\u3044\u5408\u305b
admin.lastAccess=\u6700\u7D42\u30A2\u30AF\u30BB\u30B9
admin.lastQuery=\u6700\u7D42\u554F\u3044\u5408\u305B
admin.url=URL
adminAllow=\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u63a5\u7d9a\u8a31\u53ef
adminConnection=\u63a5\u7d9a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3
adminHttp=\u6697\u53f7\u5316\u3055\u308c\u306a\u3044 HTTP \u63a5\u7d9a\u3092\u4f7f\u7528
adminHttps=\u6697\u53f7\u5316\u3055\u308c\u305f SSL (HTTPS) \u63a5\u7d9a\u3092\u4f7f\u7528
adminLocal=\u30ed\u30fc\u30ab\u30eb\u63a5\u7d9a\u306e\u307f\u8a31\u53ef
adminLogin=\u7ba1\u7406\u8005\u30ed\u30b0\u30a4\u30f3
adminLoginCancel=\u30ad\u30e3\u30f3\u30bb\u30eb
adminAllow=\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u63A5\u7D9A\u8A31\u53EF
adminConnection=\u63A5\u7D9A\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3
adminHttp=\u6697\u53F7\u5316\u3055\u308C\u306A\u3044 HTTP \u63A5\u7D9A\u3092\u4F7F\u7528
adminHttps=\u6697\u53F7\u5316\u3055\u308C\u305F SSL (HTTPS) \u63A5\u7D9A\u3092\u4F7F\u7528
adminLocal=\u30ED\u30FC\u30AB\u30EB\u63A5\u7D9A\u306E\u307F\u8A31\u53EF
adminLogin=\u7BA1\u7406\u8005\u30ED\u30B0\u30A4\u30F3
adminLoginCancel=\u30AD\u30E3\u30F3\u30BB\u30EB
adminLoginOk=OK
adminLogout=\u30ed\u30b0\u30a2\u30a6\u30c8
adminOthers=\u4ed6\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u304b\u3089\u306e\u63a5\u7d9a\u3092\u8a31\u53ef
adminPort=Web\u30b5\u30fc\u30d0\u30dd\u30fc\u30c8\u756a\u53f7
adminRestart=\u5909\u66f4\u306f\u30b5\u30fc\u30d0\u306e\u518d\u8d77\u52d5\u5f8c\u306b\u6709\u52b9\u306b\u306a\u308a\u307e\u3059\u3002
adminSave=\u4fdd\u5b58
adminSessions=\u30a2\u30af\u30c6\u30a3\u30d6\u30bb\u30c3\u30b7\u30e7\u30f3
adminShutdown=\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3
adminTitle=H2\u30b3\u30f3\u30bd\u30fc\u30eb\u8a2d\u5b9a
helpAction=\u30a2\u30af\u30b7\u30e7\u30f3
helpAddAnotherRow=\u5225\u306e\u884c\u3092\u8ffd\u52a0
helpAddDrivers=\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30c9\u30e9\u30a4\u30d0\u306e\u8ffd\u52a0
helpAddDriversOnlyJava=\u8ffd\u52a0\u30c9\u30e9\u30a4\u30d0\u6a5f\u80fd\u306f\u3001Java\u7248\u306e\u307f\u3067\u4f7f\u7528\u3067\u304d\u307e\u3059 (\u30cd\u30a4\u30c6\u30a3\u30d6\u7248\u3067\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093)\u3002
helpAddDriversText=\u8ffd\u52a0\u30c9\u30e9\u30a4\u30d0\u306f\u3001Jar\u30d5\u30a1\u30a4\u30eb\u306e\u5834\u6240\u3092\u74b0\u5883\u5909\u6570 H2DRIVERS\u3001\u307e\u305f\u306f CLASSPATH \u306b\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u767b\u9332\u3067\u304d\u307e\u3059\u3002\u4f8b (Windows): \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30c9\u30e9\u30a4\u30d0\u30e9\u30a4\u30d6\u30e9\u30ea C:\\Programs\\hsqldb\\lib\\hsqldb.jar \u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001\u74b0\u5883\u5909\u6570 H2DRIVERS \u306b\u3001C:\\Programs\\hsqldb\\lib\\hsqldb.jar \u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002
helpAddRow=\u65b0\u3057\u3044\u884c\u3092\u8ffd\u52a0
helpCommandHistory=\u30b3\u30de\u30f3\u30c9\u5c65\u6b74\u3092\u8868\u793a
helpCreateTable=ID\u3001\u304a\u3088\u3073 NAME \u5217\u3092\u6301\u3064
helpDeleteRow=\u884c\u3092\u524a\u9664
helpDisconnect=\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u63a5\u7d9a\u3092\u5207\u65ad
helpDisplayThis=\u3053\u306e\u30da\u30fc\u30b8\u3092\u8868\u793a
helpDropTable=\u5b58\u5728\u3059\u308b\u306a\u3089\u30c6\u30fc\u30d6\u30eb\u3092\u524a\u9664
helpExecuteCurrent=\u73fe\u5728\u306eSQL\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u5b9f\u884c
helpIcon=\u30a2\u30a4\u30b3\u30f3
helpImportantCommands=\u91cd\u8981\u306a\u30b3\u30de\u30f3\u30c9
helpOperations=\u30aa\u30da\u30ec\u30fc\u30b7\u30e7\u30f3
helpQuery=\u30c6\u30fc\u30d6\u30eb\u554f\u3044\u5408\u308f\u305b
helpSampleSQL=SQL\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306e\u30b5\u30f3\u30d7\u30eb
helpStatements=SQL\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8
helpUpdate=\u884c\u30c7\u30fc\u30bf\u306e\u5909\u66f4
helpWithColumnsIdName=\u65b0\u3057\u3044\u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u6210
login.connect=\u63a5\u7d9a
login.driverClass=\u30c9\u30e9\u30a4\u30d0\u30af\u30e9\u30b9
login.driverNotFound=\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30c9\u30e9\u30a4\u30d0\u304c\u898b\u4ed8\u304b\u308a\u307e\u305b\u3093<br />\u30d8\u30eb\u30d7\u3067\u30c9\u30e9\u30a4\u30d0\u306e\u8ffd\u52a0\u65b9\u6cd5\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044
login.goAdmin=\u8a2d\u5b9a
adminLogout=\u30ED\u30B0\u30A2\u30A6\u30C8
adminOthers=\u4ED6\u306E\u30B3\u30F3\u30D4\u30E5\u30FC\u30BF\u304B\u3089\u306E\u63A5\u7D9A\u3092\u8A31\u53EF
adminPort=Web\u30B5\u30FC\u30D0\u30DD\u30FC\u30C8\u756A\u53F7
adminRestart=\u5909\u66F4\u306F\u30B5\u30FC\u30D0\u306E\u518D\u8D77\u52D5\u5F8C\u306B\u6709\u52B9\u306B\u306A\u308A\u307E\u3059\u3002
adminSave=\u4FDD\u5B58
adminSessions=\u30A2\u30AF\u30C6\u30A3\u30D6\u30BB\u30C3\u30B7\u30E7\u30F3
adminShutdown=\u30B7\u30E3\u30C3\u30C8\u30C0\u30A6\u30F3
adminTitle=H2\u30B3\u30F3\u30BD\u30FC\u30EB\u8A2D\u5B9A
helpAction=\u30A2\u30AF\u30B7\u30E7\u30F3
helpAddAnotherRow=\u5225\u306E\u884C\u3092\u8FFD\u52A0
helpAddDrivers=\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u30C9\u30E9\u30A4\u30D0\u306E\u8FFD\u52A0
helpAddDriversOnlyJava=\u8FFD\u52A0\u30C9\u30E9\u30A4\u30D0\u6A5F\u80FD\u306F\u3001Java\u7248\u306E\u307F\u3067\u4F7F\u7528\u3067\u304D\u307E\u3059 (\u30CD\u30A4\u30C6\u30A3\u30D6\u7248\u3067\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093)\u3002
helpAddDriversText=\u8FFD\u52A0\u30C9\u30E9\u30A4\u30D0\u306F\u3001Jar\u30D5\u30A1\u30A4\u30EB\u306E\u5834\u6240\u3092\u74B0\u5883\u5909\u6570 H2DRIVERS\u3001\u307E\u305F\u306F CLASSPATH \u306B\u8FFD\u52A0\u3059\u308B\u3053\u3068\u3067\u767B\u9332\u3067\u304D\u307E\u3059\u3002\u4F8B (Windows)\: \u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u30C9\u30E9\u30A4\u30D0\u30E9\u30A4\u30D6\u30E9\u30EA C\:\\Programs\\hsqldb\\lib\\hsqldb.jar \u3092\u8FFD\u52A0\u3059\u308B\u306B\u306F\u3001\u74B0\u5883\u5909\u6570 H2DRIVERS \u306B\u3001C\:\\Programs\\hsqldb\\lib\\hsqldb.jar \u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002
helpAddRow=\u65B0\u3057\u3044\u884C\u3092\u8FFD\u52A0
helpCommandHistory=\u30B3\u30DE\u30F3\u30C9\u5C65\u6B74\u3092\u8868\u793A
helpCreateTable=ID\u3001\u304A\u3088\u3073 NAME \u5217\u3092\u6301\u3064
helpDeleteRow=\u884C\u3092\u524A\u9664
helpDisconnect=\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u63A5\u7D9A\u3092\u5207\u65AD
helpDisplayThis=\u3053\u306E\u30DA\u30FC\u30B8\u3092\u8868\u793A
helpDropTable=\u5B58\u5728\u3059\u308B\u306A\u3089\u30C6\u30FC\u30D6\u30EB\u3092\u524A\u9664
helpExecuteCurrent=\u73FE\u5728\u306ESQL\u30B9\u30C6\u30FC\u30C8\u30E1\u30F3\u30C8\u3092\u5B9F\u884C
helpIcon=\u30A2\u30A4\u30B3\u30F3
helpImportantCommands=\u91CD\u8981\u306A\u30B3\u30DE\u30F3\u30C9
helpOperations=\u30AA\u30DA\u30EC\u30FC\u30B7\u30E7\u30F3
helpQuery=\u30C6\u30FC\u30D6\u30EB\u554F\u3044\u5408\u308F\u305B
helpSampleSQL=SQL\u30B9\u30C6\u30FC\u30C8\u30E1\u30F3\u30C8\u306E\u30B5\u30F3\u30D7\u30EB
helpStatements=SQL\u30B9\u30C6\u30FC\u30C8\u30E1\u30F3\u30C8
helpUpdate=\u884C\u30C7\u30FC\u30BF\u306E\u5909\u66F4
helpWithColumnsIdName=\u65B0\u3057\u3044\u30C6\u30FC\u30D6\u30EB\u3092\u4F5C\u6210
login.connect=\u63A5\u7D9A
login.driverClass=\u30C9\u30E9\u30A4\u30D0\u30AF\u30E9\u30B9
login.driverNotFound=\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u30C9\u30E9\u30A4\u30D0\u304C\u898B\u4ED8\u304B\u308A\u307E\u305B\u3093<br />\u30D8\u30EB\u30D7\u3067\u30C9\u30E9\u30A4\u30D0\u306E\u8FFD\u52A0\u65B9\u6CD5\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044
login.goAdmin=\u8A2D\u5B9A
login.jdbcUrl=JDBC URL
login.language=\u8a00\u8a9e
login.login=\u30ed\u30b0\u30a4\u30f3
login.remove=\u524a\u9664
login.save=\u4fdd\u5b58
login.savedSetting=\u4fdd\u5b58\u6e08\u8a2d\u5b9a
login.settingName=\u8a2d\u5b9a\u540d
login.testConnection=\u63a5\u7d9a\u30c6\u30b9\u30c8
login.testSuccessful=\u30c6\u30b9\u30c8\u306f\u6210\u529f\u3057\u307e\u3057\u305f
login.welcome=H2\u30b3\u30f3\u30bd\u30fc\u30eb
result.1row=1 \u884c
result.autoCommitOff=\u30aa\u30fc\u30c8\u30b3\u30df\u30c3\u30c8\u304c\u7121\u52b9\u306b\u306a\u308a\u307e\u3057\u305f
result.autoCommitOn=\u30aa\u30fc\u30c8\u30b3\u30df\u30c3\u30c8\u304c\u6709\u52b9\u306b\u306a\u308a\u307e\u3057\u305f
result.maxrowsSet=\u6700\u5927\u884c\u6570\u304c\u8a2d\u5b9a\u3055\u308c\u307e\u3057\u305f
result.noRows=\u8a72\u5f53\u884c\u7121\u3057
result.noRunningStatement=\u73fe\u5728\u5b9f\u884c\u4e2d\u306e\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306f\u3042\u308a\u307e\u305b\u3093
result.rows=\u884c
result.statementWasCancelled=\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u304c\u30ad\u30e3\u30f3\u30bb\u30eb\u3055\u308c\u307e\u3057\u305f
result.updateCount=\u66f4\u65b0\u6570
resultEdit.add=\u8ffd\u52a0
resultEdit.cancel=\u30ad\u30e3\u30f3\u30bb\u30eb
resultEdit.delete=\u524a\u9664
resultEdit.edit=\u7de8\u96c6
resultEdit.editResult=\u7de8\u96c6
resultEdit.save=\u4fdd\u5b58
login.language=\u8A00\u8A9E
login.login=\u30ED\u30B0\u30A4\u30F3
login.remove=\u524A\u9664
login.save=\u4FDD\u5B58
login.savedSetting=\u4FDD\u5B58\u6E08\u8A2D\u5B9A
login.settingName=\u8A2D\u5B9A\u540D
login.testConnection=\u63A5\u7D9A\u30C6\u30B9\u30C8
login.testSuccessful=\u30C6\u30B9\u30C8\u306F\u6210\u529F\u3057\u307E\u3057\u305F
login.welcome=H2\u30B3\u30F3\u30BD\u30FC\u30EB
result.1row=1 \u884C
result.autoCommitOff=\u30AA\u30FC\u30C8\u30B3\u30DF\u30C3\u30C8\u304C\u7121\u52B9\u306B\u306A\u308A\u307E\u3057\u305F
result.autoCommitOn=\u30AA\u30FC\u30C8\u30B3\u30DF\u30C3\u30C8\u304C\u6709\u52B9\u306B\u306A\u308A\u307E\u3057\u305F
result.maxrowsSet=\u6700\u5927\u884C\u6570\u304C\u8A2D\u5B9A\u3055\u308C\u307E\u3057\u305F
result.noRows=\u8A72\u5F53\u884C\u7121\u3057
result.noRunningStatement=\u73FE\u5728\u5B9F\u884C\u4E2D\u306E\u30B9\u30C6\u30FC\u30C8\u30E1\u30F3\u30C8\u306F\u3042\u308A\u307E\u305B\u3093
result.rows=\u884C
result.statementWasCancelled=\u30B9\u30C6\u30FC\u30C8\u30E1\u30F3\u30C8\u304C\u30AD\u30E3\u30F3\u30BB\u30EB\u3055\u308C\u307E\u3057\u305F
result.updateCount=\u66F4\u65B0\u6570
resultEdit.add=\u8FFD\u52A0
resultEdit.cancel=\u30AD\u30E3\u30F3\u30BB\u30EB
resultEdit.delete=\u524A\u9664
resultEdit.edit=\u7DE8\u96C6
resultEdit.editResult=\u7DE8\u96C6
resultEdit.save=\u4FDD\u5B58
toolbar.all=\u5168\u3066
toolbar.autoCommit=\u30aa\u30fc\u30c8\u30b3\u30df\u30c3\u30c8
toolbar.autoComplete=\u30aa\u30fc\u30c8\u30b3\u30f3\u30d7\u30ea\u30fc\u30c8
toolbar.autoComplete.off=\u30aa\u30d5
toolbar.autoComplete.normal=\u30ce\u30fc\u30de\u30eb
toolbar.autoComplete.full=\u30d5\u30eb
toolbar.cancelStatement=\u73fe\u5728\u306e\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u30ad\u30e3\u30f3\u30bb\u30eb
toolbar.clear=\u30af\u30ea\u30a2
toolbar.commit=\u30b3\u30df\u30c3\u30c8
toolbar.disconnect=\u5207\u65ad
toolbar.history=\u30b3\u30de\u30f3\u30c9\u5c65\u6b74
toolbar.maxRows=\u6700\u5927\u884c\u6570
toolbar.refresh=\u30ea\u30d5\u30ec\u30c3\u30b7\u30e5
toolbar.rollback=\u30ed\u30fc\u30eb\u30d0\u30c3\u30af
toolbar.run=\u5b9f\u884c (Ctrl+Enter)
toolbar.sqlStatement=SQL\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8
tree.admin=\u7ba1\u7406\u8005
tree.current=\u73fe\u5728\u5024
tree.hashed=\u30cf\u30c3\u30b7\u30e5
tree.increment=\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8
tree.indexes=\u30a4\u30f3\u30c7\u30c3\u30af\u30b9
toolbar.autoCommit=\u30AA\u30FC\u30C8\u30B3\u30DF\u30C3\u30C8
toolbar.autoComplete=\u30AA\u30FC\u30C8\u30B3\u30F3\u30D7\u30EA\u30FC\u30C8
toolbar.autoComplete.full=\u30D5\u30EB
toolbar.autoComplete.normal=\u30CE\u30FC\u30DE\u30EB
toolbar.autoComplete.off=\u30AA\u30D5
toolbar.cancelStatement=\u73FE\u5728\u306E\u30B9\u30C6\u30FC\u30C8\u30E1\u30F3\u30C8\u3092\u30AD\u30E3\u30F3\u30BB\u30EB
toolbar.clear=\u30AF\u30EA\u30A2
toolbar.commit=\u30B3\u30DF\u30C3\u30C8
toolbar.disconnect=\u5207\u65AD
toolbar.history=\u30B3\u30DE\u30F3\u30C9\u5C65\u6B74
toolbar.maxRows=\u6700\u5927\u884C\u6570
toolbar.refresh=\u30EA\u30D5\u30EC\u30C3\u30B7\u30E5
toolbar.rollback=\u30ED\u30FC\u30EB\u30D0\u30C3\u30AF
toolbar.run=\u5B9F\u884C (Ctrl+Enter)
toolbar.sqlStatement=SQL\u30B9\u30C6\u30FC\u30C8\u30E1\u30F3\u30C8
tree.admin=\u7BA1\u7406\u8005
tree.current=\u73FE\u5728\u5024
tree.hashed=\u30CF\u30C3\u30B7\u30E5
tree.increment=\u30A4\u30F3\u30AF\u30EA\u30E1\u30F3\u30C8
tree.indexes=\u30A4\u30F3\u30C7\u30C3\u30AF\u30B9
tree.nonUnique=Non-Unique
tree.sequences=\u30b7\u30fc\u30b1\u30f3\u30b9
tree.sequences=\u30B7\u30FC\u30B1\u30F3\u30B9
tree.unique=Unique
tree.users=\u30e6\u30fc\u30b6
tree.users=\u30E6\u30FC\u30B6
# Use the PropertiesToUTF8 tool to translate the files to UTF-8 and back
# Translator: Tomek
.translator=Tomek
a.help=Pomoc
a.language=Polski
a.lynxNotSupported=Przegl&#261;darka Lynx nie jest wpierana jeszcze
a.password=Has&#322;o
a.remoteConnectionsDisabled=Po&#322;&#261;czenia zdalne ('webAllowOthers') s&#261; wy&#322;&#261;czone na tym serwerze.
a.lynxNotSupported=Przegl&\#261;darka Lynx nie jest wpierana jeszcze
a.password=Has&\#322;o
a.remoteConnectionsDisabled=Po&\#322;&\#261;czenia zdalne ('webAllowOthers') s&\#261; wy&\#322;&\#261;czone na tym serwerze.
a.title=Konsola H2
a.user=U&#380;ytkownik
a.user=U&\#380;ytkownik
admin.executing=Wykonywanie
admin.ip=IP
admin.lastAccess=Ostatnie logowanie
......@@ -14,64 +13,64 @@ admin.lastQuery=Ostatnie zapytanie
admin.url=URL
adminAllow=Allowed clients
adminConnection=Connection security
adminHttp=U&#380;ywaj szyfrowanych po&#322;&#261;cze&#324; HTTP
adminHttps=U&#380;ywaj szyfrowanych po&#322;&#261;cze&#324; SSL (HTTPS)
adminLocal=Tylko lokalne po&#322;&#261;czenia
adminHttp=U&\#380;ywaj szyfrowanych po&\#322;&\#261;cze&\#324; HTTP
adminHttps=U&\#380;ywaj szyfrowanych po&\#322;&\#261;cze&\#324; SSL (HTTPS)
adminLocal=Tylko lokalne po&\#322;&\#261;czenia
adminLogin=Logowanie administracyjne
adminLoginCancel=Anuluj
adminLoginOk=OK
adminLogout=Wyloguj
adminOthers=Pozwalaj na po&#322;&#261;czenia zdalne
adminOthers=Pozwalaj na po&\#322;&\#261;czenia zdalne
adminPort=Numer portu serwera Web
adminRestart=Zmiany b&#281;d&#261; widoczne po zrestartowaniu serwera.
adminRestart=Zmiany b&\#281;d&\#261; widoczne po zrestartowaniu serwera.
adminSave=Zapisz
adminSessions=Aktywne sesje
adminShutdown=Wy&#322;&#261;cz
adminShutdown=Wy&\#322;&\#261;cz
adminTitle=Ustawienia konsoli H2
helpAction=Akcja
helpAddAnotherRow=Dodaj kolejny rekord
helpAddDrivers=Dodatkowe sterowniki baz danych
helpAddDriversOnlyJava=Tylko implementacja w Javie pozwala na dodawanie dodatkowych sterownik&oacute;w (nie wspierane przez wersje natywn&#261;).
helpAddDriversText=Additional database drivers can be registerd by adding the Jar file location of the driver to the the environment variables H2DRIVERS or CLASSPATH. Example (Windows): To add the database driver library C:\\Programs\\hsqldb\\lib\\hsqldb.jar, set the environment variable H2DRIVERS to C:\\Programs\\hsqldb\\lib\\hsqldb.jar.
helpAddDriversOnlyJava=Tylko implementacja w Javie pozwala na dodawanie dodatkowych sterownik&oacute;w (nie wspierane przez wersje natywn&\#261;).
helpAddDriversText=Additional database drivers can be registerd by adding the Jar file location of the driver to the the environment variables H2DRIVERS or CLASSPATH. Example (Windows)\: To add the database driver library C\:\\Programs\\hsqldb\\lib\\hsqldb.jar, set the environment variable H2DRIVERS to C\:\\Programs\\hsqldb\\lib\\hsqldb.jar.
helpAddRow=Dodaj nowy rekord
helpCommandHistory=Pokazuje histori&#281; komend
helpCreateTable=Tworzy now&#261; tabele
helpDeleteRow=Usu&#324; rekord
helpDisconnect=Wyloguj si&#281; z bazy danych
helpDisplayThis=Wy&#347;wietla t&#261; strone pomocy
helpDropTable=Skasuj tabele je&#380;eli istnieje
helpExecuteCurrent=Wykonuje bierz&#261;ce zapytanie SQL
helpCommandHistory=Pokazuje histori&\#281; komend
helpCreateTable=Tworzy now&\#261; tabele
helpDeleteRow=Usu&\#324; rekord
helpDisconnect=Wyloguj si&\#281; z bazy danych
helpDisplayThis=Wy&\#347;wietla t&\#261; strone pomocy
helpDropTable=Skasuj tabele je&\#380;eli istnieje
helpExecuteCurrent=Wykonuje bierz&\#261;ce zapytanie SQL
helpIcon=Ikona
helpImportantCommands=Wa&#380;ne komendy
helpImportantCommands=Wa&\#380;ne komendy
helpOperations=Operacje
helpQuery=Query the table
helpSampleSQL=Prosty skrypt SQL
helpStatements=Wyra&#380;enia SQL
helpUpdate=Zmie&#324; dane w rekordzie
helpStatements=Wyra&\#380;enia SQL
helpUpdate=Zmie&\#324; dane w rekordzie
helpWithColumnsIdName=z kolumnami ID i NAME
login.connect=Po&#322;&#261;cz
login.connect=Po&\#322;&\#261;cz
login.driverClass=Klasa sterownika
login.driverNotFound=Sterownik nie istnieje&lt;br /&gt;Zobacz w dokumentacji opis dodawania sterownik&oacute;w
login.goAdmin=Opcje
login.jdbcUrl=JDBC URL
login.language=J&#281;zyk
login.login=U&#380;ytkownik
login.remove=Usu&#324;
login.language=J&\#281;zyk
login.login=U&\#380;ytkownik
login.remove=Usu&\#324;
login.save=Zapisz
login.savedSetting=Zapisz opcje
login.settingName=Nazwa opcji
login.testConnection=Testuj po&#322;aczenie
login.testSuccessful=Test zako&#324;czony sukcesem
login.testConnection=Testuj po&\#322;aczenie
login.testSuccessful=Test zako&\#324;czony sukcesem
login.welcome=Konsola H2
result.1row=1 rekord
result.autoCommitOff=Automatyczne zatwierdzanie jest teraz WY&#321;&#260;CZONE
result.autoCommitOn=Automatyczne zatwierdzanie jest teraz W&#321;ACZONE
result.maxrowsSet=Maksymalna ilo&#347;&#263; rekord&oacute;w
result.autoCommitOff=Automatyczne zatwierdzanie jest teraz WY&\#321;&\#260;CZONE
result.autoCommitOn=Automatyczne zatwierdzanie jest teraz W&\#321;ACZONE
result.maxrowsSet=Maksymalna ilo&\#347;&\#263; rekord&oacute;w
result.noRows=brak danych
result.noRunningStatement=Obecnie nie jest wykonywane &#380;edne zapytanie
result.noRunningStatement=Obecnie nie jest wykonywane &\#380;edne zapytanie
result.rows=rekordy
result.statementWasCancelled=Zapytanie zosta&#322;o anulowane
result.updateCount=Ilo&#347;&#263; aktualizacji
result.statementWasCancelled=Zapytanie zosta&\#322;o anulowane
result.updateCount=Ilo&\#347;&\#263; aktualizacji
resultEdit.add=Dodaj
resultEdit.cancel=Anuluj
resultEdit.delete=Skasuj
......@@ -80,26 +79,26 @@ resultEdit.editResult=Edytuj
resultEdit.save=Zapisz
toolbar.all=Wszystko
toolbar.autoCommit=Automatyczne zatwierdzanie
toolbar.autoComplete=Automatyczne uzupe&#322;nianie
toolbar.autoComplete.off=Wy&#322;&#261;czony
toolbar.autoComplete=Automatyczne uzupe&\#322;nianie
toolbar.autoComplete.full=Pe&\#322;ny
toolbar.autoComplete.normal=Normalny
toolbar.autoComplete.full=Pe&#322;ny
toolbar.cancelStatement=Anuluj bierz&#261;ce zapytanie
toolbar.clear=Wyczy&#347;&#263;
toolbar.commit=Zatwierd&#378;
toolbar.disconnect=Roz&#322;&#261;cz
toolbar.autoComplete.off=Wy&\#322;&\#261;czony
toolbar.cancelStatement=Anuluj bierz&\#261;ce zapytanie
toolbar.clear=Wyczy&\#347;&\#263;
toolbar.commit=Zatwierd&\#378;
toolbar.disconnect=Roz&\#322;&\#261;cz
toolbar.history=Historia komend
toolbar.maxRows=Maksymalna ilo&#347;&#263; rekord&oacute;w
toolbar.refresh=Od&#347;wie&#380;
toolbar.maxRows=Maksymalna ilo&\#347;&\#263; rekord&oacute;w
toolbar.refresh=Od&\#347;wie&\#380;
toolbar.rollback=Cofnij zmiany
toolbar.run=Wykonaj (Ctrl+Enter)
toolbar.sqlStatement=Zapytanie SQL
tree.admin=Administrator
tree.current=Bierz&#261;ca warto&#347;&#263;
tree.current=Bierz&\#261;ca warto&\#347;&\#263;
tree.hashed=Haszowany
tree.increment=Increment
tree.indexes=Indeksy
tree.nonUnique=Nie unikalny
tree.sequences=Sekwencje
tree.unique=Unikalny
tree.users=U&#380;ytkownicy
tree.users=U&\#380;ytkownicy
# Use the PropertiesToUTF8 tool to translate the files to UTF-8 and back
# Translator: Antonio Casqueiro
.translator=Antonio Casqueiro
a.help=Ajuda
a.language=Portugu&ecirc;s (Europeu)
a.lynxNotSupported=Lynx ainda n&atilde;o &eacute; suportado
......@@ -32,7 +31,7 @@ helpAction=Ac&ccedil;&atilde;o
helpAddAnotherRow=Adicionar outra linha
helpAddDrivers=Adicionar drivers de Base de Dados
helpAddDriversOnlyJava=Apenas a vers&atilde;o Java permite que sejam adicionados novos drivers (esta op&ccedil;&atilde;o n&atilde;o &eacute; suportado pela vers&atilde;o nativa)
helpAddDriversText=&Eacute; poss&iacute;vel registar outros drivers, adicionando o ficheiro JAR respectivo, &agrave; vari&aacute;vel de ambiente H2DRIVERS ou CLASSPATH. Exemplo (Windows): Para adicionar o driver que se encontra em C:\\Programs\\hsqldb\\lib\\hsqldb.jar, alterar o valor da vari&aacute;vel de ambiente H2DRIVERS para C:\\Programs\\hsqldb\\lib\\hsqldb.jar.
helpAddDriversText=&Eacute; poss&iacute;vel registar outros drivers, adicionando o ficheiro JAR respectivo, &agrave; vari&aacute;vel de ambiente H2DRIVERS ou CLASSPATH. Exemplo (Windows)\: Para adicionar o driver que se encontra em C\:\\Programs\\hsqldb\\lib\\hsqldb.jar, alterar o valor da vari&aacute;vel de ambiente H2DRIVERS para C\:\\Programs\\hsqldb\\lib\\hsqldb.jar.
helpAddRow=Adicionar uma linha nova
helpCommandHistory=Mostrar o hist&oacute;rico de comandos
helpCreateTable=Criar uma tabela nova
......@@ -43,7 +42,7 @@ helpDropTable=Apagar a tabela, caso ela exista
helpExecuteCurrent=Executar o comando SQL corrente
helpIcon=Simbolo
helpImportantCommands=Comandos importantes
helpOperationsOpera&ccedil;&otilde;es
helpOperations=Opera&ccedil;&otilde;es\=
helpQuery=Pesquisar uma tabela
helpSampleSQL=Scripts de exemplo
helpStatements=Comandos SQL
......@@ -81,9 +80,9 @@ resultEdit.save=Gravar
toolbar.all=Todas
toolbar.autoCommit=Auto commit
toolbar.autoComplete=Auto complete
toolbar.autoComplete.off=Desligado
toolbar.autoComplete.normal=Normal
toolbar.autoComplete.full=Total
toolbar.autoComplete.normal=Normal
toolbar.autoComplete.off=Desligado
toolbar.cancelStatement=Cancelar o comando que se encontra em execu&ccedil;&atilde;o
toolbar.clear=Limpar
toolbar.commit=Commit
......
# Use the PropertiesToUTF8 tool to translate the files to UTF-8 and back
# Created by JInto - www.guh-software.de
# Mon Apr 10 14:14:45 CST 2006
# Author: junheng.song (sjh21 (at) hot mail (dot) com)
.translator=junheng.song (sjh21 (at) hot mail (dot) com); Created by JInto - www.guh-software.de - Mon Apr 10 2006
a.help=\u5E2E\u52A9
a.language=\u4E2D\u6587
a.lynxNotSupported=\u62B1\u6B49, \u76EE\u524D\u8FD8\u4E0D\u652F\u6301Lynx
......@@ -34,7 +31,7 @@ helpAction=\u6D3B\u52A8
helpAddAnotherRow=\u589E\u52A0\u53E6\u4E00\u884C
helpAddDrivers=\u589E\u52A0\u6570\u636E\u5E93\u9A71\u52A8
helpAddDriversOnlyJava=\u53EA\u6709Java\u7248\u672C\u652F\u6301\u589E\u52A0\u9A71\u52A8\uFF08\u672C\u5730\u7248\u672C\u4E0D\u652F\u6301\u8FD9\u4E2A\u7279\u6027\uFF09\u3002
helpAddDriversText=\u53EF\u4EE5\u901A\u8FC7\u6DFB\u52A0\u7CFB\u7EDF\u73AF\u5883\u53D8\u91CFH2DRIVERS \u6216\u8005 CLASSPATH \u6765\u589E\u52A0\u6570\u636E\u5E93\u9A71\u52A8\u6CE8\u518C\u3002\u4F8B\u5982\uFF08Windows\uFF09\uFF1A\u8981\u589E\u52A0\u6570\u636E\u5E93\u9A71\u52A8C:\\Programs\\hsqldb\\lib\\hsqldb.jar\uFF0C\u53EF\u4EE5\u589E\u52A0\u7CFB\u7EDF\u73AF\u5883\u53D8\u91CFH2DRIVERS\u5E76\u8BBE\u7F6E\u5230C:\\Programs\\hsqldb\\lib\\hsqldb.jar\u3002
helpAddDriversText=\u53EF\u4EE5\u901A\u8FC7\u6DFB\u52A0\u7CFB\u7EDF\u73AF\u5883\u53D8\u91CFH2DRIVERS \u6216\u8005 CLASSPATH \u6765\u589E\u52A0\u6570\u636E\u5E93\u9A71\u52A8\u6CE8\u518C\u3002\u4F8B\u5982\uFF08Windows\uFF09\uFF1A\u8981\u589E\u52A0\u6570\u636E\u5E93\u9A71\u52A8C\:\\Programs\\hsqldb\\lib\\hsqldb.jar\uFF0C\u53EF\u4EE5\u589E\u52A0\u7CFB\u7EDF\u73AF\u5883\u53D8\u91CFH2DRIVERS\u5E76\u8BBE\u7F6E\u5230C\:\\Programs\\hsqldb\\lib\\hsqldb.jar\u3002
helpAddRow=\u589E\u52A0\u65B0\u7684\u4E00\u884C
helpCommandHistory=\u663E\u793A\u5386\u53F2SQL\u547D\u4EE4
helpCreateTable=\u521B\u5EFA\u4E00\u4E2A\u65B0\u8868
......@@ -82,10 +79,10 @@ 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.off=#Off
toolbar.autoComplete.normal=#Normal
toolbar.autoComplete.full=#Full
toolbar.autoComplete=\#Auto-Complete
toolbar.autoComplete.full=\#Full
toolbar.autoComplete.normal=\#Normal
toolbar.autoComplete.off=\#Off
toolbar.cancelStatement=\u53D6\u6D88\u5F53\u524D\u7684\u6267\u884C\u8BED\u53E5
toolbar.clear=\u6E05\u9664
toolbar.commit=\u63D0\u4EA4
......
......@@ -23,6 +23,7 @@ import org.h2.message.TraceSystem;
import org.h2.util.ByteUtils;
import org.h2.util.FileUtils;
import org.h2.util.RandomUtils;
import org.h2.util.SortedProperties;
/**
* @author Thomas
......@@ -152,7 +153,7 @@ public class FileLock {
private void lockFile() throws SQLException {
method = FILE;
properties = new Properties();
properties = new SortedProperties();
byte[] bytes = RandomUtils.getSecureBytes(RANDOM_BYTES);
String random = ByteUtils.convertBytesToString(bytes);
properties.setProperty("id", Long.toHexString(System.currentTimeMillis())+random);
......@@ -206,7 +207,7 @@ public class FileLock {
private void lockSocket() throws SQLException {
method = SOCKET;
properties = new Properties();
properties = new SortedProperties();
try {
// TODO documentation: if this returns 127.0.0.1, the computer is probably not networked
ipAddress = InetAddress.getLocalHost().getHostAddress();
......
......@@ -158,7 +158,7 @@ public class FileUtils {
public static synchronized Properties loadProperties(String fileName) throws IOException {
fileName = translateFileName(fileName);
Properties prop = new Properties();
Properties prop = new SortedProperties();
File file = new File(fileName);
if(file.exists()) {
FileInputStream in = new FileInputStream(file);
......
/*
* Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.util;
import java.util.Collections;
import java.util.Enumeration;
import java.util.Properties;
import java.util.Vector;
/**
* Sorted properties file.
* This implementation requires that store() internally calls keys().
*/
public class SortedProperties extends Properties {
private static final long serialVersionUID = 5657650728102821923L;
public synchronized Enumeration keys() {
Vector v = new Vector(keySet());
Collections.sort(v);
return v.elements();
}
}
\ No newline at end of file
......@@ -94,9 +94,24 @@ java -Xmx512m -Xrunhprof:cpu=samples,depth=8 org.h2.tools.RunScript -url jdbc:h2
/*
html-jp
platform independent zip: what do others write (shorter)
copyright to include 2007
how to make search work for japanese?
automated tests that simulate power off
test odbc again a few times (debug catalog creation)
CREATE TABLE first (id IDENTITY, value INT);
CREATE TABLE second (id IDENTITY, value INT);
CREATE TRIGGER blah BEFORE INSERT ON first CALL xxx;
INSERT INTO first VALUES(1,2);
...trigger calls INSERT INTO second VALUES(3, 4); before the first INSERT
CALL IDENTITY();
Openfire server uses this script to setup a user permissions
on the fresh-installed server. The database is [current] HSQLDB :
CREATE SCHEMA PUBLIC AUTHORIZATION DBA
......@@ -196,7 +211,7 @@ checksum marker
glossary
spell check / word list per language
html-jp
SpellChecker filter files with _: don't use _ in files names except translated files.
*/
......
......@@ -15,8 +15,8 @@ public class CheckTextFiles {
new CheckTextFiles().run();
}
String[] suffixCheck = new String[]{"html", "jsp", "js", "css", "bat", "nsi", "java", "txt", "properties", "cpp", "def", "h", "rc", "dev", "sql", "xml", "csv", "Driver", "php"};
String[] suffixIgnore = new String[]{"gif", "png", "odg", "ico", "sxd", "layout", "res", "win", "dll", "jar", "task"};
String[] suffixCheck = new String[]{"html", "jsp", "js", "css", "bat", "nsi", "java", "txt", "properties", "sql", "xml", "csv", "Driver", "php"};
String[] suffixIgnore = new String[]{"gif", "png", "odg", "ico", "sxd", "layout", "res", "win", "jar", "task"};
boolean failOnError;
boolean allowTab, allowCR = true, allowTrailingSpaces = true;
int spacesPerTab = 4;
......@@ -24,7 +24,7 @@ public class CheckTextFiles {
boolean useCRLF = true;
// must contain "+" otherwise this here counts as well
String copyrightLicense = "Copyright 2004-2006 H2 Group. "+"Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).";
String[] suffixIgnoreLicense = new String[]{"bat", "nsi", "txt", "properties", "def", "rc", "dev", "xml", "_private.h", "java.sql.Driver", "task"};
String[] suffixIgnoreLicense = new String[]{"bat", "nsi", "txt", "properties", "xml", "java.sql.Driver", "task"};
boolean hasError;
void run() throws Exception {
......@@ -80,7 +80,7 @@ public class CheckTextFiles {
}
}
void checkOrFixFile(File file, boolean fix, boolean checkLicense) throws Exception {
public void checkOrFixFile(File file, boolean fix, boolean checkLicense) throws Exception {
RandomAccessFile in = new RandomAccessFile(file, "r");
byte[] data = new byte[(int)file.length()];
ByteArrayOutputStream out = fix ? new ByteArrayOutputStream() : null;
......
......@@ -76,7 +76,10 @@ public class SpellChecker {
private void process(File file) throws IOException {
String name = file.getCanonicalPath();
if(name.endsWith(".svn") || name.indexOf("_text_") > 0) {
if(name.endsWith(".svn")) {
return;
}
if(name.indexOf("_") > 0 && name.indexOf("_en") < 0) {
return;
}
if(file.isDirectory()) {
......
package org.h2.tools.i18n;
import java.io.BufferedWriter;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.LineNumberReader;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Properties;
import org.h2.tools.doc.XMLParser;
import org.h2.util.FileUtils;
import org.h2.util.IOUtils;
public class PrepareTranslation {
private static final String MAIN_LANGUAGE = "en";
private static final String DELETED_PREFIX = "~";
public static void main(String[] args) throws Exception {
String baseDir = "src/tools/org/h2/tools/i18n";
String path;
path = "src/main/org/h2/res";
prepare(baseDir, path);
path = "src/main/org/h2/server/web/res";
prepare(baseDir, path);
int todoAllowTranslateHtmlFiles;
extract("src/docsrc/html");
}
private static void extract(String dir) throws Exception {
File[] list = new File(dir).listFiles();
HashSet set = new HashSet();
for(int i=0; i<list.length; i++) {
File f = list[i];
String name = f.getName();
if(!name.endsWith(".html")) {
continue;
}
name = name.substring(0, name.length() - 5);
extract(set, name, f);
}
}
private static boolean isText(String s) {
if(s.length() < 2) {
return false;
}
for(int i=0; i<s.length(); i++) {
char c = s.charAt(i);
if(!Character.isDigit(c) && c != '.' && c != '-' && c != '+') {
return true;
}
}
return false;
}
private static void extract(HashSet set, String documentName, File f) throws Exception {
String xml = IOUtils.readStringAndClose(new FileReader(f), -1);
XMLParser parser = new XMLParser(xml);
boolean translate = true;
for(int i=0;;) {
int event = parser.next();
if(event == XMLParser.END_DOCUMENT) {
break;
} else if(event == XMLParser.CHARACTERS) {
String text = parser.getText().trim();
if(translate && !set.contains(text) && isText(text)) {
System.out.println(documentName + "_" + i++ );
System.out.println(text);
System.out.println();
set.add(text);
}
} else if(event == XMLParser.START_ELEMENT) {
String name = parser.getName();
if("code".equals(name) || "pre".equals(name)) {
translate = false;
}
} else if(event == XMLParser.END_ELEMENT) {
translate = true;
} else if(event == XMLParser.DTD) {
} else if(event == XMLParser.COMMENT) {
} else {
int eventType = parser.getEventType();
throw new Exception("Unexpected event " + eventType + " at " + parser.getRemaining());
}
}
}
private static void prepare(String baseDir, String path) throws IOException {
File dir = new File(path);
File[] list = dir.listFiles();
File main = null;
ArrayList translations = new ArrayList();
for(int i=0; list != null && i<list.length; i++) {
File f = list[i];
if(f.getName().endsWith(".properties")) {
if(f.getName().endsWith("_" + MAIN_LANGUAGE + ".properties")) {
main = f;
} else {
translations.add(f);
}
}
}
Properties p = FileUtils.loadProperties(main.getAbsolutePath());
Properties base = FileUtils.loadProperties(baseDir + "/" + main.getName());
storeProperties(p, main.getAbsolutePath());
for(int i=0; i<translations.size(); i++) {
File trans = (File) translations.get(i);
prepare(p, base, trans);
}
storeProperties(p, baseDir + "/" + main.getName());
}
private static void prepare(Properties main, Properties base, File trans) throws IOException {
Properties p = FileUtils.loadProperties(trans.getAbsolutePath());
// add missing keys, using # and the value from the main file
Iterator it = main.keySet().iterator();
while(it.hasNext()) {
String key = (String) it.next();
String now = main.getProperty(key);
if(!p.containsKey(key)) {
System.out.println(trans.getName() + ": key " + key + " not found in translation file; added dummy # 'translation'");
p.put(key, "#" + now);
} else {
String last = base.getProperty(key);
if(last != null && !last.equals(now)) {
// main data changed since the last run: review translatation
System.out.println(trans.getName() + ": key " + key + " changed; last=" + last + " now=" + now);
String old = p.getProperty(key);
p.put(key, "#" + now + " #" + old);
}
}
}
// remove keys that don't exist in the main file (deleted or typo in the key)
it = new ArrayList(p.keySet()).iterator();
while(it.hasNext()) {
String key = (String) it.next();
if(!main.containsKey(key) && !key.startsWith(DELETED_PREFIX)) {
String newKey = key;
while(true) {
newKey = DELETED_PREFIX + newKey;
if(!p.containsKey(newKey)) {
break;
}
}
System.out.println(trans.getName() + ": key " + key + " not found in main file; renamed to " + newKey);
p.put(newKey, p.getProperty(key));
p.remove(key);
}
}
storeProperties(p, trans.getAbsolutePath());
}
static void storeProperties(Properties p, String fileName) throws IOException {
ByteArrayOutputStream out = new ByteArrayOutputStream();
p.store(out, null);
ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray());
InputStreamReader reader = new InputStreamReader(in, "ISO8859-1");
LineNumberReader r = new LineNumberReader(reader);
FileWriter w = new FileWriter(fileName);
PrintWriter writer = new PrintWriter(new BufferedWriter(w));
while(true) {
String line = r.readLine();
if(line == null) {
break;
}
if(!line.startsWith("#")) {
writer.println(line);
}
}
writer.close();
}
}
......@@ -2,7 +2,7 @@
* Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.tools.code;
package org.h2.tools.i18n;
import java.io.File;
import java.io.FileInputStream;
......@@ -11,6 +11,7 @@ import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.RandomAccessFile;
import org.h2.tools.code.CheckTextFiles;
import org.h2.tools.indexer.HtmlConverter;
import org.h2.util.IOUtils;
import org.h2.util.StringUtils;
......
.translator=Thomas Mueller
a.help=Help
a.language=English
a.lynxNotSupported=Sorry, Lynx not supported yet
a.password=Password
a.remoteConnectionsDisabled=Sorry, remote connections ('webAllowOthers') are disabled on this server.
a.title=H2 Console
a.user=User Name
admin.executing=Executing
admin.ip=IP
admin.lastAccess=Last Access
admin.lastQuery=Last Query
admin.url=URL
adminAllow=Allowed clients
adminConnection=Connection security
adminHttp=Use unencrypted HTTP connections
adminHttps=Use encrypted SSL (HTTPS) connections
adminLocal=Only allow local connections
adminLogin=Administration Login
adminLoginCancel=Cancel
adminLoginOk=OK
adminLogout=Logout
adminOthers=Allow connections from other computers
adminPort=Web server port number
adminRestart=Changes take effect after restarting the server.
adminSave=Save
adminSessions=Active Sessions
adminShutdown=Shutdown
adminTitle=H2 Console Preferences
helpAction=Action
helpAddAnotherRow=Add another row
helpAddDrivers=Adding Database Drivers
helpAddDriversOnlyJava=Only the Java version supports additional drivers (this feature is not supported by the Native version).
helpAddDriversText=Additional database drivers can be registerd by adding the Jar file location of the driver to the the environment variables H2DRIVERS or CLASSPATH. Example (Windows)\: To add the database driver library C\:\\Programs\\hsqldb\\lib\\hsqldb.jar, set the environment variable H2DRIVERS to C\:\\Programs\\hsqldb\\lib\\hsqldb.jar.
helpAddRow=Add a new row
helpCommandHistory=Shows the Command History
helpCreateTable=Create a new table
helpDeleteRow=Remove a row
helpDisconnect=Disconnects from the database
helpDisplayThis=Displays this Help Page
helpDropTable=Delete the table if it exists
helpExecuteCurrent=Executes the current SQL statement
helpIcon=Icon
helpImportantCommands=Important Commands
helpOperations=Operations
helpQuery=Query the table
helpSampleSQL=Sample SQL Script
helpStatements=SQL statements
helpUpdate=Change data in a row
helpWithColumnsIdName=with ID and NAME columns
login.connect=Connect
login.driverClass=Driver Class
login.driverNotFound=Database driver not found<br />See in the Help for how to add drivers
login.goAdmin=Preferences
login.jdbcUrl=JDBC URL
login.language=Language
login.login=Login
login.remove=Remove
login.save=Save
login.savedSetting=Saved Settings
login.settingName=Setting Name
login.testConnection=Test Connection
login.testSuccessful=Test successful
login.welcome=H2 Console
result.1row=1 row
result.autoCommitOff=Auto commit is now OFF
result.autoCommitOn=Auto commit is now ON
result.maxrowsSet=Max rowcount is set
result.noRows=no rows
result.noRunningStatement=There is currently no running statement
result.rows=rows
result.statementWasCancelled=The statement was cancelled
result.updateCount=Update count
resultEdit.add=Add
resultEdit.cancel=Cancel
resultEdit.delete=Delete
resultEdit.edit=Edit
resultEdit.editResult=Edit
resultEdit.save=Save
toolbar.all=All
toolbar.autoCommit=Auto commit
toolbar.autoComplete=Auto complete
toolbar.autoComplete.full=Full
toolbar.autoComplete.normal=Normal
toolbar.autoComplete.off=Off
toolbar.cancelStatement=Cancel the current statement
toolbar.clear=Clear
toolbar.commit=Commit
toolbar.disconnect=Disconnect
toolbar.history=Command history
toolbar.maxRows=Max rows
toolbar.refresh=Refresh
toolbar.rollback=Rollback
toolbar.run=Run (Ctrl+Enter)
toolbar.sqlStatement=SQL statement
tree.admin=Admin
tree.current=Current value
tree.hashed=Hashed
tree.increment=Increment
tree.indexes=Indexes
tree.nonUnique=Non unique
tree.sequences=Sequences
tree.unique=Unique
tree.users=Users
.translator=Thomas Mueller
02000=No data is available
07001=Invalid parameter count for {0}, expected count\: {1}
08000=Error opening database
08004=Wrong user name or password
21S02=Column count does not match
22003=Numeric value out of range
22012=Division by zero\: {0}
22025=Error in LIKE ESCAPE\: {0}
23000=Check constraint violation\: {0}
23001=Unique index or primary key violation\: {0}
23002=Referential integrity constraint violation\: {0}
23003=Referential integrity constraint violation\: {0}
42000=Syntax error in SQL statement {0}
42001=Syntax error in SQL statement {0}; expected {1}
42S01=Table {0} already exists
42S02=Table {0} not found
42S11=Index {0} already exists
42S12=Index {0} not found
42S21=Duplicate column name {0}
42S22=Column {0} not found
42S32=Setting {0} not found
90000=Function {0} must return a result set
90001=Method is not allowed for a query. Use execute or executeQuery instead of executeUpdate
90002=Method is only allowed for a query. Use execute or executeUpdate instead of executeQuery
90003=Hexadecimal string with odd number of characters\: {0}
90004=Hexadecimal string contains non-hex character\: {0}
90005=Value too long for column {0}
90006=NULL not allowed for column {0}
90007=The object is already closed
90008=Invalid value {0} for parameter {1}
90009=Cannot parse date constant {0}
90010=Cannot parse time constant {0}
90011=Cannot parse timestamp constant {0}
90012=Parameter {0} is not set
90013=Database {0} not found
90014=Error parsing {0}
90015=SUM or AVG on wrong data type for {0}
90016=Column {0} must be in group by list
90017=Attempt to define a second primary key
90018=The connection was not closed by the application and is garbage collected
90019=Cannot drop the current user
90020=Database may be already in use\: {0}. Possible solutions\: close all other connection(s); use the server mode
90021=Data conversion error converting {0}
90022=Function {0} not found
90023=Column {0} must not be nullable
90024=Error while renaming file {0} to {1}
90025=Cannot delete file {0}
90026=Serialization failed
90027=Deserialization failed
90028=IO Exception\: {0}
90029=Currently not on an updatable row
90030=File corrupted while reading record\: {0}. Possible solution\: use the recovery tool
90031=IO Exception\: {0}; {1}
90032=User {0} not found
90033=User {0} already exists
90034=Log file error\: {0}
90035=Sequence {0} already exists
90036=Sequence {0} not found
90037=View {0} not found
90038=View {0} already exists
90039=The value is too large for the precision {0}
90040=Admin rights are required for this operation
90041=Trigger {0} already exists
90042=Trigger {0} not found
90043=Error creating trigger {0} object, class {1}
90044=Error executing trigger {0}, class {1}
90045=Constraint {0} already exists
90046=URL format error; must be {0} but is {1}
90047=Version mismatch, driver version is {0} but server version is {1}
90048=Unsupported database file version or invalid file header in file {0}
90049=Encryption error in file {0}
90050=Wrong password format, must be\: file password <space> user password
90051=Statement was cancelled
90052=Subquery is not a single column query
90053=Scalar subquery contains more than one row
90054=Invalid use of aggregate function {0}
90055=Unsupported cipher {0}
90056=No default value is set for column {0}
90057=Constraint {0} not found
90058=Duplicate table or table alias {0}
90059=Ambiguous column name {0}
90060=Unsupported file lock method {0}
90061=Exception opening port {0} (port may be in use)
90062=Error while creating file {0}
90063=Savepoint is invalid\: {0}
90064=Savepoint is unnamed
90065=Savepoint is named
90066=Duplicate property {0}
90067=Connection is broken
90068=Order by expression {0} must be in the result list in this case
90069=Role {0} already exists
90070=Role {0} not found
90071=User or role {0} not found
90072=Roles and rights cannot be mixed
90073=Right not found
90074=Role {0} already granted
90075=Column is part of the index {0}
90076=Function alias {0} already exists
90077=Function alias {0} not found
90078=Schema {0} already exists
90079=Schema {0} not found
90080=Schema name must match
90081=Column {0} contains null values
90082=Sequence {0} belongs to a table
90083=Column may be referenced by {0}
90084=Cannot drop last column {0}
90085=Index {0} belongs to a constraint
90086=Class {0} not found
90087=Method {0} not found
90088=Unknown mode {0}
90089=Collation cannot be changed because there is a data table {0}
90090=Schema {0} cannot be dropped
90091=Role {0} cannot be dropped
90092=This Java version is not supported (Java 1.4 is required)
90093=Clustering error - database currently runs in standalone mode
90094=Clustering error - database currently runs in cluster mode, server list\: {0}
90095=String format error\: {0}
90096=Not enough rights for object {0}
90097=The database is read only
90098=The database has been closed
90099=Error setting database event listener {0}
90100=No disk space available
90101=Wrong XID format\: {0}
90102=Unsupported compression options\: {0}
90103=Unsupported compression algorithm\: {0}
90104=Compression error
90105=Exception calling user defined function
90106=Cannot truncate {0}
90107=Cannot drop {0} because {1} depends on it
90108=Stack overflow (recursive query or function?)
90109=View {0} is invalid\: {1}
90110={0} out of range
90111=Error accessing linked table with SQL statement {0}
90112=Row not found when trying to delete from index {0}
90113=Unsupported connection setting {0}
90114=Constant {0} already exists
90115=Constant {0} not found
90116=Literals of this kind are not allowed
90117=Remote connections to this server are not allowed, see -tcpAllowOthers
90118=Cannot drop table {0}
90119=User data type {0} already exists
90120=User data type {0} not found
90121=Database called at VM shutdown; add ";DB_CLOSE_ON_EXIT\=FALSE" to the db URL to disable automatic database closing
90122=Operation not supported for table {0} when there are views on the table\: {1}
90123=Cannot mix indexed and non-indexed parameters
90124=File not found\: {0}
90125=Invalid class, expected {0} but got {1}
90126=Database is not persistent
90127=The result set is not updatable. The query must select all columns from a unique key. Only one table may be selected.
90128=The result set is not scrollable and can not be reset. You may need to use conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY).
HY000=General error\: {0}
HY004=Unknown data type\: {0}
HYC00=Feature not supported
HYT00=Timeout trying to lock table {0}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论