📄 example_mappings.pot
字号:
msgid ""msgstr """Project-Id-Version: PACKAGE VERSION\n""POT-Creation-Date: 2007-10-19 10:31-0500\n""PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n""Last-Translator: FULL NAME <EMAIL@ADDRESS>\n""Language-Team: LANGUAGE <LL@li.org>\n""MIME-Version: 1.0\n""Content-Type: text/plain; charset=UTF-8\n""Content-Transfer-Encoding: 8bit\n"#. When image changes, this message will be marked fuzzy or untranslated for you.#. It doesn't matter what you translate it to: it's not used at all.#: example_mappings.xml:39(None) example_mappings.xml:42(None) msgid "@@image: '../images/EmployerEmployee.png'; md5=51e3da273e772b7defc753746eb5223f"msgstr ""#. When image changes, this message will be marked fuzzy or untranslated for you.#. It doesn't matter what you translate it to: it's not used at all.#: example_mappings.xml:153(None) example_mappings.xml:156(None) msgid "@@image: '../images/AuthorWork.png'; md5=fdbc5f105890c04d206674e7df6af6cf"msgstr ""#. When image changes, this message will be marked fuzzy or untranslated for you.#. It doesn't matter what you translate it to: it's not used at all.#: example_mappings.xml:277(None) example_mappings.xml:280(None) msgid "@@image: '../images/CustomerOrderProduct.png'; md5=39dcb639a197684dc020904a3f9a4b3d"msgstr ""#: example_mappings.xml:20(title) msgid "Example: Various Mappings"msgstr ""#: example_mappings.xml:22(para) msgid "This chapters shows off some more complex association mappings."msgstr ""#: example_mappings.xml:27(title) msgid "Employer/Employee"msgstr ""#: example_mappings.xml:29(para) msgid "The following model of the relationship between <literal>Employer</literal> and <literal>Employee</literal> uses an actual entity class (<literal>Employment</literal>) to represent the association. This is done because there might be more than one period of employment for the same two parties. Components are used to model monetary values and employee names."msgstr ""#: example_mappings.xml:46(para) msgid "Heres a possible mapping document:"msgstr ""#: example_mappings.xml:99(para) msgid "And heres the table schema generated by <literal>SchemaExport</literal>."msgstr ""#: example_mappings.xml:140(title) msgid "Author/Work"msgstr ""#: example_mappings.xml:142(para) msgid "Consider the following model of the relationships between <literal>Work</literal>, <literal>Author</literal> and <literal>Person</literal>. We represent the relationship between <literal>Work</literal> and <literal>Author</literal> as a many-to-many association. We choose to represent the relationship between <literal>Author</literal> and <literal>Person</literal> as one-to-one association. Another possibility would be to have <literal>Author</literal> extend <literal>Person</literal>."msgstr ""#: example_mappings.xml:160(para) msgid "The following mapping document correctly represents these relationships:"msgstr ""#: example_mappings.xml:216(para) msgid "There are four tables in this mapping. <literal>works</literal>, <literal>authors</literal> and <literal>persons</literal> hold work, author and person data respectively. <literal>author_work</literal> is an association table linking authors to works. Heres the table schema, as generated by <literal>SchemaExport</literal>."msgstr ""#: example_mappings.xml:262(title) msgid "Customer/Order/Product"msgstr ""#: example_mappings.xml:264(para) msgid "Now consider a model of the relationships between <literal>Customer</literal>, <literal>Order</literal> and <literal>LineItem</literal> and <literal>Product</literal>. There is a one-to-many association between <literal>Customer</literal> and <literal>Order</literal>, but how should we represent <literal>Order</literal> / <literal>LineItem</literal> / <literal>Product</literal>? I've chosen to map <literal>LineItem</literal> as an association class representing the many-to-many association between <literal>Order</literal> and <literal>Product</literal>. In Hibernate, this is called a composite element."msgstr ""#: example_mappings.xml:284(para) msgid "The mapping document:"msgstr ""#: example_mappings.xml:326(para) msgid "<literal>customers</literal>, <literal>orders</literal>, <literal>line_items</literal> and <literal>products</literal> hold customer, order, order line item and product data respectively. <literal>line_items</literal> also acts as an association table linking orders with products."msgstr ""#: example_mappings.xml:370(title) msgid "Miscellaneous example mappings"msgstr ""#: example_mappings.xml:372(para) msgid "These examples are all taken from the Hibernate test suite. You will find many other useful example mappings there. Look in the <literal>test</literal> folder of the Hibernate distribution."msgstr ""#: example_mappings.xml:378(para) msgid "TODO: put words around this stuff"msgstr ""#: example_mappings.xml:381(title) msgid "\"Typed\" one-to-one association"msgstr ""#: example_mappings.xml:411(title) msgid "Composite key example"msgstr ""#: example_mappings.xml:528(title) msgid "Many-to-many with shared composite key attribute"msgstr ""#: example_mappings.xml:567(title) msgid "Content based discrimination"msgstr ""#: example_mappings.xml:621(title) msgid "Associations on alternate keys"msgstr ""#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.#: example_mappings.xml:0(None) msgid "translator-credits"msgstr ""
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -