⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 basic_mapping.po

📁 hibernate-distribution-3.3.1.GA-dist.zip源码
💻 PO
📖 第 1 页 / 共 5 页
字号:
#: basic_mapping.xml:594#, no-c-formatmsgid "seqhilo"msgstr "seqhilo"#. Tag: para#: basic_mapping.xml:596#, no-c-formatmsgid """uses a hi/lo algorithm to efficiently generate identifiers of type ""<literal>long</literal>, <literal>short</literal> or <literal>int</literal>, ""given a named database sequence."msgstr """<literal>long</literal> , <literal>short</literal> , <literal>int</literal> ""型の識別子を効率的に生成するhi/loアルゴリズムを使います。 指定されたデータ""ベースシーケンスを与えます。"#. Tag: literal#: basic_mapping.xml:604#, no-c-formatmsgid "uuid"msgstr "uuid"#. Tag: para#: basic_mapping.xml:606#, no-c-formatmsgid """uses a 128-bit UUID algorithm to generate identifiers of type string, unique ""within a network (the IP address is used). The UUID is encoded as a string ""of hexadecimal digits of length 32."msgstr """(IPアドレスが使用される)ネットワーク内でユニークな文字列型の識別子を生成する""ために、 128ビットのUUIDアルゴリズムを使用します。UUIDは長さ32の16進数字の文""字列としてエンコードされます。"#. Tag: literal#: basic_mapping.xml:614#, no-c-formatmsgid "guid"msgstr "guid"#. Tag: para#: basic_mapping.xml:616#, no-c-formatmsgid "uses a database-generated GUID string on MS SQL Server and MySQL."msgstr "MS SQLサーバとMySQLでデータベースが生成するGUID文字列を使用します。"#. Tag: literal#: basic_mapping.xml:622#, no-c-formatmsgid "native"msgstr "native"#. Tag: para#: basic_mapping.xml:624#, no-c-formatmsgid """picks <literal>identity</literal>, <literal>sequence</literal> or ""<literal>hilo</literal> depending upon the capabilities of the underlying ""database."msgstr """使用するデータベースの性能により <literal>identity</literal> , ""<literal>sequence</literal> , <literal>hilo</literal> のいずれかが選ばれま""す。"#. Tag: literal#: basic_mapping.xml:632#, no-c-formatmsgid "assigned"msgstr "assigned"#. Tag: para#: basic_mapping.xml:634#, no-c-formatmsgid """lets the application to assign an identifier to the object before ""<literal>save()</literal> is called. This is the default strategy if no ""<literal>&lt;generator&gt;</literal> element is specified."msgstr """<literal>save()</literal> が呼ばれる前に、 アプリケーションがオブジェクトに識""別子を代入できるようにします。 <literal>&lt;generator&gt;</literal> が指定さ""れていなければ、これがデフォルトの戦略になります。"#. Tag: literal#: basic_mapping.xml:642#, no-c-formatmsgid "select"msgstr "select"#. Tag: para#: basic_mapping.xml:644#, no-c-formatmsgid """retrieves a primary key assigned by a database trigger by selecting the row ""by some unique key and retrieving the primary key value."msgstr """あるユニークキーによる行の選択と主キーの値の復元により、 データベーストリガが""割り当てた主キーを取得します。"#. Tag: literal#: basic_mapping.xml:651#, no-c-formatmsgid "foreign"msgstr "foreign"#. Tag: para#: basic_mapping.xml:653#, no-c-formatmsgid """uses the identifier of another associated object. Usually used in ""conjunction with a <literal>&lt;one-to-one&gt;</literal> primary key ""association."msgstr """他の関連オブジェクトの識別子を使います。 普通は、<literal>&lt;one-to-one&gt;""</literal> 主キー関連と組み合わせて使います。"#. Tag: literal#: basic_mapping.xml:660#, no-c-formatmsgid "sequence-identity"msgstr "sequence-identity"#. Tag: para#: basic_mapping.xml:662#, no-c-formatmsgid """a specialized sequence generation strategy which utilizes a database ""sequence for the actual value generation, but combines this with JDBC3 ""getGeneratedKeys to actually return the generated identifier value as part ""of the insert statement execution. This strategy is only known to be ""supported on Oracle 10g drivers targetted for JDK 1.4. Note comments on ""these insert statements are disabled due to a bug in the Oracle drivers."msgstr """a specialized sequence generation strategy which utilizes a database ""sequence for the actual value generation, but combines this with JDBC3 ""getGeneratedKeys to actually return the generated identifier value as part ""of the insert statement execution. This strategy is only known to be ""supported on Oracle 10g drivers targetted for JDK 1.4. Note comments on ""these insert statements are disabled due to a bug in the Oracle drivers."#. Tag: title#: basic_mapping.xml:679#, no-c-formatmsgid "Hi/lo algorithm"msgstr "Hi/lo アルゴリズム"#. Tag: para#: basic_mapping.xml:680#, no-c-formatmsgid """The <literal>hilo</literal> and <literal>seqhilo</literal> generators ""provide two alternate implementations of the hi/lo algorithm, a favorite ""approach to identifier generation. The first implementation requires a ""\"special\" database table to hold the next available \"hi\" value. The ""second uses an Oracle-style sequence (where supported)."msgstr """<literal>hilo</literal> と <literal>seqhilo</literal> ジェネレータは、 識別子""生成の代表的なアプローチであるhi/loアルゴリズムの2つの代替実装を提供します。 ""1番目の実装は、次回に利用される\"hi\"値を保持する「特別な」データベーステーブ""ルを 必要とします。 2番目の実装は、Oracleスタイルのシーケンスを使います(サ""ポートされている場合)。"#. Tag: programlisting#: basic_mapping.xml:687#, no-c-formatmsgid """<![CDATA[<id name=\"id\" type=\"long\" column=\"cat_id\">\n""        <generator class=\"hilo\">\n""                <param name=\"table\">hi_value</param>\n""                <param name=\"column\">next_value</param>\n""                <param name=\"max_lo\">100</param>\n""        </generator>\n""</id>]]>"msgstr ""#. Tag: programlisting#: basic_mapping.xml:689#, no-c-formatmsgid """<![CDATA[<id name=\"id\" type=\"long\" column=\"cat_id\">\n""        <generator class=\"seqhilo\">\n""                <param name=\"sequence\">hi_value</param>\n""                <param name=\"max_lo\">100</param>\n""        </generator>\n""</id>]]>"msgstr ""#. Tag: para#: basic_mapping.xml:691#, no-c-formatmsgid """Unfortunately, you can't use <literal>hilo</literal> when supplying your own ""<literal>Connection</literal> to Hibernate. When Hibernate is using an ""application server datasource to obtain connections enlisted with JTA, you ""must properly configure the <literal>hibernate.transaction.""manager_lookup_class</literal>."msgstr """残念ながらHibernateへの独自の <literal>Connection</literal> を提供するときに""は、<literal>hilo</literal> を使えません。 HibernateがJTAでリストされている接""続を取得するためにアプリケーションサーバーのデータソースを使用しているときに""は、 <literal>hibernate.transaction.manager_lookup_class</literal> を適切に設""定しなければなりません。"#. Tag: title#: basic_mapping.xml:700#, no-c-formatmsgid "UUID algorithm"msgstr "UUID アルゴリズム"#. Tag: para#: basic_mapping.xml:701#, no-c-formatmsgid """The UUID contains: IP address, startup time of the JVM (accurate to a ""quarter second), system time and a counter value (unique within the JVM). ""It's not possible to obtain a MAC address or memory address from Java code, ""so this is the best we can do without using JNI."msgstr """UUIDには以下のものが含まれます: IPアドレス、JVMのスタートアップタイム(4分の""1秒の正確さ)、 システム時間、(JVMに対してユニークな)カウンタ値。 Javaコー""ドからMACアドレスやメモリアドレスを取得することはできないので、 JNIが使えない""ときの最良の方法です。"#. Tag: title#: basic_mapping.xml:710#, no-c-formatmsgid "Identity columns and sequences"msgstr "識別子カラムとシーケンス"#. Tag: para#: basic_mapping.xml:711#, no-c-formatmsgid """For databases which support identity columns (DB2, MySQL, Sybase, MS SQL), ""you may use <literal>identity</literal> key generation. For databases that ""support sequences (DB2, Oracle, PostgreSQL, Interbase, McKoi, SAP DB) you ""may use <literal>sequence</literal> style key generation. Both these ""strategies require two SQL queries to insert a new object."msgstr """識別子カラムをサポートしているデータベース(DB2, MySQL, Sybase, MS SQL)で""は、 <literal>identity</literal> キー生成を使えます。 シーケンスをサポートす""るデータベース(DB2, Oracle, PostgreSQL, Interbase, McKoi, SAP DB)では、 ""<literal>sequence</literal> スタイルのキー生成を使えます。 どちらの戦略も、新""しいオブジェクトを挿入するために、SQLクエリを2つ必要とします。"#. Tag: programlisting#: basic_mapping.xml:719#, no-c-formatmsgid """<![CDATA[<id name=\"id\" type=\"long\" column=\"person_id\">\n""        <generator class=\"sequence\">\n""                <param name=\"sequence\">person_id_sequence</param>\n""        </generator>\n""</id>]]>"msgstr ""#. Tag: programlisting#: basic_mapping.xml:721#, no-c-formatmsgid """<![CDATA[<id name=\"id\" type=\"long\" column=\"person_id\" unsaved-value=\"0""\">\n""        <generator class=\"identity\"/>\n""</id>]]>"msgstr ""#. Tag: para#: basic_mapping.xml:723#, no-c-formatmsgid """For cross-platform development, the <literal>native</literal> strategy will ""choose from the <literal>identity</literal>, <literal>sequence</literal> and ""<literal>hilo</literal> strategies, dependant upon the capabilities of the ""underlying database."msgstr """クロスプラットフォームの開発では、<literal>native</literal> 戦略は ""<literal>identity</literal> , <literal>sequence</literal> , <literal>hilo</""literal> 戦略の中から1つを選択しますが、 これは使用しているデータベースの能力""に依存します。"#. Tag: title#: basic_mapping.xml:732#, no-c-formatmsgid "Assigned identifiers"msgstr "識別子の割り当て"#. Tag: para#: basic_mapping.xml:733#, no-c-formatmsgid """If you want the application to assign identifiers (as opposed to having ""Hibernate generate them), you may use the <literal>assigned</literal> ""generator. This special generator will use the identifier value already ""assigned to the object's identifier property. This generator is used when ""the primary key is a natural key instead of a surrogate key. This is the ""default behavior if you do no specify a <literal>&lt;generator&gt;</literal> ""element."msgstr """アプリケーションに識別子を割り当てさせたいのであれば(Hibernateが生成するもの""ではなく)、 <literal>assigned</literal> ジェネレータを使うことができます。 ""この特別なジェネレータは、すでにオブジェクトの識別子プロパティに代入された値""を 識

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -