alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Hibernate example source code file (toolset_guide.po)

This example Hibernate source code file (toolset_guide.po) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Hibernate tags/keywords

ant, cdata, cdata, ddl, eclipse, hibernate, hibernate, jdbc, sql, tag, tag, the, the, you

The Hibernate toolset_guide.po source code

# translation of Collection_Mapping.po to
# Xi HUANG <xhuang@redhat.com>, 2007, 2009, 2010.
msgid ""
msgstr ""
"Project-Id-Version: Collection_Mapping\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2010-02-11T05:38:16\n"
"PO-Revision-Date: 2010-01-20 15:00+1000\n"
"Last-Translator: Xi HUANG <xhuang@redhat.com>\n"
"Language-Team:  <en@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.11.4\n"

#. Tag: title
#, no-c-format
msgid "Toolset Guide"
msgstr "ツールセットガイド"

#. Tag: para
#, no-c-format
msgid ""
"Roundtrip engineering with Hibernate is possible using a set of Eclipse "
"plugins, commandline tools, and Ant tasks."
msgstr ""
"Hibernate を使ったラウンドトリップエンジニアリングは、 Eclipse プラグインやコ"
"マンドラインツール、もちろん Ant タスクを使うことで可能です。"

#. Tag: para
#, no-c-format
msgid ""
"<emphasis>Hibernate Tools currently include plugins for the "
"Eclipse IDE as well as Ant tasks for reverse engineering of existing "
"databases:"
msgstr ""
"<emphasis>Hibernate Tools は現在、既存データベースのリバースエンジ"
"ニアリングの Ant タスクに加えて、 Eclipse IDE のプラグインを含みます:"

#. Tag: para
#, no-c-format
msgid ""
"<emphasis>Mapping Editor: an editor for Hibernate XML mapping "
"files that supports auto-completion and syntax highlighting. It also "
"supports semantic auto-completion for class names and property/field names, "
"making it more versatile than a normal XML editor."
msgstr ""
"<emphasis>マッピングエディタ: Hibernate の XML マッピングファイル"
"用のエディタで、自動補完と構文強調表示をサポートしています。クラス名やプロパ"
"ティ/フィールド名に対する自動補完もサポートし、通常の XML エディタよりも強力"
"です。"

#. Tag: para
#, no-c-format
msgid ""
"<emphasis>Console: the console is a new view in Eclipse. In "
"addition to a tree overview of your console configurations, you are also "
"provided with an interactive view of your persistent classes and their "
"relationships. The console allows you to execute HQL queries against your "
"database and browse the result directly in Eclipse."
msgstr ""
"<emphasis>Console: コンソールはエクリプスの新しいビューです。コン"
"ソールコンフィギュレーションのツリーオーバービューに加えて、永続クラスとその"
"関連の相互作用ビューも得られます。データベースに HQL を実行し、結果を直接エク"
"リプス上で見ることができます。"

#. Tag: para
#, no-c-format
msgid ""
"<emphasis>Development Wizards: several wizards are provided with "
"the Hibernate Eclipse tools. You can use a wizard to quickly generate "
"Hibernate configuration (cfg.xml) files, or to reverse engineer an existing "
"database schema into POJO source files and Hibernate mapping files. The "
"reverse engineering wizard supports customizable templates."
msgstr ""
"<emphasis>開発ウィザード Hibernate の Eclipse ツールはいくつかの"
"ウィザードを提供します。ウィザードを使って Hibernate の設定ファイル (cfg."
"xml) をすばやく生成したり、既存のデータベーススキーマを POJO のソースファイル"
"と Hibernate のマッピングファイルへと、完全にリバースエンジニアリングすること"
"ができます。リバースエンジニアリングウィザードはカスタマイズ可能なテンプレー"
"トをサポートします。"

#. Tag: para
#, no-c-format
msgid ""
"Please refer to the <emphasis>Hibernate Tools package "
"documentation for more information."
msgstr ""
"より詳しい情報は <emphasis>Hibernate Tools パッケージとそのドキュ"
"メントを参照してください。"

#. Tag: para
#, no-c-format
msgid ""
"However, the Hibernate main package comes bundled with an integrated tool : "
"<emphasis>SchemaExport aka hbm2ddl.It can even "
"be used from \"inside\" Hibernate."
msgstr ""
"しかし、 Hibernate のメインパッケージは <emphasis>SchemaExport 、"
"別名 <literal>hbm2ddl も含みます(Hibernate 「内」でオンザフライで使"
"用できます)。"

#. Tag: title
#, no-c-format
msgid "Automatic schema generation"
msgstr "スキーマの自動生成"

#. Tag: para
#, no-c-format
msgid ""
"DDL can be generated from your mapping files by a Hibernate utility. The "
"generated schema includes referential integrity constraints, primary and "
"foreign keys, for entity and collection tables. Tables and sequences are "
"also created for mapped identifier generators."
msgstr ""
"DDL は Hibernate ユーティリティによりマッピングファイルから生成することができ"
"ます。生成されたスキーマはエンティティやコレクションのテーブルに対する参照整"
"合性制約 (主キーと外部キー) を含みます。テーブルとシーケンスはマッピングする"
"識別子ジェネレータに対して生成されます。"

#. Tag: para
#, no-c-format
msgid ""
"You <emphasis>must specify a SQL Dialect via "
"the <literal>hibernate.dialect property when using this tool, as "
"DDL is highly vendor-specific."
msgstr ""
"DDL はベンダー依存なので、このツールを使うときは、 <literal>hibernate."
"dialect</literal> プロパティで SQL の 方言 を指定 "
"<emphasis>しなければなりません 。"

#. Tag: para
#, no-c-format
msgid ""
"First, you must customize your mapping files to improve the generated "
"schema. The next section covers schema customization."
msgstr ""
"まず、生成されるスキーマを改善するように、マッピングファイルをカスタマイズし"
"てください。"

#. Tag: title
#, no-c-format
msgid "Customizing the schema"
msgstr "スキーマのカスタマイズ"

#. Tag: para
#, no-c-format
msgid ""
"Many Hibernate mapping elements define optional attributes named "
"<literal>length, precision and scaleprecisionscale という名の"
"属性を定義しています。この属性でカラムの長さ、精度、スケールを設定することが"
"できます。"

#. Tag: para
#, no-c-format
msgid ""
"Some tags also accept a <literal>not-null attribute for generating "
"a <literal>NOT NULL constraint on table columns, and a "
"<literal>unique attribute for generating UNIQUE "
"constraint on table columns."
msgstr ""
"<literal>not-null 属性(テーブルのカラムへ NOT NULLunique 属性(テーブルのカラム"
"へ <literal>UNIQUE 制約を生成する)が設定できるタグもあります。"

#. Tag: para
#, no-c-format
msgid ""
"A <literal>unique-key attribute can be used to group columns in a "
"single, unique key constraint. Currently, the specified value of the "
"<literal>unique-key attribute is not used to "
"name the constraint in the generated DDL. It is only used to group the "
"columns in the mapping file."
msgstr ""
"<literal>unique-key 属性はカラムをグループ化して一つのキー制約にす"
"るために使われます。現在、 <literal>unique-key 属性で指定された値は"
"制約の指定には <emphasis>使われず 、マッピングファイルでカラムをグ"
"ループ化することにのみ使われます。"

#. Tag: para
#, no-c-format
msgid ""
"An <literal>index attribute specifies the name of an index that "
"will be created using the mapped column or columns. Multiple columns can be "
"grouped into the same index by simply specifying the same index name."
msgstr ""
"<literal>index 属性はマッピングするカラムを使って生成したインデック"
"スの名前を指定します。複数カラムを1つのインデックスにグループ化できます。単"
"に、同じインデックス名を指定するだけです。"

#. Tag: para
#, no-c-format
msgid ""
"A <literal>foreign-key attribute can be used to override the name "
"of any generated foreign key constraint."
msgstr ""
"<literal>foreign-key 属性は、生成された外部キー制約の名前をオーバー"
"ライドするために使用できます。"

#. Tag: para
#, no-c-format
msgid ""
"Many mapping elements also accept a child <literal><column> "
"element. This is particularly useful for mapping multi-column types:"
msgstr ""
"多くのマッピング要素は、子 <literal><column> 要素を記述できま"
"す。これは複数カラム型のマッピングには特に有用です:"

#. Tag: para
#, no-c-format
msgid ""
"The <literal>default attribute allows you to specify a default "
"value for a column.You should assign the same value to the mapped property "
"before saving a new instance of the mapped class."
msgstr ""
"<literal>default 属性はカラムのデフォルト値を指定します (マッピング"
"したクラスの新しいインスタンスを保存する前に、マッピングしたプロパティへ同じ"
"値を代入すべきです)。"

#. Tag: para
#, no-c-format
msgid ""
"The <literal>sql-type attribute allows the user to override the "
"default mapping of a Hibernate type to SQL datatype."
msgstr ""
"<literal>sql-type 属性で、デフォルトの Hibernate 型から SQL のデー"
"タ型へのマッピングをオーバーライドできます。"

#. Tag: para
#, no-c-format
msgid ""
"The <literal>check attribute allows you to specify a check "
"constraint."
msgstr "<literal>check 属性でチェック制約を指定することができます。"

#. Tag: para
#, no-c-format
msgid "The following table summarizes these optional attributes."
msgstr ""

#. Tag: title
#, no-c-format
msgid "Summary"
msgstr "要約"

#. Tag: entry
#, no-c-format
msgid "Attribute"
msgstr "属性"

#. Tag: entry
#, no-c-format
msgid "Values"
msgstr "値"

#. Tag: entry
#, no-c-format
msgid "Interpretation"
msgstr "説明"

#. Tag: entry
#, no-c-format
msgid "<literal>length"
msgstr "<literal>length"

#. Tag: entry
#, no-c-format
msgid "number"
msgstr "数値"

#. Tag: entry
#, no-c-format
msgid "column length"
msgstr "カラムの長さ"

#. Tag: entry
#, no-c-format
msgid "<literal>precision"
msgstr "<literal>precision"

#. Tag: entry
#, no-c-format
msgid "column decimal precision"
msgstr "カラムの DECIMAL 型の精度(precision)"

#. Tag: entry
#, no-c-format
msgid "<literal>scale"
msgstr "<literal>scale"

#. Tag: entry
#, no-c-format
msgid "column decimal scale"
msgstr "カラムの DECIMAL 型のスケール(scale)"

#. Tag: entry
#, no-c-format
msgid "<literal>not-null"
msgstr "<literal>not-null"

#. Tag: entry
#, no-c-format
msgid "<literal>true|false"
msgstr "<literal>true|false"

#. Tag: entry
#, no-c-format
msgid "specifies that the column should be non-nullable"
msgstr "カラムが null 値を取らないことを指定します"

#. Tag: entry
#, no-c-format
msgid "<literal>unique"
msgstr "<literal>unique"

#. Tag: entry
#, no-c-format
msgid "specifies that the column should have a unique constraint"
msgstr "カラムがユニーク制約を持つことを指定します"

#. Tag: entry
#, no-c-format
msgid "<literal>index"
msgstr "<literal>index"

#. Tag: entry
#, no-c-format
msgid "<literal>index_name"
msgstr "インデックス名"

#. Tag: entry
#, no-c-format
msgid "specifies the name of a (multi-column) index"
msgstr "(複数カラムの)インデックスの名前を指定します"

#. Tag: entry
#, no-c-format
msgid "<literal>unique-key"
msgstr "<literal>unique-key"

#. Tag: entry
#, no-c-format
msgid "<literal>unique_key_name"
msgstr "ユニークキー名"

#. Tag: entry
#, no-c-format
msgid "specifies the name of a multi-column unique constraint"
msgstr "複数カラムのユニーク制約の名前を指定します"

#. Tag: entry
#, no-c-format
msgid "<literal>foreign-key"
msgstr "<literal>foreign-key"

#. Tag: entry
#, fuzzy, no-c-format
msgid "<literal>foreign_key_name"
msgstr "外部キー名"

#. Tag: entry
#, no-c-format
msgid ""
"specifies the name of the foreign key constraint generated for an "
"association, for a <literal><one-to-one>, <many-"
"to-one></literal>, <key>, or <many-"
"to-many></literal> mapping element. Note that inverse=\"true\"SchemaExport."
msgstr ""
"<literal><one-to-one><many-to-one><key>、 または <many-to-"
"many></literal> マッピングエレメントのために、関連に対して生成された外部"
"キー制約の名前を指定します。 <literal>inverse=\"true\" 側は "
"<literal>SchemaExport によって考慮されないことに注意してください。"

#. Tag: entry
#, no-c-format
msgid "<literal>sql-type"
msgstr "<literal>sql-type"

#. Tag: entry
#, fuzzy, no-c-format
msgid "<literal>SQL column type"
msgstr "<literal>sql-type"

#. Tag: entry
#, no-c-format
msgid ""
"overrides the default column type (attribute of <literal><column>"
msgstr "<literal>default"

#. Tag: entry
#, no-c-format
msgid "SQL expression"
msgstr "SQL 式"

#. Tag: entry
#, no-c-format
msgid "specify a default value for the column"
msgstr "カラムのデフォルト値を指定します"

#. Tag: entry
#, no-c-format
msgid "<literal>check"
msgstr "<literal>check"

#. Tag: entry
#, no-c-format
msgid "create an SQL check constraint on either column or table"
msgstr "カラムかテーブルに SQL のチェック制約を作成します"

#. Tag: para
#, no-c-format
msgid ""
"The <literal><comment> element allows you to specify "
"comments for the generated schema."
msgstr ""
"<literal><comment> 要素で生成するスキーマにコメントを指定する"
"ことができます。"

#. Tag: para
#, no-c-format
msgid ""
"This results in a <literal>comment on table or comment on "
"column</literal> statement in the generated DDL where supported."
msgstr ""
"これにより、生成した DDL に <literal>comment on table や "
"<literal>comment on column 文が書かれます。"

#. Tag: title
#, no-c-format
msgid "Running the tool"
msgstr "ツールの実行"

#. Tag: para
#, no-c-format
msgid ""
"The <literal>SchemaExport tool writes a DDL script to standard out "
"and/or executes the DDL statements."
msgstr ""
"<literal>SchemaExport は標準出力に対して DDL スクリプトを書き出"
"し、 DDL 文を実行したりもします。"

#. Tag: para
#, fuzzy, no-c-format
msgid ""
"The following table displays the <literal>SchemaExport command "
"line options"
msgstr "<literal>SchemaExport のコマンドラインオプション"

#. Tag: para
#, no-c-format
msgid ""
"<literal>java -cp hibernate_classpaths "
"<literal>org.hibernate.tool.hbm2ddl.SchemaExport options "
"mapping_files</emphasis>"
msgstr ""
"<literal>java -cp hibernate_classpaths "
"<literal>org.hibernate.tool.hbm2ddl.SchemaExport options "
"mapping_files</emphasis>"

#. Tag: title
#, no-c-format
msgid "<literal>SchemaExport Command Line Options"
msgstr "<literal>SchemaExport のコマンドラインオプション"

#. Tag: entry
#, no-c-format
msgid "Option"
msgstr "オプション"

#. Tag: entry
#, no-c-format
msgid "Description"
msgstr "説明"

#. Tag: entry
#, no-c-format
msgid "<literal>--quiet"
msgstr "<literal>--quiet"

#. Tag: entry
#, no-c-format
msgid "do not output the script to stdout"
msgstr "標準出力にスクリプトを出力しません"

#. Tag: entry
#, no-c-format
msgid "<literal>--drop"
msgstr "<literal>--drop"

#. Tag: entry
#, no-c-format
msgid "only drop the tables"
msgstr "テーブルの削除だけを行います"

#. Tag: entry
#, no-c-format
msgid "<literal>--create"
msgstr "<literal>--create"

#. Tag: entry
#, no-c-format
msgid "only create the tables"
msgstr "テーブルの生成のみを行います"

#. Tag: entry
#, no-c-format
msgid "<literal>--text"
msgstr "<literal>--text"

#. Tag: entry
#, no-c-format
msgid "do not export to the database"
msgstr "データベースにエクスポートしません"

#. Tag: entry
#, fuzzy, no-c-format
msgid "<literal>--output=my_schema.ddl"
msgstr "<literal>scale"

#. Tag: entry
#, no-c-format
msgid "output the ddl script to a file"
msgstr "DDL スクリプトをファイルに出力します"

#. Tag: entry
#, fuzzy, no-c-format
msgid "<literal>--naming=eg.MyNamingStrategy"
msgstr "<literal>--naming=eg.MyNamingStrategy"

#. Tag: entry
#, no-c-format
msgid "select a <literal>NamingStrategy"
msgstr "<literal>NamingStrategy を選択"

#. Tag: entry
#, fuzzy, no-c-format
msgid "<literal>--config=hibernate.cfg.xml"
msgstr "<literal>hibernate.dialect"

#. Tag: entry
#, no-c-format
msgid "read Hibernate configuration from an XML file"
msgstr "XML ファイルから Hibernate の定義情報を読み込みます"

#. Tag: entry
#, no-c-format
msgid "<literal>--properties=hibernate.properties"
msgstr "<literal>--properties=hibernate.properties"

#. Tag: entry
#, no-c-format
msgid "read database properties from a file"
msgstr "ファイルからデータベースのプロパティを読み込みます"

#. Tag: entry
#, no-c-format
msgid "<literal>--format"
msgstr "<literal>--format"

#. Tag: entry
#, no-c-format
msgid "format the generated SQL nicely in the script"
msgstr "スクリプト内に生成する SQL を読みやすいようにフォーマットします"

#. Tag: entry
#, no-c-format
msgid "<literal>--delimiter=;"
msgstr "<literal>--delimiter=;"

#. Tag: entry
#, no-c-format
msgid "set an end of line delimiter for the script"
msgstr "スクリプトの行区切り文字を設定します"

#. Tag: para
#, no-c-format
msgid "You can even embed <literal>SchemaExport in your application:"
msgstr ""
"アプリケーションに <literal>SchemaExport を組み込むこともできます:"

#. Tag: title
#, no-c-format
msgid "Properties"
msgstr "プロパティ"

#. Tag: para
#, no-c-format
msgid "Database properties can be specified:"
msgstr "次のように、データベースのプロパティを指定することができます。"

#. Tag: para
#, no-c-format
msgid ""
"as system properties with <literal>-D<property><property> を使って、システム"
"プロパティとして"

#. Tag: para
#, no-c-format
msgid "in <literal>hibernate.properties"
msgstr "<literal>hibernate.properties ファイル内で"

#. Tag: para
#, no-c-format
msgid "in a named properties file with <literal>--properties"
msgstr "<literal>--properties を使って指定したプロパティファイル内で"

#. Tag: para
#, no-c-format
msgid "The needed properties are:"
msgstr "必要なプロパティは以下のものです:"

#. Tag: title
#, no-c-format
msgid "SchemaExport Connection Properties"
msgstr "SchemaExport コネクションプロパティ"

#. Tag: entry
#, no-c-format
msgid "Property Name"
msgstr "プロパティ名"

#. Tag: entry
#, no-c-format
msgid "<literal>hibernate.connection.driver_class"
msgstr "<literal>hibernate.connection.driver_class"

#. Tag: entry
#, no-c-format
msgid "jdbc driver class"
msgstr "jdbc のドライバークラス"

#. Tag: entry
#, no-c-format
msgid "<literal>hibernate.connection.url"
msgstr "<literal>hibernate.connection.url"

#. Tag: entry
#, no-c-format
msgid "jdbc url"
msgstr "jdbc の url"

#. Tag: entry
#, no-c-format
msgid "<literal>hibernate.connection.username"
msgstr "<literal>hibernate.connection.username"

#. Tag: entry
#, no-c-format
msgid "database user"
msgstr "データベースのユーザー"

#. Tag: entry
#, no-c-format
msgid "<literal>hibernate.connection.password"
msgstr "<literal>hibernate.connection.password"

#. Tag: entry
#, no-c-format
msgid "user password"
msgstr "ユーザーパスワード"

#. Tag: entry
#, no-c-format
msgid "<literal>hibernate.dialect"
msgstr "<literal>hibernate.dialect"

#. Tag: entry
#, no-c-format
msgid "dialect"
msgstr "データベース方言"

#. Tag: title
#, no-c-format
msgid "Using Ant"
msgstr "Ant を使用する"

#. Tag: para
#, no-c-format
msgid ""
"You can call <literal>SchemaExport from your Ant build script:"
msgstr ""
"Ant のビルドスクリプトから <literal>SchemaExport を呼び出すことがで"
"きます:"

#. Tag: title
#, no-c-format
msgid "Incremental schema updates"
msgstr "インクリメンタルなスキーマ更新"

#. Tag: para
#, no-c-format
msgid ""
"The <literal>SchemaUpdate tool will update an existing schema with "
"\"incremental\" changes. The <literal>SchemaUpdate depends upon "
"the JDBC metadata API and, as such, will not work with all JDBC drivers."
msgstr ""
"<literal>SchemaUpdate ツールは既存のスキーマをインクリメンタルに更"
"新します。 <literal>SchemaUpdate は JDBC のメタデータ API に強く依"
"存します。そのため、すべての JDBC ドライバでうまくいくとは限らないことに注意"
"してください。"

#. Tag: para
#, no-c-format
msgid ""
"<literal>java -cp hibernate_classpaths "
"<literal>org.hibernate.tool.hbm2ddl.SchemaUpdate options "
"mapping_files</emphasis>"
msgstr ""
"<literal>java -cp hibernate_classpaths "
"<literal>org.hibernate.tool.hbm2ddl.SchemaUpdate options "
"mapping_files</emphasis>"

#. Tag: title
#, no-c-format
msgid "<literal>SchemaUpdate Command Line Options"
msgstr "<literal>SchemaUpdate のコマンドラインオプション"

#. Tag: entry
#, no-c-format
msgid "do not export the script to the database"
msgstr "データベースにスクリプトをエクスポートしません"

#. Tag: entry
#, no-c-format
msgid "specify a <literal>.cfg.xml file"
msgstr "<literal>.cfg.xml ファイルを指定"

#. Tag: para
#, no-c-format
msgid "You can embed <literal>SchemaUpdate in your application:"
msgstr ""
"アプリケーションに <literal>SchemaUpdate を組み込むことができます:"

#. Tag: title
#, no-c-format
msgid "Using Ant for incremental schema updates"
msgstr "インクリメンタルなスキーマ更新に対する Ant の使用"

#. Tag: para
#, no-c-format
msgid "You can call <literal>SchemaUpdate from the Ant script:"
msgstr ""
"Ant スクリプトから <literal>SchemaUpdate を呼び出すことができます:"

#. Tag: title
#, no-c-format
msgid "Schema validation"
msgstr "Schema validation"

#. Tag: para
#, no-c-format
msgid ""
"The <literal>SchemaValidator tool will validate that the existing "
"database schema \"matches\" your mapping documents. The "
"<literal>SchemaValidator depends heavily upon the JDBC metadata "
"API and, as such, will not work with all JDBC drivers. This tool is "
"extremely useful for testing."
msgstr ""
"<literal>SchemaValidator ツールは、既存のデータベーススキーマと作成"
"したマッピングドキュメントが「一致する」ことを検証します。 "
"<literal>SchemaValidator は JDBC のメタデータ API に強く依存するこ"
"とに注意してください。そのため、すべての JDBC ドライバーで作動するものではあ"
"りません。このツールはテスト時に非常に有用です。"

#. Tag: para
#, no-c-format
msgid ""
"<literal>java -cp hibernate_classpaths "
"<literal>org.hibernate.tool.hbm2ddl.SchemaValidator "
"<emphasis>options mapping_files"
msgstr ""
"<literal>java -cp hibernate_classpaths "
"<literal>org.hibernate.tool.hbm2ddl.SchemaValidator "
"<emphasis>options mapping_files"

#. Tag: para
#, fuzzy, no-c-format
msgid ""
"The following table displays the <literal>SchemaValidator command "
"line options:"
msgstr "<literal>SchemaValidator のコマンドラインオプション"

#. Tag: title
#, no-c-format
msgid "<literal>SchemaValidator Command Line Options"
msgstr "<literal>SchemaValidator のコマンドラインオプション"

#. Tag: para
#, no-c-format
msgid "You can embed <literal>SchemaValidator in your application:"
msgstr ""
"<literal>SchemaValidator をアプリケーションに組み込むことが出来ま"
"す:"

#. Tag: title
#, no-c-format
msgid "Using Ant for schema validation"
msgstr "スキーマのバリデーションに Ant を使用します"

#. Tag: para
#, no-c-format
msgid "You can call <literal>SchemaValidator from the Ant script:"
msgstr "Ant スクリプトから <literal>SchemaValidator を呼び出せます:"

#, fuzzy
#~ msgid "<![CDATA["
#~ msgstr "<property name=\"zip\" length=\"5\"/>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr "<property name=\"balance\" precision=\"12\" scale=\"2\"/>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<many-to-one name=\"bar\" column=\"barId\" not-null=\"true\"/>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<element column=\"serialNumber\" type=\"long\" not-null=\"true\" "
#~ "unique=\"true\"/>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<many-to-one name=\"org\" column=\"orgId\" unique-key=\"OrgEmployeeId"
#~ "\"/>\n"
#~ "<property name=\"employeeId\" unique-key=\"OrgEmployee\"/>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<property name=\"lastName\" index=\"CustName\"/>\n"
#~ "<property name=\"firstName\" index=\"CustName\"/>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<many-to-one name=\"bar\" column=\"barId\" foreign-key=\"FKFooBar\"/"
#~ ">"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<property name=\"name\" type=\"my.customtypes.Name\"/>\n"
#~ "    <column name=\"last\" not-null=\"true\" index=\"bar_idx\" length="
#~ "\"30\"/>\n"
#~ "    <column name=\"first\" not-null=\"true\" index=\"bar_idx\" length="
#~ "\"20\"/>\n"
#~ "    <column name=\"initial\"/>\n"
#~ "</property>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<property name=\"credits\" type=\"integer\" insert=\"false\">\n"
#~ "    <column name=\"credits\" default=\"10\"/>\n"
#~ "</property>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<version name=\"version\" type=\"integer\" insert=\"false\">\n"
#~ "    <column name=\"version\" default=\"0\"/>\n"
#~ "</property>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<property name=\"balance\" type=\"float\">\n"
#~ "    <column name=\"balance\" sql-type=\"decimal(13,3)\"/>\n"
#~ "</property>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA[\n"
#~ "</property>]]>"
#~ msgstr ""
#~ "<property name=\"foo\" type=\"integer\">\n"
#~ "    <column name=\"foo\" check=\"foo > 10\"/>\n"
#~ "</property>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<class name=\"Foo\" table=\"foos\" check=\"bar < 100.0\">\n"
#~ "    ...\n"
#~ "    <property name=\"bar\" type=\"float\"/>\n"
#~ "</class>"

#~ msgid "length"
#~ msgstr "length"

#~ msgid "precision"
#~ msgstr "precision"

#~ msgid "scale"
#~ msgstr "scale"

#~ msgid "not-null"
#~ msgstr "not-null"

#~ msgid "true|false"
#~ msgstr "true|false"

#~ msgid "unique"
#~ msgstr "unique"

#~ msgid "index"
#~ msgstr "index"

#~ msgid "index_name"
#~ msgstr "インデックス名"

#~ msgid "unique-key"
#~ msgstr "unique-key"

#~ msgid "unique_key_name"
#~ msgstr "ユニークキー名"

#~ msgid "foreign-key"
#~ msgstr "foreign-key"

#, fuzzy
#~ msgid "foreign_key_name"
#~ msgstr "foreign-key"

#~ msgid "sql-type"
#~ msgstr "sql-type"

#, fuzzy
#~ msgid "SQL column type"
#~ msgstr "SQL のカラム型"

#~ msgid "default"
#~ msgstr "default"

#~ msgid "check"
#~ msgstr "check"

#, fuzzy
#~ msgid ""
#~ "<![CDATA[\n"
#~ "    ...\n"
#~ "</class>]]>"
#~ msgstr ""
#~ "<class name=\"Customer\" table=\"CurCust\">\n"
#~ "    <comment>Current customers only</comment>\n"
#~ "    ...\n"
#~ "</class>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA[\n"
#~ "    </column>\n"
#~ "</property>]]>"
#~ msgstr ""
#~ "<property name=\"balance\">\n"
#~ "    <column name=\"bal\">\n"
#~ "        <comment>Balance in USD</comment>\n"
#~ "    </column>\n"
#~ "</property>"

#~ msgid "--quiet"
#~ msgstr "--quiet"

#~ msgid "--drop"
#~ msgstr "--drop"

#~ msgid "--create"
#~ msgstr "--create"

#~ msgid "--text"
#~ msgstr "--text"

#, fuzzy
#~ msgid "--output=my_schema.ddl"
#~ msgstr "<literal>--output=my_schema.ddl"

#, fuzzy
#~ msgid "--config=hibernate.cfg.xml"
#~ msgstr "<literal>--config=hibernate.cfg.xml"

#~ msgid "--properties=hibernate.properties"
#~ msgstr "--properties=hibernate.properties"

#~ msgid "--format"
#~ msgstr "--format"

#~ msgid "--delimiter=;"
#~ msgstr "--delimiter=x"

#, fuzzy
#~ msgid ""
#~ "<![CDATA[Configuration cfg = ....;\n"
#~ "new SchemaExport(cfg).create(false, true);]]>"
#~ msgstr ""
#~ "Configuration cfg = ....;\n"
#~ "new SchemaExport(cfg).create(false, true);"

#, fuzzy
#~ msgid "hibernate.connection.driver_class"
#~ msgstr "hibernate.connection.url"

#~ msgid "hibernate.connection.url"
#~ msgstr "hibernate.connection.url"

#~ msgid "hibernate.connection.username"
#~ msgstr "hibernate.connection.username"

#~ msgid "hibernate.connection.password"
#~ msgstr "hibernate.connection.password"

#~ msgid "hibernate.dialect"
#~ msgstr "hibernate.dialect"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<target name=\"schemaexport\">\n"
#~ "    <taskdef name=\"schemaexport\"\n"
#~ "        classname=\"org.hibernate.tool.hbm2ddl.SchemaExportTask\"\n"
#~ "        classpathref=\"class.path\"/>\n"
#~ "    \n"
#~ "    <schemaexport\n"
#~ "        properties=\"hibernate.properties\"\n"
#~ "        quiet=\"no\"\n"
#~ "        text=\"no\"\n"
#~ "        drop=\"no\"\n"
#~ "        delimiter=\";\"\n"
#~ "        output=\"schema-export.sql\">\n"
#~ "        <fileset dir=\"src\">\n"
#~ "            <include name=\"**/*.hbm.xml\"/>\n"
#~ "        </fileset>\n"
#~ "    </schemaexport>\n"
#~ "</target>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA[Configuration cfg = ....;\n"
#~ "new SchemaUpdate(cfg).execute(false);]]>"
#~ msgstr ""
#~ "Configuration cfg = ....;\n"
#~ "new SchemaUpdate(cfg).execute(false);"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<target name=\"schemaupdate\">\n"
#~ "    <taskdef name=\"schemaupdate\"\n"
#~ "        classname=\"org.hibernate.tool.hbm2ddl.SchemaUpdateTask\"\n"
#~ "        classpathref=\"class.path\"/>\n"
#~ "    \n"
#~ "    <schemaupdate\n"
#~ "        properties=\"hibernate.properties\"\n"
#~ "        quiet=\"no\">\n"
#~ "        <fileset dir=\"src\">\n"
#~ "            <include name=\"**/*.hbm.xml\"/>\n"
#~ "        </fileset>\n"
#~ "    </schemaupdate>\n"
#~ "</target>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA[Configuration cfg = ....;\n"
#~ "new SchemaValidator(cfg).validate();]]>"
#~ msgstr ""
#~ "Configuration cfg = ....;\n"
#~ "new SchemaValidator(cfg).validate();"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<target name=\"schemavalidate\">\n"
#~ "    <taskdef name=\"schemavalidator\"\n"
#~ "        classname=\"org.hibernate.tool.hbm2ddl.SchemaValidatorTask\"\n"
#~ "        classpathref=\"class.path\"/>\n"
#~ "    \n"
#~ "    <schemavalidator\n"
#~ "        properties=\"hibernate.properties\">\n"
#~ "        <fileset dir=\"src\">\n"
#~ "            <include name=\"**/*.hbm.xml\"/>\n"
#~ "        </fileset>\n"
#~ "    </schemaupdate>\n"
#~ "</target>"

Other Hibernate examples (source code examples)

Here is a short list of links related to this Hibernate toolset_guide.po source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.