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

📄 toolset_guide.po

📁 hibernate 开源框架的代码 jar包希望大家能喜欢
💻 PO
📖 第 1 页 / 共 3 页
字号:
#. Tag: entry#: toolset_guide.xml:322#, no-c-formatmsgid "set an end of line delimiter for the script"msgstr "set an end of line delimiter for the script"#. Tag: para#: toolset_guide.xml:328#, no-c-formatmsgid "You may even embed <literal>SchemaExport</literal> in your application:"msgstr """You may even embed <literal>SchemaExport</literal> in your application:"#. 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 "Database properties may be specified"#. Tag: para#: toolset_guide.xml:345#, no-c-formatmsgid """as system properties with <literal>-D</literal><emphasis>&lt;property&gt;</""emphasis>"msgstr """as system properties with <literal>-D</literal><emphasis>&lt;property&gt;</""emphasis>"#. Tag: para#: toolset_guide.xml:348#, no-c-formatmsgid "in <literal>hibernate.properties</literal>"msgstr "in <literal>hibernate.properties</literal>"#. Tag: para#: toolset_guide.xml:351#, no-c-formatmsgid "in a named properties file with <literal>--properties</literal>"msgstr "in a named properties file with <literal>--properties</literal>"#. Tag: para#: toolset_guide.xml:355#, no-c-formatmsgid "The needed properties are:"msgstr "The needed properties are:"#. Tag: title#: toolset_guide.xml:360#, no-c-formatmsgid "SchemaExport Connection Properties"msgstr "SchemaExport Connection Properties"#. Tag: entry#: toolset_guide.xml:366#, no-c-formatmsgid "Property Name"msgstr "Property Name"#. 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 "Using Ant"#. Tag: para#: toolset_guide.xml:400#, no-c-formatmsgid """You can call <literal>SchemaExport</literal> from your Ant build script:"msgstr """You can call <literal>SchemaExport</literal> from your Ant build script:"#. 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 "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 """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."#. 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> Command Line Options"#. Tag: entry#: toolset_guide.xml:440#, no-c-formatmsgid "don't export the script to the database"msgstr "don't export the script to the database"#. Tag: entry#: toolset_guide.xml:452 toolset_guide.xml:513#, fuzzy, no-c-formatmsgid "specify a <literal>.cfg.xml</literal> file"msgstr "specify a <placeholder-1/> file"#. Tag: para#: toolset_guide.xml:458#, no-c-formatmsgid "You may embed <literal>SchemaUpdate</literal> in your application:"msgstr "You may embed <literal>SchemaUpdate</literal> in your application:"#. 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 "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 "You can call <literal>SchemaUpdate</literal> from the Ant script:"#. 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 validation"#. 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 """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."#. 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> Command Line Options"#. Tag: para#: toolset_guide.xml:519#, no-c-formatmsgid "You may embed <literal>SchemaValidator</literal> in your application:"msgstr "You may embed <literal>SchemaValidator</literal> in your application:"#. 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 "Using Ant for schema validation"#. Tag: para#: toolset_guide.xml:530#, no-c-formatmsgid "You can call <literal>SchemaValidator</literal> from the Ant script:"msgstr "You can call <literal>SchemaValidator</literal> from the Ant script:"#. 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"#~ msgid "select a <placeholder-1/>"#~ msgstr "select a <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 + -