📄 configuration.po
字号:
msgstr "数据库用户密码"#. Tag: literal#: configuration.xml:192#, no-c-formatmsgid "hibernate.connection.pool_size"msgstr "hibernate.connection.pool_size"#. Tag: emphasis#: configuration.xml:195#, no-c-formatmsgid "maximum number of pooled connections"msgstr "连接池容量上限数目"#. Tag: para#: configuration.xml:202#, no-c-formatmsgid """Hibernate's own connection pooling algorithm is however quite rudimentary. ""It is intended to help you get started and is <emphasis>not intended for use ""in a production system</emphasis> or even for performance testing. You ""should use a third party pool for best performance and stability. Just ""replace the <literal>hibernate.connection.pool_size</literal> property with ""connection pool specific settings. This will turn off Hibernate's internal ""pool. For example, you might like to use C3P0."msgstr """但Hibernate自带的连接池算法相当不成熟. 它只是为了让你快些上手<emphasis>,并不""适合用于产品系统</emphasis>或性能测试中。 出于最佳性能和稳定性考虑你应该使用""第三方的连接池。只需要用特定连接池的设置替换 <literal>hibernate.connection.""pool_size</literal>即可。这将关闭Hibernate自带的连接池. 例如, 你可能会想用""C3P0."#. Tag: para#: configuration.xml:212#, no-c-formatmsgid """C3P0 is an open source JDBC connection pool distributed along with Hibernate ""in the <literal>lib</literal> directory. Hibernate will use its ""<literal>C3P0ConnectionProvider</literal> for connection pooling if you set ""<literal>hibernate.c3p0.*</literal> properties. If you'd like to use Proxool ""refer to the packaged <literal>hibernate.properties</literal> and the ""Hibernate web site for more information."msgstr """C3P0是一个随Hibernate一同分发的开源的JDBC连接池, 它位于<literal>lib</literal>""目录下。 如果你设置了<literal>hibernate.c3p0.*</literal>相关的属性, Hibernate""将使用 <literal>C3P0ConnectionProvider</literal>来缓存JDBC连接. 如果你更原意""使用Proxool, 请参考发 行包中的<literal>hibernate.properties</literal>并到""Hibernate网站获取更多的信息."#. Tag: para#: configuration.xml:221#, no-c-formatmsgid """Here is an example <literal>hibernate.properties</literal> file for C3P0:"msgstr "这是一个使用C3P0的<literal>hibernate.properties</literal>样例文件:"#. Tag: programlisting#: configuration.xml:225#, no-c-formatmsgid """<![CDATA[hibernate.connection.driver_class = org.postgresql.Driver\n""hibernate.connection.url = jdbc:postgresql://localhost/mydatabase\n""hibernate.connection.username = myuser\n""hibernate.connection.password = secret\n""hibernate.c3p0.min_size=5\n""hibernate.c3p0.max_size=20\n""hibernate.c3p0.timeout=1800\n""hibernate.c3p0.max_statements=50\n""hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect]]>"msgstr ""#. Tag: para#: configuration.xml:227#, no-c-formatmsgid """For use inside an application server, you should almost always configure ""Hibernate to obtain connections from an application server ""<literal>Datasource</literal> registered in JNDI. You'll need to set at ""least one of the following properties:"msgstr """为了能在应用程序服务器(application server)中使用Hibernate, 应当总是将""Hibernate 配置成从注册在JNDI中的<literal>Datasource</literal>处获得连接,你至""少需要设置下列属性中的一个:"#. Tag: title#: configuration.xml:235#, no-c-formatmsgid "Hibernate Datasource Properties"msgstr "Hibernate数据源属性"#. Tag: literal#: configuration.xml:248#, no-c-formatmsgid "hibernate.connection.datasource"msgstr "hibernate.connection.datasource"#. Tag: emphasis#: configuration.xml:251#, no-c-formatmsgid "datasource JNDI name"msgstr "数据源JNDI名字"#. Tag: literal#: configuration.xml:256#, no-c-formatmsgid "hibernate.jndi.url"msgstr "hibernate.jndi.url"#. Tag: entry#: configuration.xml:258#, fuzzy, no-c-formatmsgid "<emphasis>URL of the JNDI provider</emphasis> (optional)"msgstr "JNDI提供者的URL"#. Tag: literal#: configuration.xml:264#, no-c-formatmsgid "hibernate.jndi.class"msgstr "hibernate.jndi.class"#. Tag: entry#: configuration.xml:266#, no-c-formatmsgid """<emphasis>class of the JNDI <literal>InitialContextFactory</literal></""emphasis> (optional)"msgstr ""#. Tag: entry#: configuration.xml:274#, no-c-formatmsgid "<emphasis>database user</emphasis> (optional)"msgstr ""#. Tag: entry#: configuration.xml:282#, no-c-formatmsgid "<emphasis>database user password</emphasis> (optional)"msgstr ""#. Tag: para#: configuration.xml:290#, no-c-formatmsgid """Here's an example <literal>hibernate.properties</literal> file for an ""application server provided JNDI datasource:"msgstr """这是一个使用应用程序服务器提供的JNDI数据源的<literal>hibernate.properties</""literal>样例文件:"#. Tag: programlisting#: configuration.xml:295#, no-c-formatmsgid """<![CDATA[hibernate.connection.datasource = java:/comp/env/jdbc/test\n""hibernate.transaction.factory_class = \\\n"" org.hibernate.transaction.JTATransactionFactory\n""hibernate.transaction.manager_lookup_class = \\\n"" org.hibernate.transaction.JBossTransactionManagerLookup\n""hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect]]>"msgstr ""#. Tag: para#: configuration.xml:297#, no-c-formatmsgid """JDBC connections obtained from a JNDI datasource will automatically ""participate in the container-managed transactions of the application server."msgstr """从JNDI数据源获得的JDBC连接将自动参与到应用程序服务器中容器管理的事务""(container-managed transactions)中去."#. Tag: para#: configuration.xml:302#, no-c-formatmsgid """Arbitrary connection properties may be given by prepending ""\"<literal>hibernate.connection</literal>\" to the property name. For ""example, you may specify a <literal>charSet</literal> using ""<literal>hibernate.connection.charSet</literal>."msgstr """任何连接(connection)属性的属性名都要以\"<literal>hibernate.connnection</""literal>\"开头. 例如, 你可能会使用<literal>hibernate.connection.charSet</""literal>来指定字符集<literal>charSet</literal>."#. Tag: para#: configuration.xml:308#, no-c-formatmsgid """You may define your own plugin strategy for obtaining JDBC connections by ""implementing the interface <literal>org.hibernate.connection.""ConnectionProvider</literal>. You may select a custom implementation by ""setting <literal>hibernate.connection.provider_class</literal>."msgstr """通过实现<literal>org.hibernate.connection.ConnectionProvider</literal>接口,""你可以定义属于 你自己的获得JDBC连接的插件策略。通过设置<literal>hibernate.""connection.provider_class</literal>, 你可以选择一个自定义的实现."#. Tag: title#: configuration.xml:317#, no-c-formatmsgid "Optional configuration properties"msgstr "可选的配置属性"#. Tag: para#: configuration.xml:319#, no-c-formatmsgid """There are a number of other properties that control the behaviour of ""Hibernate at runtime. All are optional and have reasonable default values."msgstr """有大量属性能用来控制Hibernate在运行期的行为. 它们都是可选的, 并拥有适当的默认""值."#. Tag: para#: configuration.xml:324#, no-c-formatmsgid """<emphasis>Warning: some of these properties are \"system-level\" only.</""emphasis> System-level properties can be set only via <literal>java -""Dproperty=value</literal> or <literal>hibernate.properties</literal>. They ""may <emphasis>not</emphasis> be set by the other techniques described above."msgstr """<emphasis>警告: 其中一些属性是\"系统级(system-level)的\".</emphasis> 系统级属""性只能通过<literal>java -Dproperty=value</literal>或 <literal>hibernate.""properties</literal>来设置, 而<emphasis>不能</emphasis>用上面描述的其他方法来""设置."#. Tag: title#: configuration.xml:332#, no-c-formatmsgid "Hibernate Configuration Properties"msgstr "Hibernate配置属性"#. Tag: literal#: configuration.xml:345#, no-c-formatmsgid "hibernate.dialect"msgstr "hibernate.dialect"#. Tag: entry#: configuration.xml:347#, fuzzy, no-c-formatmsgid """The classname of a Hibernate <literal>Dialect</literal> which allows ""Hibernate to generate SQL optimized for a particular relational database."msgstr """一个Hibernate <placeholder-1/>类名允许Hibernate针对特定的关系数据库生成优化的""SQL. <placeholder-2/>"#. Tag: para#: configuration.xml:351#, fuzzy, no-c-formatmsgid """<emphasis role=\"strong\">eg.</emphasis> <literal>full.classname.of.Dialect</""literal>"msgstr """#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<emphasis role=\"strong\">eg.</emphasis><literal>true</literal> | ""<literal>false</literal>\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<emphasis role=\"strong\">取值</emphasis><literal>true</literal> | ""<literal>false</literal>\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<emphasis role=\"strong\">取值</emphasis><literal>true</literal> | ""<literal>false</literal>\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<emphasis role=\"strong\">取值</emphasis><literal>true</literal> | ""<literal>false</literal>\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<emphasis role=\"strong\">取值</emphasis><literal>true</literal> | ""<literal>false</literal>\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<emphasis role=\"strong\">取值</emphasis><literal>true</literal> | ""<literal>false</literal>\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<emphasis role=\"strong\">eg.</emphasis><literal>true</literal> | ""<literal>false</literal>\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<emphasis role=\"strong\">取值</emphasis><literal>true</literal> | ""<literal>false</literal>\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<emphasis role=\"strong\">取值</emphasis><literal>true</literal> | ""<literal>false</literal>\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<emphasis role=\"strong\">取值</emphasis><literal>true</literal> | ""<literal>false</literal>\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<emphasis role=\"strong\">取值</emphasis><literal>true</literal> | ""<literal>false</literal>\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<emphasis role=\"strong\">取值</emphasis><literal>true</literal> | ""<literal>false</literal>\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<emphasis role=\"strong\">取值</emphasis><literal>true</literal> | ""<literal>false</literal>"#. Tag: literal#: configuration.xml:359#, no-c-formatmsgid "hibernate.show_sql"msgstr "hibernate.show_sql"#. Tag: entry#: configuration.xml:361#, fuzzy, no-c-formatmsgid """Write all SQL statements to console. This is an alternative to setting the ""log category <literal>org.hibernate.SQL</literal> to <literal>debug</""literal>."msgstr """输出所有SQL语句到控制台. 有一个另外的选择是把<placeholder-1/>这个log category""设为<placeholder-2/>。 <placeholder-3/>"#. Tag: para#: configuration.xml:365 configuration.xml:377 configuration.xml:471#: configuration.xml:484 configuration.xml:497 configuration.xml:510#: configuration.xml:564 configuration.xml:591 configuration.xml:605#: configuration.xml:660 configuration.xml:888 configuration.xml:903#: configuration.xml:993#, fuzzy, no-c-formatmsgid """<emphasis role=\"strong\">eg.</emphasis> <literal>true</literal> | ""<literal>false</literal>"msgstr """#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<emphasis role=\"strong\">eg.</emphasis><literal>true</literal> | ""<literal>false</literal>\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<emphasis role=\"strong\">取值</emphasis><literal>true</literal> | ""<literal>false</literal>\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<emphasis role=\"strong\">取值</emphasis><literal>true</literal> | ""<literal>false</literal>\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<emphasis role=\"strong\">取值</emphasis><literal>true</literal> | ""<literal>false</literal>\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<emphasis role=\"strong\">取值</emphasis><literal>true</literal> | ""<literal>false</literal>\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<emphasis role=\"strong\">取值</emphasis><literal>true</literal> | ""<literal>false</literal>\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<emphasis role=\"strong\">eg.</emphasis><literal>true</literal> | ""<literal>false</literal>\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<emphasis role=\"strong\">取值</emphasis><literal>true</literal> | ""<literal>false</literal>\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<emphasis role=\"strong\">取值</emphasis><literal>true</literal> | ""<literal>false</literal>\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<emphasis role=\"strong\">取值</emphasis><literal>true</literal> | ""<literal>false</literal>\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<emphasis role=\"strong\">取值</emphasis><literal>true</literal> | ""<literal>false</literal>\n"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -