📄 architecture.po
字号:
#: architecture.xml:212#, no-c-formatmsgid "detached"msgstr "detached"#. Tag: para#: architecture.xml:214#, no-c-formatmsgid """The instance was once associated with a persistence context, but that ""context was closed, or the instance was serialized to another process. It ""has a persistent identity and, perhaps, a corrsponding row in the database. ""For detached instances, Hibernate makes no guarantees about the relationship ""between persistent identity and Java identity."msgstr """인스턴스는 영속 컨텍스트와 한번 연관되었지만, 그 컨텍스트가 닫혔거나, 그 인스""턴스가 또 다른 프로세스로 직렬화 되었다. 그것은 영속 identity 그리고, 아마 데""이터베이스 내에 대응하는 행을 갖는다. detached 인스턴스들의 경우, Hibernate""는 영속 identity과 Java identity 사이의 관계를 보증하지 않는다."#. Tag: title#: architecture.xml:229#, no-c-formatmsgid "JMX Integration"msgstr "JMX 통합"#. Tag: para#: architecture.xml:231#, no-c-formatmsgid """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는 자바 컴포넌트 관리를 위한 J2EE 표준이다. Hibernate는 JMX 표준 서비스를 ""통해 관리될 수도 있다. 우리는 배포본 내에 MBean 구현, <literal>org.hibernate.""jmx.HibernateService</literal>를 제공한다."#. Tag: para#: architecture.xml:237#, no-c-formatmsgid """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 """JBoss 어플리케이션 서버 상에 Hibernae를 JMX 서비스로서 배치하는 방법에 대한 ""예제는 JBoss 사용자 가이드를 보길 바란다. JBoss 어플리케이션 서버 상에서, 만""일 당신이 JMX를 사용하여 배치할 경우 당신은 또한 다음 이점들을 얻는다:"#. Tag: para#: architecture.xml:245#, no-c-formatmsgid """<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>Session 관리:</emphasis> Hibernate <literal>Session</literal>의 생""명주기가 JTA 트랜잭션의 영역 내에 자동적으로 바인드 될 수 있다. 이것은 당신""이 더이상 <literal>Session</literal>을 수작업으로 열고 닫지 않아도 됨을 의미""하고, 이것은 JBoss EJB 인터셉터의 업무가 된다. 당신은 또한 더 이상 당신의 코""드 어느 곳에서든 트랜잭션 경계설정에 대해 걱정하지 않아도 된다(당신이 물론 이""식성 있는 영속 계층을 작성하고자 원하지 않는한, 이를 위해 옵션 Hibernate ""<literal>Transaction</literal> API를 사용하라). 당신은 <literal>Session</""literal>에 접근하기 위해 <literal>HibernateContext</literal>를 호출한다."#. Tag: para#: architecture.xml:257#, no-c-formatmsgid """<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>HAR 배치:</emphasis> 대개 당신은 JBoss 서비스 배치 디스크립터를 사""용하여 Hibernate JMX 서비스를 (EAR 과/또는 SAR 파일로) 배치하고, 그것은 ""Hibernate <literal>SessionFactory</literal>의 통상적인 구성 옵션들 모두를 지""원한다. 하지만 당신은 여전히 모든 당신의 매핑 파일들을 배치 디스크립터 속에 ""명명해야 한다. 만일 당신이 옵션 HAR 배치를 사용하고자 결정하는 경우, JBoss는 ""당신의 HAR 파일 내에 있는 모든 매핑 파일들을 자동적으로 검출해낼 것이다."#. Tag: para#: architecture.xml:268#, no-c-formatmsgid """Consult the JBoss AS user guide for more information about these options."msgstr """이들 옵션들에 대한 추가 정보는 JBoss 어플리케이션 서버 사용자 가이드를 참조하""라."#. Tag: para#: architecture.xml:272#, no-c-formatmsgid """Another feature available as a JMX service are runtime Hibernate statistics. ""See <xref linkend=\"configuration-optional-statistics\"/>."msgstr """JMX 서비스로서 이용 가능한 또다른 특징은 런타임 Hibernate 통계이다. <xref ""linkend=\"configuration-optional-statistics\"/>를 보라."#. Tag: title#: architecture.xml:279#, no-c-formatmsgid "JCA Support"msgstr "JCA 지원"#. Tag: para#: architecture.xml:280#, no-c-formatmsgid """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 """Hibernate는 JCA 커넥터로서 구성될 수도 있다. 상세한 것은 웹 사이트를 보길 바""란다. Hibernate JCA 지원은 여전히 실험적으로 검토 중에 있음을 노트하길 바란""다."#. Tag: title#: architecture.xml:287#, no-c-formatmsgid "Contextual Sessions"msgstr "컨텍스트 상의 세션들"#. Tag: para#: architecture.xml:288#, no-c-formatmsgid """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 """Hibernate를 사용하는 대부분의 어플리케이션들은 어떤 양식의 \"컨텍스트상의""(contextual)\" 세션들을 필요로 한다. 여기서 주어진 세션은 주어진 컨텍스트의 ""영역에 걸쳐 활동을 한다. 하지만 어플리케이션들을 가로질러 컨텍스트를 구성하""는 것에 대한 정의는 일반적으로 다르다; 그리고 다른 컨텍스트들은 현재라고 하""는 개념에 대해 다른 영역들을 정의한다. 버전 3.0 전의 Hibernate를 사용하는 어""플리케이션들은 자가생산된 <literal>ThreadLocal</literal>-기반의 컨텍스상의 세""션들, <literal>HibernateUtil</literal>과 같은 helper 클래스들을 활용했거나 프""락시/인터셉션 기반의 컨텍스트상의 세션들을 제공해주었던 (Spring 또는 Pico와 ""같은 )제 3의 프레임웍들을 활용하는 경향이 있었다."#. Tag: para#: architecture.xml:297#, no-c-formatmsgid """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 """버전 3.0.1에서부터 시작하여, Hibernate는 <literal>SessionFactory.""getCurrentSession()</literal> 메소드를 추가했다. 초기에 이것은 <literal>JTA</""literal> 트랜잭션들을 사용하는 것을 전제했다. 여기서 <literal>JTA</literal> ""트랜잭션은 현재 세션의 영역과 컨텍스트를 정의했다. Hibernate 팀은 성숙된 다수""의 스탠드얼론 <literal>JTA TransactionManager</literal> 구현들이 발표되면, ""(전부는 아니겠지만) 대부분의 어플리케이션들이 그것들이 <literal>J2EE</""literal> 컨테이너 내로 배치되든 그렇지 않든 간에 <literal>JTA</literal> 트랜""잭션 관리를 사용하게 될 것이라고 주장한다. 그것에 기초하여, <literal>JTA</""literal>에 기반한 컨텍스트상의 세션들은 언젠가 당신이 사용을 필요로 하게 될 ""전부다."#. Tag: para#: architecture.xml:307#, no-c-formatmsgid """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 """하지만 버전 3.1 이후로 <literal>SessionFactory.getCurrentSession()</literal> ""이면의 처리과정은 이제 플러그 가능하다. 그것을 끝내기 위해, 하나의 새로운 확""장 인터페이스 (<literal>org.hibernate.context.CurrentSessionContext</""literal>)와 하나의 새로운 구성 파라미터(<literal>hibernate.""current_session_context_class</literal>)가 현재 세션들을 정의하는 영역과 컨텍""스트의 플러그 가능성을 허용하기 위해 추가되었다."#. Tag: para#: architecture.xml:314#, no-c-formatmsgid """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 """그것의 계약에 대한 상세한 논의는 <literal>org.hibernate.context.""CurrentSessionContext</literal> 인터페이스에 관한 javadocs를 보라. 그것은 하""나의 메소드, <literal>currentSession()</literal>를 정의하며, 그 구현은 현재""의 컨텍스트 상의 세션을 추적할 책임이 있다. 비공식적으로, Hibernate는 이 인터""페이스에 대한 세 개의 구현들을 부수적으로 포함하고 있다."#. Tag: para#: architecture.xml:324#, no-c-formatmsgid """<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> - 현재의 세션들은 ""하나의 <literal>JTA</literal>에 의해 추적되고 영역화 된다. 여기서 처리과정은 ""이전의 JTA-전용 접근과 정확하게 동일하다. 상세한 것은 javadocs를 보라."#. Tag: para#: architecture.xml:332#, no-c-formatmsgid """<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> - 현재의 ""세션들은 실행 쓰레드에 의해 추적된다. 상세한 것은 다시 javadocs를 보라."#. Tag: para#: architecture.xml:338#, no-c-formatmsgid """<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 """NOT TRANSLATED! <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>."#. Tag: para#: architecture.xml:347#, no-c-formatmsgid """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 """처음의 두 구현들은 <emphasis>session-per-request</emphasis>로 알려지고 사용되""고 있는 \"하나의 세션 - 하나의 데이터베이스 트랜잭션\" 프로그래밍 모형을 제공""한다. 하나의 Hibernate 세션의 시작과 끝은 데이터베이스 트랜잭션의 존속 기간""에 의해 정의된다. 만일 (예를 들면 순수 J2SE에서 또는 JTA/UserTransaction/BMT""의 경우에) 당신이 프로그램 상의 트랜잭션 경계구분을 사용할 경우, 당신은 당신""의 코드로부터 기본 트랜잭션 시스템을 은폐시키는데 Hibernate ""<literal>Transaction</literal> API를 사용하는 것이 권장된다. 만일 당신이 CMT""를 지원하는 하나의 EJB 컨테이너에서 실행할 경우, 트랜잭션 경계들이 선언적으""로 정의되고 당신은 당신의 코드 내에 어떤 트랜잭션도 세션 경계구분 오퍼레이션""들을 필요로 하지 않는다. 추가 정보와 코드 예제들은 <xref linkend=""\"transactions\"/>를 참조하라."#. Tag: para#: architecture.xml:359#, no-c-formatmsgid """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 """<literal>hibernate.current_session_context_class</literal> 구성 파라미터는 ""<literal>org.hibernate.context.CurrentSessionContext</literal> 구현이 사용될 ""것임을 정의한다. 역호환을 위해. 만일 이 구성 파라미터가 설정되지 않았지만 하""나의 <literal>org.hibernate.transaction.TransactionManagerLookup</literal>이 ""구성되어 있을 경우, Hibernate는 <literal>org.hibernate.context.""JTASessionContext</literal>를 사용할 것임을 노트하라. 일반적으로, 이 파라미터""의 값은 단지 사용할 구현 클래스를 명명할 것이다; 하지만 두 가지 비공식적인 구""현들로서 두 개의 대응하는 짧은 이름들 \"jta\"와 \"thread\"이 존재한다."
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -