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

📄 toolset_guide.po

📁 hibernate 开源框架的代码 jar包希望大家能喜欢
💻 PO
📖 第 1 页 / 共 3 页
字号:
msgid "set an end of line delimiter for the script"msgstr "为脚本设置行结束符"#. Tag: para#: toolset_guide.xml:328#, no-c-formatmsgid "You may even embed <literal>SchemaExport</literal> in your application:"msgstr "你甚至可以在你的应用程序中嵌入<literal>SchemaExport</literal>工具:"#. Tag: programlisting#: toolset_guide.xml:332#, no-c-formatmsgid """<![CDATA[Configuration cfg = ....;\n""new SchemaExport(cfg).create(false, true);]]>"msgstr ""#. Tag: title#: toolset_guide.xml:337#, no-c-formatmsgid "Properties"msgstr "属性(Properties)"#. Tag: para#: toolset_guide.xml:339#, no-c-formatmsgid "Database properties may be specified"msgstr "可以通过如下方式指定数据库属性:"#. Tag: para#: toolset_guide.xml:345#, no-c-formatmsgid """as system properties with <literal>-D</literal><emphasis>&lt;property&gt;</""emphasis>"msgstr "通过<literal>-D</literal><emphasis>&lt;property&gt;</emphasis>系统参数"#. Tag: para#: toolset_guide.xml:348#, no-c-formatmsgid "in <literal>hibernate.properties</literal>"msgstr "在<literal>hibernate.properties</literal>文件中"#. Tag: para#: toolset_guide.xml:351#, no-c-formatmsgid "in a named properties file with <literal>--properties</literal>"msgstr """位于一个其它名字的properties文件中,然后用 <literal>--properties</literal>参数""指定"#. Tag: para#: toolset_guide.xml:355#, no-c-formatmsgid "The needed properties are:"msgstr "所需的参数包括:"#. Tag: title#: toolset_guide.xml:360#, no-c-formatmsgid "SchemaExport Connection Properties"msgstr "SchemaExport 连接属性"#. Tag: entry#: toolset_guide.xml:366#, no-c-formatmsgid "Property Name"msgstr "属性名"#. Tag: literal#: toolset_guide.xml:372#, no-c-formatmsgid "hibernate.connection.driver_class"msgstr "hibernate.connection.driver_class"#. Tag: entry#: toolset_guide.xml:373#, no-c-formatmsgid "jdbc driver class"msgstr "jdbc driver class"#. Tag: literal#: toolset_guide.xml:376#, no-c-formatmsgid "hibernate.connection.url"msgstr "hibernate.connection.url"#. Tag: entry#: toolset_guide.xml:377#, no-c-formatmsgid "jdbc url"msgstr "jdbc url"#. Tag: literal#: toolset_guide.xml:380#, no-c-formatmsgid "hibernate.connection.username"msgstr "hibernate.connection.username"#. Tag: entry#: toolset_guide.xml:381#, no-c-formatmsgid "database user"msgstr "database user"#. Tag: literal#: toolset_guide.xml:384#, no-c-formatmsgid "hibernate.connection.password"msgstr "hibernate.connection.password"#. Tag: entry#: toolset_guide.xml:385#, no-c-formatmsgid "user password"msgstr "user password"#. Tag: literal#: toolset_guide.xml:388#, no-c-formatmsgid "hibernate.dialect"msgstr "hibernate.dialect"#. Tag: entry#: toolset_guide.xml:389#, no-c-formatmsgid "dialect"msgstr "方言(dialect)"#. Tag: title#: toolset_guide.xml:398#, no-c-formatmsgid "Using Ant"msgstr "使用Ant(Using Ant)"#. Tag: para#: toolset_guide.xml:400#, no-c-formatmsgid """You can call <literal>SchemaExport</literal> from your Ant build script:"msgstr "你可以在你的Ant build脚本中调用<literal>SchemaExport</literal>:"#. Tag: programlisting#: toolset_guide.xml:404#, no-c-formatmsgid """<![CDATA[<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>]]>"msgstr ""#. Tag: title#: toolset_guide.xml:409#, no-c-formatmsgid "Incremental schema updates"msgstr "对schema的增量更新(Incremental schema updates)"#. Tag: para#: toolset_guide.xml:411#, no-c-formatmsgid """The <literal>SchemaUpdate</literal> tool will update an existing schema with ""\"incremental\" changes. Note that <literal>SchemaUpdate</literal> depends ""heavily upon the JDBC metadata API, so it will not work with all JDBC ""drivers."msgstr """<literal>SchemaUpdate</literal>工具对已存在的schema采用\"增量\"方式进行更新。""注意<literal>SchemaUpdate</literal>严重依赖于JDBC metadata API,所以它并非对所""有JDBC驱动都有效。"#. Tag: para#: toolset_guide.xml:417#, no-c-formatmsgid """<literal>java -cp </literal><emphasis>hibernate_classpaths</emphasis> ""<literal>org.hibernate.tool.hbm2ddl.SchemaUpdate</literal> <emphasis>options ""mapping_files</emphasis>"msgstr ""#. Tag: title#: toolset_guide.xml:423#, no-c-formatmsgid "<literal>SchemaUpdate</literal> Command Line Options"msgstr "<literal>SchemaUpdate</literal>命令行选项"#. Tag: entry#: toolset_guide.xml:440#, no-c-formatmsgid "don't export the script to the database"msgstr "不把脚本输出到数据库"#. Tag: entry#: toolset_guide.xml:452 toolset_guide.xml:513#, fuzzy, no-c-formatmsgid "specify a <literal>.cfg.xml</literal> file"msgstr """#-#-#-#-#  - (PACKAGE VERSION)  #-#-#-#-#\n""指定一个 <placeholder-1/>文件\n""#-#-#-#-#  - (PACKAGE VERSION)  #-#-#-#-#\n""指定一个<placeholder-1/>文件"#. Tag: para#: toolset_guide.xml:458#, no-c-formatmsgid "You may embed <literal>SchemaUpdate</literal> in your application:"msgstr "你可以在你的应用程序中嵌入<literal>SchemaUpdate</literal>工具:"#. Tag: programlisting#: toolset_guide.xml:462#, no-c-formatmsgid """<![CDATA[Configuration cfg = ....;\n""new SchemaUpdate(cfg).execute(false);]]>"msgstr ""#. Tag: title#: toolset_guide.xml:467#, no-c-formatmsgid "Using Ant for incremental schema updates"msgstr "用Ant来增量更新schema(Using Ant for incremental schema updates)"#. Tag: para#: toolset_guide.xml:469#, no-c-formatmsgid "You can call <literal>SchemaUpdate</literal> from the Ant script:"msgstr "你可以在Ant脚本中调用<literal>SchemaUpdate</literal>:"#. Tag: programlisting#: toolset_guide.xml:473#, no-c-formatmsgid """<![CDATA[<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>]]>"msgstr ""#. Tag: title#: toolset_guide.xml:478#, no-c-formatmsgid "Schema validation"msgstr "Schema 校验"#. Tag: para#: toolset_guide.xml:480#, no-c-formatmsgid """The <literal>SchemaValidator</literal> tool will validate that the existing ""database schema \"matches\" your mapping documents. Note that ""<literal>SchemaValidator</literal> depends heavily upon the JDBC metadata ""API, so it will not work with all JDBC drivers. This tool is extremely ""useful for testing."msgstr """<literal>SchemaValidator</literal>工具会比较数据库现状是否与映射文档“匹配”。""注意,<literal>SchemaValidator</literal> 严重依赖于JDBC的metadata API,因此不""是对所有的JDBC驱动都适用。这一工具在测试的时候特别有用。"#. Tag: para#: toolset_guide.xml:486#, no-c-formatmsgid """<literal>java -cp </literal><emphasis>hibernate_classpaths</emphasis> ""<literal>org.hibernate.tool.hbm2ddl.SchemaValidator</literal> ""<emphasis>options mapping_files</emphasis>"msgstr ""#. Tag: title#: toolset_guide.xml:492#, no-c-formatmsgid "<literal>SchemaValidator</literal> Command Line Options"msgstr "<literal>SchemaValidator</literal>命令行参数"#. Tag: para#: toolset_guide.xml:519#, no-c-formatmsgid "You may embed <literal>SchemaValidator</literal> in your application:"msgstr "你可以在你的应用程序中嵌入<literal>SchemaValidator</literal>:"#. Tag: programlisting#: toolset_guide.xml:523#, no-c-formatmsgid """<![CDATA[Configuration cfg = ....;\n""new SchemaValidator(cfg).validate();]]>"msgstr ""#. Tag: title#: toolset_guide.xml:528#, no-c-formatmsgid "Using Ant for schema validation"msgstr "使用Ant进行schema校验"#. Tag: para#: toolset_guide.xml:530#, no-c-formatmsgid "You can call <literal>SchemaValidator</literal> from the Ant script:"msgstr "你可以在Ant脚本中调用<literal>SchemaValidator</literal>:"#. Tag: programlisting#: toolset_guide.xml:534#, no-c-formatmsgid """<![CDATA[<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""    </schemavalidator>\n""</target>]]>"msgstr ""#~ msgid "&lt;one-to-one&gt;"#~ msgstr "&lt;one-to-one&gt;"#~ msgid "&lt;many-to-one&gt;"#~ msgstr "&lt;many-to-one&gt;"#~ msgid "&lt;key&gt;"#~ msgstr "&lt;key&gt;"#~ msgid "&lt;many-to-many&gt;"#~ msgstr "&lt;many-to-many&gt;"#~ msgid "inverse=\"true\""#~ msgstr "inverse=\"true\""#~ msgid "SchemaExport"#~ msgstr "SchemaExport"#~ msgid "&lt;column&gt;"#~ msgstr "&lt;column&gt;"#~ msgid "java -cp"#~ msgstr "java -cp"#~ msgid "hibernate_classpaths"#~ msgstr "hibernate_classpaths"#~ msgid "org.hibernate.tool.hbm2ddl.SchemaExport"#~ msgstr "org.hibernate.tool.hbm2ddl.SchemaExport"#~ msgid "options mapping_files"#~ msgstr "options mapping_files"#~ msgid "NamingStrategy"#~ msgstr "NamingStrategy"#, fuzzy#~ msgid "select a <placeholder-1/>"#~ msgstr ""#~ "#-#-#-#-#  - (PACKAGE VERSION)  #-#-#-#-#\n"#~ "选择一个命名策略(<placeholder-1/>)\n"#~ "#-#-#-#-#  - (PACKAGE VERSION)  #-#-#-#-#\n"#~ "选择一个命名策略 (<placeholder-1/>)\n"#~ "#-#-#-#-#  - (PACKAGE VERSION)  #-#-#-#-#\n"#~ "选择一个命名策略 (<placeholder-1/>)"#~ msgid "org.hibernate.tool.hbm2ddl.SchemaUpdate"#~ msgstr "org.hibernate.tool.hbm2ddl.SchemaUpdate"#~ msgid ".cfg.xml"#~ msgstr ".cfg.xml"#~ msgid "org.hibernate.tool.hbm2ddl.SchemaValidator"#~ msgstr "org.hibernate.tool.hbm2ddl.SchemaValidator"

⌨️ 快捷键说明

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