📄 toolset_guide.pot
字号:
msgid ""msgstr """Project-Id-Version: PACKAGE VERSION\n""POT-Creation-Date: 2007-10-19 10:34-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"#: toolset_guide.xml:5(title) msgid "Toolset Guide"msgstr ""#: toolset_guide.xml:7(para) msgid "Roundtrip engineering with Hibernate is possible using a set of Eclipse plugins, commandline tools, as well as Ant tasks."msgstr ""#: toolset_guide.xml:12(para) msgid "The <emphasis>Hibernate Tools</emphasis> currently include plugins for the Eclipse IDE as well as Ant tasks for reverse engineering of existing databases:"msgstr ""#: toolset_guide.xml:18(para) msgid "<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 ""#: toolset_guide.xml:23(para) msgid "<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 ""#: toolset_guide.xml:30(para) msgid "<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 ""#: toolset_guide.xml:38(emphasis) msgid "Ant Tasks:"msgstr ""#: toolset_guide.xml:43(para) msgid "Please refer to the <emphasis>Hibernate Tools</emphasis> package and it's documentation for more information."msgstr ""#: toolset_guide.xml:48(para) msgid "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 ""#: toolset_guide.xml:55(title) msgid "Automatic schema generation"msgstr ""#: toolset_guide.xml:57(para) msgid "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 ""#: toolset_guide.xml:64(para) msgid "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 ""#: toolset_guide.xml:70(para) msgid "First, customize your mapping files to improve the generated schema."msgstr ""#: toolset_guide.xml:75(title) msgid "Customizing the schema"msgstr ""#: toolset_guide.xml:77(para) msgid "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 ""#: toolset_guide.xml:87(para) msgid "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 ""#: toolset_guide.xml:97(para) msgid "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 ""#: toolset_guide.xml:108(para) msgid "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 ""#: toolset_guide.xml:117(para) msgid "A <literal>foreign-key</literal> attribute may be used to override the name of any generated foreign key constraint."msgstr ""#: toolset_guide.xml:124(para) msgid "Many mapping elements also accept a child <literal><column></literal> element. This is particularly useful for mapping multi-column types:"msgstr ""#: toolset_guide.xml:135(para) msgid "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 ""#: toolset_guide.xml:149(para) msgid "The <literal>sql-type</literal> attribute allows the user to override the default mapping of a Hibernate type to SQL datatype."msgstr ""#: toolset_guide.xml:158(para) msgid "The <literal>check</literal> attribute allows you to specify a check constraint."msgstr ""#: toolset_guide.xml:173(title) msgid "Summary"msgstr ""#: toolset_guide.xml:180(entry) msgid "Attribute"msgstr ""#: toolset_guide.xml:181(entry) msgid "Values"msgstr ""#: toolset_guide.xml:182(entry) msgid "Interpretation"msgstr ""#: toolset_guide.xml:187(literal) msgid "length"msgstr ""#: toolset_guide.xml:188(entry) toolset_guide.xml:193(entry) toolset_guide.xml:198(entry) msgid "number"msgstr ""#: toolset_guide.xml:189(entry) msgid "column length"msgstr ""#: toolset_guide.xml:192(literal) msgid "precision"msgstr ""#: toolset_guide.xml:194(entry) msgid "column decimal precision"msgstr ""#: toolset_guide.xml:197(literal) msgid "scale"msgstr ""#: toolset_guide.xml:199(entry) msgid "column decimal scale"msgstr ""#: toolset_guide.xml:202(literal) msgid "not-null"msgstr ""#: toolset_guide.xml:203(literal) toolset_guide.xml:208(literal) msgid "true|false"msgstr ""#: toolset_guide.xml:204(entry) msgid "specfies that the column should be non-nullable"msgstr ""#: toolset_guide.xml:207(literal) msgid "unique"msgstr ""#: toolset_guide.xml:209(entry) msgid "specifies that the column should have a unique constraint"msgstr ""#: toolset_guide.xml:212(literal) msgid "index"msgstr ""#: toolset_guide.xml:213(literal) msgid "index_name"msgstr ""#: toolset_guide.xml:214(entry) msgid "specifies the name of a (multi-column) index"msgstr ""#: toolset_guide.xml:217(literal) msgid "unique-key"msgstr ""#: toolset_guide.xml:218(literal) msgid "unique_key_name"msgstr ""#: toolset_guide.xml:219(entry) msgid "specifies the name of a multi-column unique constraint"msgstr ""#: toolset_guide.xml:222(literal) msgid "foreign-key"msgstr ""#: toolset_guide.xml:223(literal) msgid "foreign_key_name"msgstr ""#: toolset_guide.xml:226(literal) msgid "<one-to-one>"msgstr ""#: toolset_guide.xml:227(literal) msgid "<many-to-one>"msgstr ""#: toolset_guide.xml:227(literal) msgid "<key>"msgstr ""#: toolset_guide.xml:228(literal) msgid "<many-to-many>"msgstr ""#: toolset_guide.xml:229(literal) msgid "inverse=\"true\""msgstr ""#: toolset_guide.xml:230(literal) msgid "SchemaExport"msgstr ""#: toolset_guide.xml:224(entry) msgid "specifies the name of the foreign key constraint generated for an association, for a <placeholder-1/>, <placeholder-2/>, <placeholder-3/>, or <placeholder-4/> mapping element. Note that <placeholder-5/> sides will not be considered by <placeholder-6/>."msgstr ""#: toolset_guide.xml:234(literal) msgid "sql-type"msgstr ""#: toolset_guide.xml:235(literal) msgid "SQL column type"msgstr ""#: toolset_guide.xml:238(literal) msgid "<column>"msgstr ""#: toolset_guide.xml:236(entry) msgid "overrides the default column type (attribute of <placeholder-1/> element only)"msgstr ""#: toolset_guide.xml:242(literal) msgid "default"msgstr ""#: toolset_guide.xml:243(entry) toolset_guide.xml:250(entry) msgid "SQL expression"msgstr ""#: toolset_guide.xml:244(entry) msgid "specify a default value for the column"msgstr ""#: toolset_guide.xml:249(literal) msgid "check"msgstr ""#: toolset_guide.xml:251(entry) msgid "create an SQL check constraint on either column or table"msgstr ""#: toolset_guide.xml:259(para) msgid "The <literal><comment></literal> element allows you to specify comments for the generated schema."msgstr ""#: toolset_guide.xml:275(para) msgid "This results in a <literal>comment on table</literal> or <literal>comment on column</literal> statement in the generated DDL (where supported)."msgstr ""#: toolset_guide.xml:284(title) msgid "Running the tool"msgstr ""
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -