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

📄 toolset_guide.po

📁 hibernate 开源框架的代码 jar包希望大家能喜欢
💻 PO
📖 第 1 页 / 共 3 页
字号:
msgid ""msgstr """Project-Id-Version: PACKAGE VERSION\n""Report-Msgid-Bugs-To: http://bugs.kde.org\n""POT-Creation-Date: 2007-10-25 07:47+0000\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"#. Tag: title#: toolset_guide.xml:5#, no-c-formatmsgid "Toolset Guide"msgstr "Toolset Guide"#. Tag: para#: toolset_guide.xml:7#, no-c-formatmsgid """Roundtrip engineering with Hibernate is possible using a set of Eclipse ""plugins, commandline tools, as well as Ant tasks."msgstr """Roundtrip engineering with Hibernate is possible using a set of Eclipse ""plugins, commandline tools, as well as Ant tasks."#. Tag: para#: toolset_guide.xml:12#, no-c-formatmsgid """The <emphasis>Hibernate Tools</emphasis> currently include plugins for the ""Eclipse IDE as well as Ant tasks for reverse engineering of existing ""databases:"msgstr """The <emphasis>Hibernate Tools</emphasis> currently include plugins for the ""Eclipse IDE as well as Ant tasks for reverse engineering of existing ""databases:"#. Tag: para#: toolset_guide.xml:18#, no-c-formatmsgid """<emphasis>Mapping Editor:</emphasis> An editor for Hibernate XML mapping ""files, supporting auto-completion and syntax highlighting. It also supports ""semantic auto-completion for class names and property/field names, making it ""much more versatile than a normal XML editor."msgstr """<emphasis>Mapping Editor:</emphasis> An editor for Hibernate XML mapping ""files, supporting auto-completion and syntax highlighting. It also supports ""semantic auto-completion for class names and property/field names, making it ""much more versatile than a normal XML editor."#. Tag: para#: toolset_guide.xml:23#, no-c-formatmsgid """<emphasis>Console:</emphasis> The console is a new view in Eclipse. In ""addition to a tree overview of your console configurations, you also get 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:</emphasis> The console is a new view in Eclipse. In ""addition to a tree overview of your console configurations, you also get 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."#. Tag: para#: toolset_guide.xml:30#, no-c-formatmsgid """<emphasis>Development Wizards:</emphasis> Several wizards are provided with ""the Hibernate Eclipse tools; you can use a wizard to quickly generate ""Hibernate configuration (cfg.xml) files, or you may even completely reverse ""engineer an existing database schema into POJO source files and Hibernate ""mapping files. The reverse engineering wizard supports customizable ""templates."msgstr """<emphasis>Development Wizards:</emphasis> Several wizards are provided with ""the Hibernate Eclipse tools; you can use a wizard to quickly generate ""Hibernate configuration (cfg.xml) files, or you may even completely reverse ""engineer an existing database schema into POJO source files and Hibernate ""mapping files. The reverse engineering wizard supports customizable ""templates."#. Tag: emphasis#: toolset_guide.xml:38#, no-c-formatmsgid "Ant Tasks:"msgstr "Ant Tasks:"#. Tag: para#: toolset_guide.xml:43#, no-c-formatmsgid """Please refer to the <emphasis>Hibernate Tools</emphasis> package and it's ""documentation for more information."msgstr """Please refer to the <emphasis>Hibernate Tools</emphasis> package and it's ""documentation for more information."#. Tag: para#: toolset_guide.xml:48#, no-c-formatmsgid """However, the Hibernate main package comes bundled with an integrated tool ""(it can even be used from \"inside\" Hibernate on-the-fly): ""<emphasis>SchemaExport</emphasis> aka <literal>hbm2ddl</literal>."msgstr """However, the Hibernate main package comes bundled with an integrated tool ""(it can even be used from \"inside\" Hibernate on-the-fly): ""<emphasis>SchemaExport</emphasis> aka <literal>hbm2ddl</literal>."#. Tag: title#: toolset_guide.xml:55#, no-c-formatmsgid "Automatic schema generation"msgstr "Automatic schema generation"#. Tag: para#: toolset_guide.xml:57#, no-c-formatmsgid """DDL may 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 may 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."#. Tag: para#: toolset_guide.xml:64#, no-c-formatmsgid """You <emphasis>must</emphasis> specify a SQL <literal>Dialect</literal> via ""the <literal>hibernate.dialect</literal> property when using this tool, as ""DDL is highly vendor specific."msgstr """You <emphasis>must</emphasis> specify a SQL <literal>Dialect</literal> via ""the <literal>hibernate.dialect</literal> property when using this tool, as ""DDL is highly vendor specific."#. Tag: para#: toolset_guide.xml:70#, no-c-formatmsgid "First, customize your mapping files to improve the generated schema."msgstr "First, customize your mapping files to improve the generated schema."#. Tag: title#: toolset_guide.xml:75#, no-c-formatmsgid "Customizing the schema"msgstr "Customizing the schema"#. Tag: para#: toolset_guide.xml:77#, no-c-formatmsgid """Many Hibernate mapping elements define optional attributes named ""<literal>length</literal>, <literal>precision</literal> and <literal>scale</""literal>. You may set the length, precision and scale of a column with this ""attribute."msgstr """Many Hibernate mapping elements define optional attributes named ""<literal>length</literal>, <literal>precision</literal> and <literal>scale</""literal>. You may set the length, precision and scale of a column with this ""attribute."#. Tag: programlisting#: toolset_guide.xml:84#, no-c-formatmsgid "<![CDATA[<property name=\"zip\" length=\"5\"/>]]>"msgstr ""#. Tag: programlisting#: toolset_guide.xml:85#, no-c-formatmsgid "<![CDATA[<property name=\"balance\" precision=\"12\" scale=\"2\"/>]]>"msgstr ""#. Tag: para#: toolset_guide.xml:87#, no-c-formatmsgid """Some tags also accept a <literal>not-null</literal> attribute (for ""generating a <literal>NOT NULL</literal> constraint on table columns) and a ""<literal>unique</literal> attribute (for generating <literal>UNIQUE</""literal> constraint on table columns)."msgstr """Some tags also accept a <literal>not-null</literal> attribute (for ""generating a <literal>NOT NULL</literal> constraint on table columns) and a ""<literal>unique</literal> attribute (for generating <literal>UNIQUE</""literal> constraint on table columns)."#. Tag: programlisting#: toolset_guide.xml:93#, no-c-formatmsgid """<![CDATA[<many-to-one name=\"bar\" column=\"barId\" not-null=\"true\"/>]]>"msgstr ""#. Tag: programlisting#: toolset_guide.xml:95#, no-c-formatmsgid """<![CDATA[<element column=\"serialNumber\" type=\"long\" not-null=\"true\" ""unique=\"true\"/>]]>"msgstr ""#. Tag: para#: toolset_guide.xml:97#, no-c-formatmsgid """A <literal>unique-key</literal> attribute may be used to group columns in a ""single unique key constraint. Currently, the specified value of the ""<literal>unique-key</literal> attribute is <emphasis>not</emphasis> used to ""name the constraint in the generated DDL, only to group the columns in the ""mapping file."msgstr """A <literal>unique-key</literal> attribute may be used to group columns in a ""single unique key constraint. Currently, the specified value of the ""<literal>unique-key</literal> attribute is <emphasis>not</emphasis> used to ""name the constraint in the generated DDL, only to group the columns in the ""mapping file."#. Tag: programlisting#: toolset_guide.xml:105#, no-c-formatmsgid """<![CDATA[<many-to-one name=\"org\" column=\"orgId\" unique-key=""\"OrgEmployeeId\"/>\n""<property name=\"employeeId\" unique-key=\"OrgEmployee\"/>]]>"msgstr ""#. Tag: para#: toolset_guide.xml:107#, no-c-formatmsgid """An <literal>index</literal> attribute specifies the name of an index that ""will be created using the mapped column or columns. Multiple columns may be ""grouped into the same index, simply by specifying the same index name."msgstr """An <literal>index</literal> attribute specifies the name of an index that ""will be created using the mapped column or columns. Multiple columns may be ""grouped into the same index, simply by specifying the same index name."#. Tag: programlisting#: toolset_guide.xml:113#, no-c-formatmsgid """<![CDATA[<property name=\"lastName\" index=\"CustName\"/>\n""<property name=\"firstName\" index=\"CustName\"/>]]>"msgstr ""#. Tag: para#: toolset_guide.xml:115#, no-c-formatmsgid """A <literal>foreign-key</literal> attribute may be used to override the name ""of any generated foreign key constraint."msgstr """A <literal>foreign-key</literal> attribute may be used to override the name ""of any generated foreign key constraint."#. Tag: programlisting#: toolset_guide.xml:120#, no-c-formatmsgid """<![CDATA[<many-to-one name=\"bar\" column=\"barId\" foreign-key=\"FKFooBar\"/"">]]>"msgstr ""#. Tag: para#: toolset_guide.xml:122#, no-c-formatmsgid """Many mapping elements also accept a child <literal>&lt;column&gt;</literal> ""element. This is particularly useful for mapping multi-column types:"msgstr """Many mapping elements also accept a child <literal>&lt;column&gt;</literal> ""element. This is particularly useful for mapping multi-column types:"#. Tag: programlisting#: toolset_guide.xml:127#, no-c-formatmsgid """<![CDATA[<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>]]>"msgstr ""#. Tag: para#: toolset_guide.xml:129#, no-c-formatmsgid """The <literal>default</literal> attribute lets you 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 """The <literal>default</literal> attribute lets you 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)."#. Tag: programlisting#: toolset_guide.xml:135#, no-c-formatmsgid """<![CDATA[<property name=\"credits\" type=\"integer\" insert=\"false\">\n""    <column name=\"credits\" default=\"10\"/>\n""</property>]]>"msgstr ""#. Tag: programlisting#: toolset_guide.xml:137#, no-c-formatmsgid """<![CDATA[<version name=\"version\" type=\"integer\" insert=\"false\">\n""    <column name=\"version\" default=\"0\"/>\n""</property>]]>"msgstr ""#. Tag: para#: toolset_guide.xml:139#, no-c-formatmsgid """The <literal>sql-type</literal> attribute allows the user to override the ""default mapping of a Hibernate type to SQL datatype."msgstr """The <literal>sql-type</literal> attribute allows the user to override the ""default mapping of a Hibernate type to SQL datatype."#. Tag: programlisting#: toolset_guide.xml:144#, no-c-formatmsgid """<![CDATA[<property name=\"balance\" type=\"float\">\n""    <column name=\"balance\" sql-type=\"decimal(13,3)\"/>\n""</property>]]>"msgstr ""#. Tag: para#: toolset_guide.xml:146#, no-c-formatmsgid """The <literal>check</literal> attribute allows you to specify a check ""constraint."msgstr """The <literal>check</literal> attribute allows you to specify a check ""constraint."#. Tag: programlisting#: toolset_guide.xml:150#, no-c-formatmsgid """<![CDATA[<property name=\"foo\" type=\"integer\">\n""    <column name=\"foo\" check=\"foo > 10\"/>\n""</property>]]>"msgstr ""#. Tag: programlisting#: toolset_guide.xml:152#, no-c-formatmsgid """<![CDATA[<class name=\"Foo\" table=\"foos\" check=\"bar < 100.0\">\n""    ...\n""    <property name=\"bar\" type=\"float\"/>\n""</class>]]>"msgstr ""#. Tag: title#: toolset_guide.xml:156#, no-c-formatmsgid "Summary"msgstr "Summary"#. Tag: entry#: toolset_guide.xml:163#, no-c-formatmsgid "Attribute"msgstr "Attribute"#. Tag: entry#: toolset_guide.xml:164#, no-c-format

⌨️ 快捷键说明

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