alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Hibernate example source code file (toolset_guide.po)

This example Hibernate source code file (toolset_guide.po) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Hibernate tags/keywords

ant, ant, cdata, cdata, ddl, eclipse, hibernate, hibernate, jdbc, sql, tag, tag, the, you

The Hibernate toolset_guide.po source code

# translation of Collection_Mapping.po to
# Xi Huang <xhuang@redhat.com>, 2006.
# Xi HUANG <xhuang@redhat.com>, 2007.
msgid ""
msgstr ""
"Project-Id-Version: Collection_Mapping\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2010-02-11T05:38:16\n"
"PO-Revision-Date: 2010-03-16 10:12+1000\n"
"Last-Translator: Xi HUANG <xhuang@redhat.com>\n"
"Language-Team:  <en@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.11.4\n"

#. Tag: title
#, no-c-format
msgid "Toolset Guide"
msgstr "工具箱指南"

#. Tag: para
#, no-c-format
msgid "Roundtrip engineering with Hibernate is possible using a set of Eclipse plugins, commandline tools, and Ant tasks."
msgstr "可以通过一系列 Eclipse 插件、命令行工具和 Ant 任务来进行与 Hibernate 关联的转换。 "

#. Tag: para
#, no-c-format
msgid "<emphasis>Hibernate Tools currently include plugins for the Eclipse IDE as well as Ant tasks for reverse engineering of existing databases:"
msgstr "除了 Ant 任务外,当前的 <emphasis>Hibernate Tools 也包含了 Eclipse IDE 的插件,用于与现存数据库的逆向工程。 "

#. Tag: para
#, no-c-format
msgid "<emphasis>Mapping Editor: an editor for Hibernate XML mapping files that supports auto-completion and syntax highlighting. It also supports semantic auto-completion for class names and property/field names, making it more versatile than a normal XML editor."
msgstr "<emphasis>Mapping Editor: Hibernate XML 映射文件的编辑器,支持自动完成和语法高亮。它也支持对类名和属性/字段名的语义自动完成,比通常的 XML 编辑器方便得多。 "

#. Tag: para
#, no-c-format
msgid "<emphasis>Console: the console is a new view in Eclipse. In addition to a tree overview of your console configurations, you are also provided with 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: Console 是 Eclipse 的一个新视图。除了对你的 console 配置的树状概览,你还可以获得对你持久化类及其关联的交互式视图。Console 允许你对数据库执行 HQL 查询,并直接在 Eclipse 中浏览结果。 "

#. Tag: para
#, no-c-format
msgid "<emphasis>Development Wizards: several wizards are provided with the Hibernate Eclipse tools. You can use a wizard to quickly generate Hibernate configuration (cfg.xml) files, or to 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: 在 Hibernate Eclipse tools 中还提供了几个向导;你可以用向导快速生成 Hibernate 配置文件(cfg.xml),你甚至还可以同现存的数据库 schema 中反向工程出 POJO 源代码与 Hibernate 映射文件。反向工程支持可定制的模版。 "

#. Tag: para
#, no-c-format
msgid "Please refer to the <emphasis>Hibernate Tools package documentation for more information."
msgstr "要得到更多信息,请查阅 <emphasis>Hibernate Tools 包及其文档。 "

#. Tag: para
#, no-c-format
msgid "However, the Hibernate main package comes bundled with an integrated tool : <emphasis>SchemaExport aka hbm2ddl.It can even be used from \"inside\" Hibernate."
msgstr "同时,Hibernate 主发行包还附带了一个集成的工具(它甚至可以在 Hibernate“内部”快速运行)<emphasis>SchemaExport ,也就是 hbm2ddl。 "

#. Tag: title
#, no-c-format
msgid "Automatic schema generation"
msgstr "Schema 自动生成(Automatic schema generation)"

#. Tag: para
#, no-c-format
msgid "DDL can 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 "可以从你的映射文件使用一个 Hibernate 工具生成 DDL。生成的 schema 包含有对实体和集合类表的完整性引用约束(主键和外键)。涉及到的标示符生成器所需的表和 sequence 也会同时生成。 "

#. Tag: para
#, no-c-format
msgid "You <emphasis>must specify a SQL Dialect via the hibernate.dialect property when using this tool, as DDL is highly vendor-specific."
msgstr "在使用这个工具的时候,你<emphasis>必须 通过 hibernate.dialet 属性指定一个 SQL 方言(Dialet),因为 DDL 是与供应商高度相关的。 "

#. Tag: para
#, no-c-format
msgid "First, you must customize your mapping files to improve the generated schema. The next section covers schema customization."
msgstr "首先,要定制你的映射文件,来改善生成的 schema。下章将涵盖 schema 定制。"

#. Tag: title
#, no-c-format
msgid "Customizing the schema"
msgstr "对 schema 定制化(Customizing the schema)"

#. Tag: para
#, no-c-format
msgid "Many Hibernate mapping elements define optional attributes named <literal>length, precision and scale. You can set the length, precision and scale of a column with this attribute."
msgstr "很多 Hibernate 映射元素定义了可选的 <literal>length、precision 或者 scale 属性。你可以通过这个属性设置字段的长度、精度、小数点位数。 "

#. Tag: para
#, no-c-format
msgid "Some tags also accept a <literal>not-null attribute for generating a NOT NULL constraint on table columns, and a unique attribute for generating UNIQUE constraint on table columns."
msgstr "有些 tag 还接受 <literal>not-null 属性(用来在表字段上生成 NOT NULL 约束)和 unique 属性(用来在表字段上生成 UNIQUE 约束)。 "

#. Tag: para
#, no-c-format
msgid "A <literal>unique-key attribute can be used to group columns in a single, unique key constraint. Currently, the specified value of the unique-key attribute is not used to name the constraint in the generated DDL. It is only used to group the columns in the mapping file."
msgstr "<literal>unique-key 属性可以对成组的字段指定一个唯一键约束(unique key constraint)。目前,unique-key 属性指定的值在生成 DDL 时并不会被当作这个约束的名字,它们只是在用来在映射文件内部用作区分的。 "

#. Tag: para
#, no-c-format
msgid "An <literal>index attribute specifies the name of an index that will be created using the mapped column or columns. Multiple columns can be grouped into the same index by simply specifying the same index name."
msgstr "<literal>index 属性会用对应的字段(一个或多个)生成一个 index,它指出了这个 index 的名字。如果多个字段对应的 index 名字相同,就会生成包含这些字段的 index。 "

#. Tag: para
#, no-c-format
msgid "A <literal>foreign-key attribute can be used to override the name of any generated foreign key constraint."
msgstr "<literal>foreign-key 属性可以用来覆盖任何生成的外键约束的名字。 "

#. Tag: para
#, no-c-format
msgid "Many mapping elements also accept a child <literal><column> element. This is particularly useful for mapping multi-column types:"
msgstr "很多映射元素还接受 <literal><column> 子元素。这在定义跨越多字段的类型时特别有用。"

#. Tag: para
#, no-c-format
msgid "The <literal>default attribute allows you to 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 "<literal>default 属性为字段指定一个默认值(在保存被映射的类的新实例之前,你应该将同样的值赋于对应的属性)。"

#. Tag: para
#, no-c-format
msgid "The <literal>sql-type attribute allows the user to override the default mapping of a Hibernate type to SQL datatype."
msgstr "<literal>sql-type 属性允许用户覆盖默认的 Hibernate 类型到 SQL 数据类型的映射。"

#. Tag: para
#, no-c-format
msgid "The <literal>check attribute allows you to specify a check constraint."
msgstr "<literal>check 属性允许用户指定一个约束检查。"

#. Tag: para
#, no-c-format
msgid "The following table summarizes these optional attributes."
msgstr "下表总结了这些可选属性:"

#. Tag: title
#, no-c-format
msgid "Summary"
msgstr "总结"

#. Tag: entry
#, no-c-format
msgid "Attribute"
msgstr "属性(Attribute)"

#. Tag: entry
#, no-c-format
msgid "Values"
msgstr "值(Values)"

#. Tag: entry
#, no-c-format
msgid "Interpretation"
msgstr "解释(Interpretation)"

#. Tag: entry
#, no-c-format
msgid "<literal>length"
msgstr "<literal>length"

#. Tag: entry
#, no-c-format
msgid "number"
msgstr "数字"

#. Tag: entry
#, no-c-format
msgid "column length"
msgstr "字段长度"

#. Tag: entry
#, no-c-format
msgid "<literal>precision"
msgstr "<literal>precision"

#. Tag: entry
#, no-c-format
msgid "column decimal precision"
msgstr "精度(decimal precision)"

#. Tag: entry
#, no-c-format
msgid "<literal>scale"
msgstr "<literal>scale"

#. Tag: entry
#, no-c-format
msgid "column decimal scale"
msgstr "小数点位数(decimal scale)"

#. Tag: entry
#, no-c-format
msgid "<literal>not-null"
msgstr "<literal>not-null"

#. Tag: entry
#, no-c-format
msgid "<literal>true|false"
msgstr "<literal>true|false"

#. Tag: entry
#, no-c-format
msgid "specifies that the column should be non-nullable"
msgstr "指明字段是否应该是非空的 "

#. Tag: entry
#, no-c-format
msgid "<literal>unique"
msgstr "<literal>unique"

#. Tag: entry
#, no-c-format
msgid "specifies that the column should have a unique constraint"
msgstr "指明是否该字段具有惟一约束"

#. Tag: entry
#, no-c-format
msgid "<literal>index"
msgstr "<literal>index"

#. Tag: entry
#, no-c-format
msgid "<literal>index_name"
msgstr "<literal>index_name"

#. Tag: entry
#, no-c-format
msgid "specifies the name of a (multi-column) index"
msgstr "指明一个(多字段)的索引(index)的名字"

#. Tag: entry
#, no-c-format
msgid "<literal>unique-key"
msgstr "<literal>unique-key"

#. Tag: entry
#, no-c-format
msgid "<literal>unique_key_name"
msgstr "<literal>unique_key_name"

#. Tag: entry
#, no-c-format
msgid "specifies the name of a multi-column unique constraint"
msgstr "指明多字段惟一约束的名字(参见上面的说明)"

#. Tag: entry
#, no-c-format
msgid "<literal>foreign-key"
msgstr "<literal>foreign-key"

#. Tag: entry
#, no-c-format
msgid "<literal>foreign_key_name"
msgstr "<literal>foreign_key_name"

#. Tag: entry
#, no-c-format
msgid "specifies the name of the foreign key constraint generated for an association, for a <literal><one-to-one>, <many-to-one>, <key>, or <many-to-many> mapping element. Note that inverse=\"true\" sides will not be considered by SchemaExport."
msgstr "指明一个外键的名字,它是为关联生成的,或者是为 <literal><one-to-one>, <many-to-one>, <key>, or <many-to-many> 映射元素。注意 inverse=\"true\" 会被 SchemaExport 忽略。"

#. Tag: entry
#, no-c-format
msgid "<literal>sql-type"
msgstr "<literal>sql-type"

#. Tag: entry
#, no-c-format
msgid "<literal>SQL column type"
msgstr "<literal>SQL column type"

#. Tag: entry
#, no-c-format
msgid "overrides the default column type (attribute of <literal><column> element only)"
msgstr "覆盖默认的字段类型(只能用于 <literal><column> 属性)"

#. Tag: entry
#, no-c-format
msgid "<literal>default"
msgstr "<literal>default"

#. Tag: entry
#, no-c-format
msgid "SQL expression"
msgstr "SQL 表达式"

#. Tag: entry
#, no-c-format
msgid "specify a default value for the column"
msgstr "为字段指定默认值"

#. Tag: entry
#, no-c-format
msgid "<literal>check"
msgstr "<literal>check"

#. Tag: entry
#, no-c-format
msgid "create an SQL check constraint on either column or table"
msgstr "对字段或表加入 SQL 约束检查"

#. Tag: para
#, no-c-format
msgid "The <literal><comment> element allows you to specify comments for the generated schema."
msgstr "<literal><comment> 元素可以让你在生成的 schema 中加入注释。"

#. Tag: para
#, no-c-format
msgid "This results in a <literal>comment on table or comment on column statement in the generated DDL where supported."
msgstr "结果是在生成的 DDL 中包含 <literal>comment on table 或者 comment on column 语句(假若支持的话)。 "

#. Tag: title
#, no-c-format
msgid "Running the tool"
msgstr "运行该工具"

#. Tag: para
#, no-c-format
msgid "The <literal>SchemaExport tool writes a DDL script to standard out and/or executes the DDL statements."
msgstr "<literal>SchemaExport 工具把 DDL 脚本写到标准输出,同时/或者执行 DDL 语句。"

#. Tag: para
#, no-c-format
msgid "The following table displays the <literal>SchemaExport command line options"
msgstr "下表显示了 <literal>SchemaExport 命令行选项"

#. Tag: para
#, no-c-format
msgid "<literal>java -cp hibernate_classpaths org.hibernate.tool.hbm2ddl.SchemaExport options mapping_files"
msgstr "<literal>java -cp hibernate_classpaths org.hibernate.tool.hbm2ddl.SchemaExport options mapping_files"

#. Tag: title
#, no-c-format
msgid "<literal>SchemaExport Command Line Options"
msgstr "<literal>SchemaExport 命令行选项"

#. Tag: entry
#, no-c-format
msgid "Option"
msgstr "选项"

#. Tag: entry
#, no-c-format
msgid "Description"
msgstr "描述"

#. Tag: entry
#, no-c-format
msgid "<literal>--quiet"
msgstr "<literal>--quiet"

#. Tag: entry
#, no-c-format
msgid "do not output the script to stdout"
msgstr "不要把脚本输出到 stdout "

#. Tag: entry
#, no-c-format
msgid "<literal>--drop"
msgstr "<literal>--drop"

#. Tag: entry
#, no-c-format
msgid "only drop the tables"
msgstr "只进行 drop tables 的步骤"

#. Tag: entry
#, no-c-format
msgid "<literal>--create"
msgstr "<literal>--create"

#. Tag: entry
#, no-c-format
msgid "only create the tables"
msgstr "只创建表"

#. Tag: entry
#, no-c-format
msgid "<literal>--text"
msgstr "<literal>--text"

#. Tag: entry
#, no-c-format
msgid "do not export to the database"
msgstr "不执行在数据库中运行的步骤 "

#. Tag: entry
#, no-c-format
msgid "<literal>--output=my_schema.ddl"
msgstr "<literal>--output=my_schema.ddl"

#. Tag: entry
#, no-c-format
msgid "output the ddl script to a file"
msgstr "把输出的 ddl 脚本输出到一个文件"

#. Tag: entry
#, no-c-format
msgid "<literal>--naming=eg.MyNamingStrategy"
msgstr "<literal>--naming=eg.MyNamingStrategy "

#. Tag: entry
#, no-c-format
msgid "select a <literal>NamingStrategy"
msgstr "选择 <literal>NamingStrategy"

#. Tag: entry
#, no-c-format
msgid "<literal>--config=hibernate.cfg.xml"
msgstr "<literal>--config=hibernate.cfg.xml"

#. Tag: entry
#, no-c-format
msgid "read Hibernate configuration from an XML file"
msgstr "从 XML 文件读入 Hibernate 配置"

#. Tag: entry
#, no-c-format
msgid "<literal>--properties=hibernate.properties"
msgstr "<literal>--properties=hibernate.properties"

#. Tag: entry
#, no-c-format
msgid "read database properties from a file"
msgstr "从文件读入数据库属性"

#. Tag: entry
#, no-c-format
msgid "<literal>--format"
msgstr "<literal>--format"

#. Tag: entry
#, no-c-format
msgid "format the generated SQL nicely in the script"
msgstr "把脚本中的 SQL 语句对齐和美化"

#. Tag: entry
#, no-c-format
msgid "<literal>--delimiter=;"
msgstr "<literal>--delimiter=;"

#. Tag: entry
#, no-c-format
msgid "set an end of line delimiter for the script"
msgstr "为脚本设置行结束符"

#. Tag: para
#, no-c-format
msgid "You can even embed <literal>SchemaExport in your application:"
msgstr "你甚至可以在你的应用程序中嵌入 <literal>SchemaExport 工具: "

#. Tag: title
#, no-c-format
msgid "Properties"
msgstr "属性(Properties)"

#. Tag: para
#, no-c-format
msgid "Database properties can be specified:"
msgstr "可以通过如下方式指定数据库属性: "

#. Tag: para
#, no-c-format
msgid "as system properties with <literal>-D<property>"
msgstr "通过 <literal>-D<property> 系统参数"

#. Tag: para
#, no-c-format
msgid "in <literal>hibernate.properties"
msgstr "在 <literal>hibernate.properties 文件中"

#. Tag: para
#, no-c-format
msgid "in a named properties file with <literal>--properties"
msgstr "位于一个其它名字的 properties 文件中,然后用 <literal>--properties 参数指定"

#. Tag: para
#, no-c-format
msgid "The needed properties are:"
msgstr "所需的参数包括:"

#. Tag: title
#, no-c-format
msgid "SchemaExport Connection Properties"
msgstr "SchemaExport 连接属性"

#. Tag: entry
#, no-c-format
msgid "Property Name"
msgstr "属性名"

#. Tag: entry
#, no-c-format
msgid "<literal>hibernate.connection.driver_class"
msgstr "<literal>hibernate.connection.driver_class"

#. Tag: entry
#, no-c-format
msgid "jdbc driver class"
msgstr "jdbc driver class"

#. Tag: entry
#, no-c-format
msgid "<literal>hibernate.connection.url"
msgstr "<literal>hibernate.connection.url"

#. Tag: entry
#, no-c-format
msgid "jdbc url"
msgstr "jdbc url"

#. Tag: entry
#, no-c-format
msgid "<literal>hibernate.connection.username"
msgstr "<literal>hibernate.connection.username"

#. Tag: entry
#, no-c-format
msgid "database user"
msgstr "database user"

#. Tag: entry
#, no-c-format
msgid "<literal>hibernate.connection.password"
msgstr "<literal>hibernate.connection.password"

#. Tag: entry
#, no-c-format
msgid "user password"
msgstr "user password"

#. Tag: entry
#, no-c-format
msgid "<literal>hibernate.dialect"
msgstr "<literal>hibernate.dialect"

#. Tag: entry
#, no-c-format
msgid "dialect"
msgstr "方言(dialect)"

#. Tag: title
#, no-c-format
msgid "Using Ant"
msgstr "使用 Ant(Using Ant)"

#. Tag: para
#, no-c-format
msgid "You can call <literal>SchemaExport from your Ant build script:"
msgstr "你可以在你的 Ant build 脚本中调用 <literal>SchemaExport:"

#. Tag: title
#, no-c-format
msgid "Incremental schema updates"
msgstr "对 schema 的增量更新(Incremental schema updates)"

#. Tag: para
#, no-c-format
msgid "The <literal>SchemaUpdate tool will update an existing schema with \"incremental\" changes. The SchemaUpdate depends upon the JDBC metadata API and, as such, will not work with all JDBC drivers."
msgstr "<literal>SchemaUpdate 工具对已存在的 schema 采用\"增量\"方式进行更新。注意 SchemaUpdate 严重依赖于 JDBC metadata API,所以它并非对所有 JDBC 驱动都有效。 "

#. Tag: para
#, no-c-format
msgid "<literal>java -cp hibernate_classpaths org.hibernate.tool.hbm2ddl.SchemaUpdate options mapping_files"
msgstr "<literal>java -cp hibernate_classpaths org.hibernate.tool.hbm2ddl.SchemaUpdate options mapping_files"

#. Tag: title
#, no-c-format
msgid "<literal>SchemaUpdate Command Line Options"
msgstr "<literal>SchemaUpdate 命令行选项"

#. Tag: entry
#, no-c-format
msgid "do not export the script to the database"
msgstr "不把脚本输出到数据库 "

#. Tag: entry
#, no-c-format
msgid "specify a <literal>.cfg.xml file"
msgstr "指定一个 <literal>.cfg.xml 文件"

#. Tag: para
#, no-c-format
msgid "You can embed <literal>SchemaUpdate in your application:"
msgstr "你可以在你的应用程序中嵌入 <literal>SchemaUpdate 工具: "

#. Tag: title
#, no-c-format
msgid "Using Ant for incremental schema updates"
msgstr "用 Ant 来增量更新 schema(Using Ant for incremental schema updates)"

#. Tag: para
#, no-c-format
msgid "You can call <literal>SchemaUpdate from the Ant script:"
msgstr "你可以在 Ant 脚本中调用 <literal>SchemaUpdate:"

#. Tag: title
#, no-c-format
msgid "Schema validation"
msgstr "Schema 校验"

#. Tag: para
#, no-c-format
msgid "The <literal>SchemaValidator tool will validate that the existing database schema \"matches\" your mapping documents. The SchemaValidator depends heavily upon the JDBC metadata API and, as such, will not work with all JDBC drivers. This tool is extremely useful for testing."
msgstr "<literal>SchemaValidator 工具会比较数据库现状是否与映射文档“匹配”。注意,SchemaValidator 严重依赖于 JDBC 的 metadata API,因此不是对所有的 JDBC 驱动都适用。这一工具在测试的时候特别有用。 "

#. Tag: para
#, no-c-format
msgid "<literal>java -cp hibernate_classpaths org.hibernate.tool.hbm2ddl.SchemaValidator options mapping_files"
msgstr "<literal>java -cp hibernate_classpaths org.hibernate.tool.hbm2ddl.SchemaValidator options mapping_files"

#. Tag: para
#, no-c-format
msgid "The following table displays the <literal>SchemaValidator command line options:"
msgstr "下表显示了 <literal>SchemaValidator 命令行参数:"

#. Tag: title
#, no-c-format
msgid "<literal>SchemaValidator Command Line Options"
msgstr "<literal>SchemaValidator 命令行参数"

#. Tag: para
#, no-c-format
msgid "You can embed <literal>SchemaValidator in your application:"
msgstr "你可以在你的应用程序中嵌入 <literal>SchemaValidator: "

#. Tag: title
#, no-c-format
msgid "Using Ant for schema validation"
msgstr "使用 Ant 进行 schema 校验"

#. Tag: para
#, no-c-format
msgid "You can call <literal>SchemaValidator from the Ant script:"
msgstr "你可以在 Ant 脚本中调用 <literal>SchemaValidator:"

#, fuzzy
#~ msgid "<![CDATA["
#~ msgstr "<property name=\"zip\" length=\"5\"/>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr "<property name=\"balance\" precision=\"12\" scale=\"2\"/>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<many-to-one name=\"bar\" column=\"barId\" not-null=\"true\"/>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<element column=\"serialNumber\" type=\"long\" not-null=\"true\" "
#~ "unique=\"true\"/>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<many-to-one name=\"org\" column=\"orgId\" unique-key=\"OrgEmployeeId"
#~ "\"/>\n"
#~ "<property name=\"employeeId\" unique-key=\"OrgEmployee\"/>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<property name=\"lastName\" index=\"CustName\"/>\n"
#~ "<property name=\"firstName\" index=\"CustName\"/>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<many-to-one name=\"bar\" column=\"barId\" foreign-key=\"FKFooBar\"/"
#~ ">"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<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>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<property name=\"credits\" type=\"integer\" insert=\"false\">\n"
#~ "    <column name=\"credits\" default=\"10\"/>\n"
#~ "</property>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<version name=\"version\" type=\"integer\" insert=\"false\">\n"
#~ "    <column name=\"version\" default=\"0\"/>\n"
#~ "</property>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<property name=\"balance\" type=\"float\">\n"
#~ "    <column name=\"balance\" sql-type=\"decimal(13,3)\"/>\n"
#~ "</property>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA[\n"
#~ "</property>]]>"
#~ msgstr ""
#~ "<property name=\"foo\" type=\"integer\">\n"
#~ "    <column name=\"foo\" check=\"foo > 10\"/>\n"
#~ "</property>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<class name=\"Foo\" table=\"foos\" check=\"bar < 100.0\">\n"
#~ "    ...\n"
#~ "    <property name=\"bar\" type=\"float\"/>\n"
#~ "</class>"
#~ msgid "length"
#~ msgstr "length"
#~ msgid "precision"
#~ msgstr "precision"
#~ msgid "scale"
#~ msgstr "scale"
#~ msgid "not-null"
#~ msgstr "not-null"
#~ msgid "true|false"
#~ msgstr "true|false"
#~ msgid "unique"
#~ msgstr "unique"
#~ msgid "index"
#~ msgstr "index"
#~ msgid "index_name"
#~ msgstr "index_name"
#~ msgid "unique-key"
#~ msgstr "unique-key"
#~ msgid "unique_key_name"
#~ msgstr "unique_key_name"
#~ msgid "foreign-key"
#~ msgstr "foreign-key"

#, fuzzy
#~ msgid "foreign_key_name"
#~ msgstr "foreign-key"
#~ msgid "sql-type"
#~ msgstr "sql-type"

#, fuzzy
#~ msgid "SQL column type"
#~ msgstr "<literal>SQL column type"
#~ msgid "default"
#~ msgstr "default"
#~ msgid "check"
#~ msgstr "check"

#, fuzzy
#~ msgid ""
#~ "<![CDATA[\n"
#~ "    ...\n"
#~ "</class>]]>"
#~ msgstr ""
#~ "<class name=\"Customer\" table=\"CurCust\">\n"
#~ "    <comment>Current customers only</comment>\n"
#~ "    ...\n"
#~ "</class>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA[\n"
#~ "    </column>\n"
#~ "</property>]]>"
#~ msgstr ""
#~ "<property name=\"balance\">\n"
#~ "    <column name=\"bal\">\n"
#~ "        <comment>Balance in USD</comment>\n"
#~ "    </column>\n"
#~ "</property>"
#~ msgid "--quiet"
#~ msgstr "--quiet"
#~ msgid "--drop"
#~ msgstr "--drop"
#~ msgid "--create"
#~ msgstr "--create"
#~ msgid "--text"
#~ msgstr "--text"

#, fuzzy
#~ msgid "--output=my_schema.ddl"
#~ msgstr "<literal>--output=my_schema.ddl"

#, fuzzy
#~ msgid "--config=hibernate.cfg.xml"
#~ msgstr "<literal>--config=hibernate.cfg.xml"
#~ msgid "--properties=hibernate.properties"
#~ msgstr "--properties=hibernate.properties"
#~ msgid "--format"
#~ msgstr "--format"
#~ msgid "--delimiter=;"
#~ msgstr "--delimiter=;"

#, fuzzy
#~ msgid ""
#~ "<![CDATA[Configuration cfg = ....;\n"
#~ "new SchemaExport(cfg).create(false, true);]]>"
#~ msgstr ""
#~ "Configuration cfg = ....;\n"
#~ "new SchemaExport(cfg).create(false, true);"

#, fuzzy
#~ msgid "hibernate.connection.driver_class"
#~ msgstr "hibernate.connection.url"
#~ msgid "hibernate.connection.url"
#~ msgstr "hibernate.connection.url"
#~ msgid "hibernate.connection.username"
#~ msgstr "hibernate.connection.username"
#~ msgid "hibernate.connection.password"
#~ msgstr "hibernate.connection.password"
#~ msgid "hibernate.dialect"
#~ msgstr "hibernate.dialect"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<target name=\"schemaexport\">\n"
#~ "    <taskdef name=\"schemaexport\"\n"
#~ "        classname=\"org.hibernate.tool.hbm2ddl.SchemaExportTask\"\n"
#~ "        classpathref=\"class.path\"/>\n"
#~ "    \n"
#~ "    <schemaexport\n"
#~ "        properties=\"hibernate.properties\"\n"
#~ "        quiet=\"no\"\n"
#~ "        text=\"no\"\n"
#~ "        drop=\"no\"\n"
#~ "        delimiter=\";\"\n"
#~ "        output=\"schema-export.sql\">\n"
#~ "        <fileset dir=\"src\">\n"
#~ "            <include name=\"**/*.hbm.xml\"/>\n"
#~ "        </fileset>\n"
#~ "    </schemaexport>\n"
#~ "</target>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA[Configuration cfg = ....;\n"
#~ "new SchemaUpdate(cfg).execute(false);]]>"
#~ msgstr ""
#~ "Configuration cfg = ....;\n"
#~ "new SchemaUpdate(cfg).execute(false);"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<target name=\"schemaupdate\">\n"
#~ "    <taskdef name=\"schemaupdate\"\n"
#~ "        classname=\"org.hibernate.tool.hbm2ddl.SchemaUpdateTask\"\n"
#~ "        classpathref=\"class.path\"/>\n"
#~ "    \n"
#~ "    <schemaupdate\n"
#~ "        properties=\"hibernate.properties\"\n"
#~ "        quiet=\"no\">\n"
#~ "        <fileset dir=\"src\">\n"
#~ "            <include name=\"**/*.hbm.xml\"/>\n"
#~ "        </fileset>\n"
#~ "    </schemaupdate>\n"
#~ "</target>"

#, fuzzy
#~ msgid ""
#~ "<![CDATA[Configuration cfg = ....;\n"
#~ "new SchemaValidator(cfg).validate();]]>"
#~ msgstr ""
#~ "Configuration cfg = ....;\n"
#~ "new SchemaValidator(cfg).validate();"

#, fuzzy
#~ msgid ""
#~ "<![CDATA["
#~ msgstr ""
#~ "<target name=\"schemavalidate\">\n"
#~ "    <taskdef name=\"schemavalidator\"\n"
#~ "        classname=\"org.hibernate.tool.hbm2ddl.SchemaValidatorTask\"\n"
#~ "        classpathref=\"class.path\"/>\n"
#~ "    \n"
#~ "    <schemavalidator\n"
#~ "        properties=\"hibernate.properties\">\n"
#~ "        <fileset dir=\"src\">\n"
#~ "            <include name=\"**/*.hbm.xml\"/>\n"
#~ "        </fileset>\n"
#~ "    </schemaupdate>\n"
#~ "</target>"
#~ msgid "<!--  -->"
#~ msgstr "<!--  -->"

Other Hibernate examples (source code examples)

Here is a short list of links related to this Hibernate toolset_guide.po source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.