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

📄 basic_mapping.po

📁 hibernate-distribution-3.3.1.GA-dist.zip源码
💻 PO
📖 第 1 页 / 共 5 页
字号:
#: basic_mapping.xml:453#, no-c-formatmsgid """<![CDATA[<class name=\"Summary\">\n""    <subselect>\n""        select item.name, max(bid.amount), count(*)\n""        from item\n""        join bid on bid.item_id = item.id\n""        group by item.name\n""    </subselect>\n""    <synchronize table=\"item\"/>\n""    <synchronize table=\"bid\"/>\n""    <id name=\"name\"/>\n""    ...\n""</class>]]>"msgstr ""#. Tag: para#: basic_mapping.xml:455#, no-c-formatmsgid """Declare the tables to synchronize this entity with, ensuring that auto-flush ""happens correctly, and that queries against the derived entity do not return ""stale data. The <literal>&lt;subselect&gt;</literal> is available as both as ""an attribute and a nested mapping element."msgstr """テーブルをこのエンティティと同期するように定義してください。 オートフラッシュ""が確実に起こるように、また導出エンティティに対するクエリが古いデータを 返さな""いようにするためです。 <literal>&lt;subselect&gt;</literal> は属性とネストし""たマッピング属性のどちらでも利用できます。"#. Tag: title#: basic_mapping.xml:465#, no-c-formatmsgid "<title>id</title>"msgstr ""#. Tag: para#: basic_mapping.xml:467#, no-c-formatmsgid """Mapped classes <emphasis>must</emphasis> declare the primary key column of ""the database table. Most classes will also have a JavaBeans-style property ""holding the unique identifier of an instance. The <literal>&lt;id&gt;</""literal> element defines the mapping from that property to the primary key ""column."msgstr """マップされたクラスはデータベーステーブルの主キーカラムを定義 <emphasis>しなけ""ればなりません</emphasis> 。 ほとんどのクラスにはインスタンスのユニークな識別""子を保持するJavaBeansスタイルのプロパティもあります。 <literal>&lt;id&gt;</""literal> 要素は、そのプロパティから主キーカラムへのマッピングを定義します。"#. Tag: programlisting#: basic_mapping.xml:482#, no-c-formatmsgid """<![CDATA[<id\n""        name=\"propertyName\"\n""        type=\"typename\"\n""        column=\"column_name\"\n""        unsaved-value=\"null|any|none|undefined|id_value\"\n""        access=\"field|property|ClassName\">\n""        node=\"element-name|@attribute-name|element/@attribute|.\"\n""\n""        <generator class=\"generatorClass\"/>\n""</id>]]>"msgstr ""#. Tag: para#: basic_mapping.xml:485#, no-c-formatmsgid """<literal>name</literal> (optional): The name of the identifier property."msgstr "<literal>name</literal>(オプション):識別子プロパティの名前。"#. Tag: para#: basic_mapping.xml:490#, no-c-formatmsgid """<literal>type</literal> (optional): A name that indicates the Hibernate type."msgstr "<literal>type</literal>(オプション):Hibernateの型を示す名前。"#. Tag: para#: basic_mapping.xml:495#, no-c-formatmsgid """<literal>column</literal> (optional - defaults to the property name): The ""name of the primary key column."msgstr """<literal>column</literal>(オプション - デフォルトはプロパティ名): 主キーカ""ラムの名前。"#. Tag: para#: basic_mapping.xml:501#, no-c-formatmsgid """<literal>unsaved-value</literal> (optional - defaults to a \"sensible\" ""value): An identifier property value that indicates that an instance is ""newly instantiated (unsaved), distinguishing it from detached instances that ""were saved or loaded in a previous session."msgstr """<literal>unsaved-value</literal>(オプション - デフォルトの値はsensible): ""インスタンスが新しくインスタンス化された (セーブされていない)ことを示す、識""別子プロパティの値。 以前のSessionでセーブまたはロードされた一時的インスタン""スと区別するために 使います。"#. Tag: para#: basic_mapping.xml:509 basic_mapping.xml:1017 basic_mapping.xml:1156#: basic_mapping.xml:1238 basic_mapping.xml:1345 basic_mapping.xml:1534#: basic_mapping.xml:1708 basic_mapping.xml:1878 basic_mapping.xml:2457#, fuzzy, no-c-formatmsgid """<literal>access</literal> (optional - defaults to <literal>property</""literal>): The strategy Hibernate should use for accessing the property ""value."msgstr """#-#-#-#-#  - (PACKAGE VERSION)  #-#-#-#-#\n""<literal>access</literal>(オプション - デフォルトは <literal>property</""literal> ): プロパティの値へアクセスするためにHibernateが使う戦略です。\n""#-#-#-#-#  - (PACKAGE VERSION)  #-#-#-#-#\n""<literal>access</literal> (オプション - デフォルトは <literal>property</""literal> ): Hibernateがプロパティの値にアクセスするために使用すべき戦略。\n""#-#-#-#-#  - (PACKAGE VERSION)  #-#-#-#-#\n""<literal>access</literal> (オプション - デフォルトは <literal>property</""literal> ): プロパティの値へのアクセスにHibernateが使う戦略。\n""#-#-#-#-#  - (PACKAGE VERSION)  #-#-#-#-#\n""<literal>access</literal> (オプション - デフォルトは <literal>property</""literal> ): プロパティの値へのアクセスにHibernateが使う戦略。\n""#-#-#-#-#  - (PACKAGE VERSION)  #-#-#-#-#\n""<literal>access</literal>(オプション - デフォルトは <literal>property</""literal> ): プロパティの値へのアクセスにHibernateが使う戦略。\n""#-#-#-#-#  - (PACKAGE VERSION)  #-#-#-#-#\n""<literal>access</literal>(オプション - デフォルトは <literal>property</""literal> ): プロパティの値へのアクセスにHibernateが使う戦略。\n""#-#-#-#-#  - (PACKAGE VERSION)  #-#-#-#-#\n""<literal>access</literal>(オプション - デフォルトは <literal>property</""literal> ): プロパティの値へのアクセスにHibernateが使う戦略。\n""#-#-#-#-#  - (PACKAGE VERSION)  #-#-#-#-#\n""<literal>access</literal> (オプション - デフォルトは <literal>property</""literal> ): プロパティの値へのアクセスにHibernateが使う戦略。\n""#-#-#-#-#  - (PACKAGE VERSION)  #-#-#-#-#\n""<literal>access</literal>(オプション - デフォルトは <literal>property</""literal> ): プロパティの値へのアクセスにHibernateが使う戦略。"#. Tag: para#: basic_mapping.xml:517#, no-c-formatmsgid """If the <literal>name</literal> attribute is missing, it is assumed that the ""class has no identifier property."msgstr """<literal>name</literal> 属性がなければ、クラスには識別子プロパティがないもの""とみなされます。"#. Tag: para#: basic_mapping.xml:522#, no-c-formatmsgid """The <literal>unsaved-value</literal> attribute is almost never needed in ""Hibernate3."msgstr """<literal>unsaved-value</literal> 属性はHibernate3ではほとんどの場合、必要では""ありません。"#. Tag: para#: basic_mapping.xml:526#, no-c-formatmsgid """There is an alternative <literal>&lt;composite-id&gt;</literal> declaration ""to allow access to legacy data with composite keys. We strongly discourage ""its use for anything else."msgstr """複合キーを持つレガシーデータにアクセスできるように、 <literal>&lt;composite-""id&gt;</literal> という代替のマッピング定義があります。 しかし他の用途への使""用は全くおすすめできません。"#. Tag: title#: basic_mapping.xml:532#, no-c-formatmsgid "Generator"msgstr "ジェネレータ"#. Tag: para#: basic_mapping.xml:534#, no-c-formatmsgid """The optional <literal>&lt;generator&gt;</literal> child element names a Java ""class used to generate unique identifiers for instances of the persistent ""class. If any parameters are required to configure or initialize the ""generator instance, they are passed using the <literal>&lt;param&gt;</""literal> element."msgstr """オプションの <literal>&lt;generator&gt;</literal> 子要素は、 永続クラスのイン""スタンスのユニークな識別子を生成するために使う、Javaクラスを指定します。 ジェ""ネレータインスタンスの設定、もしくは初期化にパラメータが必要であれば、""<literal>&lt;param&gt;</literal> 要素を使って渡すことができます。"#. Tag: programlisting#: basic_mapping.xml:541#, no-c-formatmsgid """<![CDATA[<id name=\"id\" type=\"long\" column=\"cat_id\">\n""        <generator class=\"org.hibernate.id.TableHiLoGenerator\">\n""                <param name=\"table\">uid_table</param>\n""                <param name=\"column\">next_hi_value_column</param>\n""        </generator>\n""</id>]]>"msgstr ""#. Tag: para#: basic_mapping.xml:543#, fuzzy, no-c-formatmsgid """All generators implement the interface <literal>org.hibernate.id.""IdentifierGenerator</literal>. This is a very simple interface; some ""applications may choose to provide their own specialized implementations. ""However, Hibernate provides a range of built-in implementations. There are ""shortcut names for the built-in generators:"msgstr """すべてのジェネレータは、インターフェイス <literal>org.hibernate.id.""IdentifierGenerator</literal> を実装します。 これはとても単純なインターフェイ""スなので、特別な実装を独自に用意するアプリケーションもあるかもしれません。 し""かしHibernateは組み込みの実装をいくつも用意しています。 組み込みのジェネレー""タには以下のショートカット名があります: <placeholder-1/>"#. Tag: literal#: basic_mapping.xml:551#, no-c-formatmsgid "increment"msgstr "increment"#. Tag: para#: basic_mapping.xml:553#, no-c-formatmsgid """generates identifiers of type <literal>long</literal>, <literal>short</""literal> or <literal>int</literal> that are unique only when no other ""process is inserting data into the same table. <emphasis>Do not use in a ""cluster.</emphasis>"msgstr """<literal>long</literal> , <literal>short</literal> , <literal>int</literal> ""型の識別子を生成します。 これらは他のプロセスが同じテーブルにデータを挿入しな""いときだけユニークです。 <emphasis>クラスタ内では使わないでください</""emphasis> 。"#. Tag: literal#: basic_mapping.xml:562#, no-c-formatmsgid "identity"msgstr "identity"#. Tag: para#: basic_mapping.xml:564#, no-c-formatmsgid """supports identity columns in DB2, MySQL, MS SQL Server, Sybase and ""HypersonicSQL. The returned identifier is of type <literal>long</literal>, ""<literal>short</literal> or <literal>int</literal>."msgstr """DB2, MySQL, MS SQL Server, Sybase, HypersonicSQLの識別子カラムを サポートしま""す。 返される識別子の型は <literal>long</literal> , <literal>short</""literal> , <literal>int</literal> のいずれかです。"#. Tag: literal#: basic_mapping.xml:572#, no-c-formatmsgid "sequence"msgstr "sequence"#. Tag: para#: basic_mapping.xml:574#, no-c-formatmsgid """uses a sequence in DB2, PostgreSQL, Oracle, SAP DB, McKoi or a generator in ""Interbase. The returned identifier is of type <literal>long</literal>, ""<literal>short</literal> or <literal>int</literal>"msgstr """DB2, PostgreSQL, Oracle, SAP DB, McKoiのシーケンスや、Interbaseのジェネレータ""を使用します。 返される識別子の型は <literal>long</literal> , ""<literal>short</literal> , <literal>int</literal> のいずれかです。"#. Tag: literal#: basic_mapping.xml:582#, no-c-formatmsgid "hilo"msgstr "hilo"#. Tag: para#: basic_mapping.xml:584#, 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 table and column (by default <literal>hibernate_unique_key</literal> ""and <literal>next_hi</literal> respectively) as a source of hi values. The ""hi/lo algorithm generates identifiers that are unique only for a particular ""database."msgstr """<literal>long</literal> , <literal>short</literal> , <literal>int</literal> ""型の識別子を効率的に生成するhi/loアルゴリズムを使います。 hi値のソースとし""て、テーブルとカラムを与えます(デフォルトではそれぞれ ""<literal>hibernate_unique_key</literal> と <literal>next_hi</literal> )。 hi/""loアルゴリズムは特定のデータベースに対してのみユニークな識別子を生成します。"#. Tag: literal

⌨️ 快捷键说明

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