📄 architecture.po
字号:
"Tiene una identidad persistente y, quizás, una fila correspondiente ""en la base de datos. Para las instancias separadas, Hibernate no establece ""ninguna garantía sobre la relación entre identidad persistente ""e identidad Java."#: index.docbook:229msgid "JMX Integration"msgstr "Integración JMX"#: index.docbook:231msgid """JMX is the J2EE standard for management of Java components. Hibernate may be ""managed via a JMX standard service. We provide an MBean implementation in ""the distribution, <literal>org.hibernate.jmx.HibernateService</literal>."msgstr """JMX es el estándar J2EE para la gestión de componentes Java. ""Hibernate puede ser gestionado por medio de un servicio estándar JMX. ""Proveemos una implementación de MBean en la distribución, ""<literal>org.hibernate.jmx.HibernateService</literal>."#: index.docbook:237msgid """For an example how to deploy Hibernate as a JMX service on the JBoss ""Application Server, please see the JBoss User Guide. On JBoss AS, you also ""get these benefits if you deploy using JMX:"msgstr """Para ejemplo de cómo desplegar Hibernate como un servicio JMX en un ""Servidor de Aplicaciones JBoss, por favor, mira la Guía del Usuario ""de JBoss. En JBoss AS, tienes además estos beneficios si despliegas ""usando JMX:"#: index.docbook:245msgid """<emphasis>Session Management:</emphasis> The Hibernate <literal>Session</""literal>'s life cycle can be automatically bound to the scope of a JTA ""transaction. This means you no longer have to manually open and close the ""<literal>Session</literal>, this becomes the job of a JBoss EJB interceptor. ""You also don't have to worry about transaction demarcation in your code ""anymore (unless you'd like to write a portable persistence layer of course, ""use the optional Hibernate <literal>Transaction</literal> API for this). You ""call the <literal>HibernateContext</literal> to access a <literal>Session</""literal>."msgstr """<emphasis>Gestión de Sesión:</emphasis> El ciclo de vida de la ""<literal>Session</literal> de Hibernate puede estar automáticamente ""ligado al ámbito de una transacción JTA. Esto significa que ya ""no tienes que abrir ni cerrar la <literal>Session</literal> manualmente, ""esto pasa a ser trabajo de un interceptor EJB de JBoss. Además ""tampoco tienes que preocuparte más de la demarcación de la ""transacción (a menos que que quieras escribir una capa de persitencia ""portable, por supuesto, usa la API de <literal>Transaction</literal> de ""Hibernate para esto). Para acceder a una <literal>Session</literal> llama al ""<literal>HibernateContext</literal>."#: index.docbook:257msgid """<emphasis>HAR deployment:</emphasis> Usually you deploy the Hibernate JMX ""service using a JBoss service deployment descriptor (in an EAR and/or SAR ""file), it supports all the usual configuration options of a Hibernate ""<literal>SessionFactory</literal>. However, you still have to name all your ""mapping files in the deployment descriptor. If you decide to use the ""optional HAR deployment, JBoss will automatically detect all mapping files ""in your HAR file."msgstr """<emphasis>Despliegue de HAR:</emphasis> Usualmente despliegas el servicio ""JMX de Hibernate usando un descriptor de despliegue de servicio de JBoss (en ""un fichero EAR y/o SAR), que soporta todas las opciones de ""configuración usuales de una <literal>SessionFactory</literal> de ""Hibernate. Sin embargo, todavía tienes que nombrar todos tus ficheros ""de mapeo en el descriptor de despliegue. Si decides usar el depliegue de HAR ""opcional, JBoss detectará automáticamente todos los ficheros ""de mapeo en tu fichero HAR."#: index.docbook:268msgid """Consult the JBoss AS user guide for more information about these options."msgstr """Para más información sobre estas opciones, consulta la ""Guía de Usuario del JBoss AS."#: index.docbook:272msgid """Another feature available as a JMX service are runtime Hibernate statistics. ""See <xref linkend=\"configuration-optional-statistics\"/>."msgstr """Otra funcionalidad disponible como un servicio JMX son las estadí""sticas en tiempo de ejecución de Hibernate. Mira <xref linkend=""\"configuration-optional-statistics\"/>."#: index.docbook:279msgid "JCA Support"msgstr "Soporte JCA:"#: index.docbook:280msgid """Hibernate may also be configured as a JCA connector. Please see the website ""for more details. Please note that Hibernate JCA support is still considered ""experimental."msgstr """Hiberate puede además ser configurado como un conector JCA. Por favor ""mira el sitio web para más detalles. Por favor ten en cuenta que el ""soporte de JCA de Hibernate está aún considerado experimental."#: index.docbook:287msgid "Contextual Sessions"msgstr "UNTRANSLATED! Contextual Sessions"#: index.docbook:288msgid """Most applications using Hibernate need some form of \"contextual\" sessions, ""where a given session is in effect throughout the scope of a given context. ""However, across applications the definition of what constitutes a context is ""typically different; and different contexts define different scopes to the ""notion of current. Applications using Hibernate prior to version 3.0 tended ""to utilize either home-grown <literal>ThreadLocal</literal>-based contextual ""sessions, helper classes such as <literal>HibernateUtil</literal>, or ""utilized third-party frameworks (such as Spring or Pico) which provided ""proxy/interception-based contextual sessions."msgstr """Most applications using Hibernate need some form of \"contextual\" sessions, ""where a given session is in effect throughout the scope of a given context. ""However, across applications the definition of what constitutes a context is ""typically different; and different contexts define different scopes to the ""notion of current. Applications using Hibernate prior to version 3.0 tended ""to utilize either home-grown <literal>ThreadLocal</literal>-based contextual ""sessions, helper classes such as <literal>HibernateUtil</literal>, or ""utilized third-party frameworks (such as Spring or Pico) which provided ""proxy/interception-based contextual sessions."#: index.docbook:297msgid """Starting with version 3.0.1, Hibernate added the <literal>SessionFactory.""getCurrentSession()</literal> method. Initially, this assumed usage of ""<literal>JTA</literal> transactions, where the <literal>JTA</literal> ""transaction defined both the scope and context of a current session. The ""Hibernate team maintains that, given the maturity of the numerous stand-""alone <literal>JTA TransactionManager</literal> implementations out there, ""most (if not all) applications should be using <literal>JTA</literal> ""transaction management whether or not they are deployed into a ""<literal>J2EE</literal> container. Based on that, the <literal>JTA</literal>-""based contextual sessions is all you should ever need to use."msgstr """Starting with version 3.0.1, Hibernate added the <literal>SessionFactory.""getCurrentSession()</literal> method. Initially, this assumed usage of ""<literal>JTA</literal> transactions, where the <literal>JTA</literal> ""transaction defined both the scope and context of a current session. The ""Hibernate team maintains that, given the maturity of the numerous stand-""alone <literal>JTA TransactionManager</literal> implementations out there, ""most (if not all) applications should be using <literal>JTA</literal> ""transaction management whether or not they are deployed into a ""<literal>J2EE</literal> container. Based on that, the <literal>JTA</literal>-""based contextual sessions is all you should ever need to use."#: index.docbook:307msgid """However, as of version 3.1, the processing behind <literal>SessionFactory.""getCurrentSession()</literal> is now pluggable. To that end, a new extension ""interface (<literal>org.hibernate.context.CurrentSessionContext</literal>) ""and a new configuration parameter (<literal>hibernate.""current_session_context_class</literal>) have been added to allow ""pluggability of the scope and context of defining current sessions."msgstr """However, as of version 3.1, the processing behind <literal>SessionFactory.""getCurrentSession()</literal> is now pluggable. To that end, a new extension ""interface (<literal>org.hibernate.context.CurrentSessionContext</literal>) ""and a new configuration parameter (<literal>hibernate.""current_session_context_class</literal>) have been added to allow ""pluggability of the scope and context of defining current sessions."#: index.docbook:314msgid """See the Javadocs for the <literal>org.hibernate.context.""CurrentSessionContext</literal> interface for a detailed discussion of its ""contract. It defines a single method, <literal>currentSession()</literal>, ""by which the implementation is responsible for tracking the current ""contextual session. Out-of-the-box, Hibernate comes with three ""implementations of this interface."msgstr """See the Javadocs for the <literal>org.hibernate.context.""CurrentSessionContext</literal> interface for a detailed discussion of its ""contract. It defines a single method, <literal>currentSession()</literal>, ""by which the implementation is responsible for tracking the current ""contextual session. Out-of-the-box, Hibernate comes with three ""implementations of this interface."#: index.docbook:324msgid """<literal>org.hibernate.context.JTASessionContext</literal> - current ""sessions are tracked and scoped by a <literal>JTA</literal> transaction. The ""processing here is exactly the same as in the older JTA-only approach. See ""the Javadocs for details."msgstr """<literal>org.hibernate.context.JTASessionContext</literal> - current ""sessions are tracked and scoped by a <literal>JTA</literal> transaction. The ""processing here is exactly the same as in the older JTA-only approach. See ""the Javadocs for details."#: index.docbook:332msgid """<literal>org.hibernate.context.ThreadLocalSessionContext</literal> - current ""sessions are tracked by thread of execution. Again, see the Javadocs for ""details."msgstr """<literal>org.hibernate.context.ThreadLocalSessionContext</literal> - current ""sessions are tracked by thread of execution. Again, see the Javadocs for ""details."#: index.docbook:338msgid """<literal>org.hibernate.context.ManagedSessionContext</literal> - current ""sessions are tracked by thread of execution. However, you are responsible to ""bind and unbind a <literal>Session</literal> instance with static methods on ""this class, it does never open, flush, or close a <literal>Session</literal>."msgstr """<literal>org.hibernate.context.ManagedSessionContext</literal> - current ""sessions are tracked by thread of execution. However, you are responsible to ""bind and unbind a <literal>Session</literal> instance with static methods on ""this class, it does never open, flush, or close a <literal>Session</literal>."#: index.docbook:347msgid """The first two implementations provide a \"one session - one database ""transaction\" programming model, also known and used as <emphasis>session-""per-request</emphasis>. The beginning and end of a Hibernate session is ""defined by the duration of a database transaction. If you use programatic ""transaction demarcation in plain JSE without JTA, you are adviced to use the ""Hibernate <literal>Transaction</literal> API to hide the underlying ""transaction system from your code. If you use JTA, use the JTA interfaces to ""demarcate transactions. If you execute in an EJB container that supports ""CMT, transaction boundaries are defined declaratively and you don't need any ""transaction or session demarcation operations in your code. Refer to <xref ""linkend=\"transactions\"/> for more information and code examples."msgstr """The first two implementations provide a \"one session - one database ""transaction\" programming model, also known and used as <emphasis>session-""per-request</emphasis>. The beginning and end of a Hibernate session is ""defined by the duration of a database transaction. If you use programatic ""transaction demarcation in plain JSE without JTA, you are adviced to use the ""Hibernate <literal>Transaction</literal> API to hide the underlying ""transaction system from your code. If you use JTA, use the JTA interfaces to ""demarcate transactions. If you execute in an EJB container that supports ""CMT, transaction boundaries are defined declaratively and you don't need any ""transaction or session demarcation operations in your code. Refer to <xref ""linkend=\"transactions\"/> for more information and code examples."#: index.docbook:359msgid """The <literal>hibernate.current_session_context_class</literal> configuration ""parameter defines which <literal>org.hibernate.context.""CurrentSessionContext</literal> implementation should be used. Note that for ""backwards compatibility, if this config param is not set but a <literal>org.""hibernate.transaction.TransactionManagerLookup</literal> is configured, ""Hibernate will use the <literal>org.hibernate.context.JTASessionContext</""literal>. Typically, the value of this parameter would just name the ""implementation class to use; for the three out-of-the-box implementations, ""however, there are three corresponding short names, \"jta\", \"thread\", and ""\"managed\"."msgstr """The <literal>hibernate.current_session_context_class</literal> configuration ""parameter defines which <literal>org.hibernate.context.""CurrentSessionContext</literal> implementation should be used. Note that for ""backwards compatibility, if this config param is not set but a <literal>org.""hibernate.transaction.TransactionManagerLookup</literal> is configured, ""Hibernate will use the <literal>org.hibernate.context.JTASessionContext</""literal>. Typically, the value of this parameter would just name the ""implementation class to use; for the three out-of-the-box implementations, ""however, there are three corresponding short names, \"jta\", \"thread\", and ""\"managed\"."msgid "ROLES_OF_TRANSLATORS"msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"msgid "CREDIT_FOR_TRANSLATORS"msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -