📄 configuration.po
字号:
msgid ""msgstr """Project-Id-Version: PACKAGE VERSION\n""Report-Msgid-Bugs-To: http://bugs.kde.org\n""POT-Creation-Date: 2007-10-25 07:47+0000\n""PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n""Last-Translator: FULL NAME <EMAIL@ADDRESS>\n""Language-Team: LANGUAGE <LL@li.org>\n""MIME-Version: 1.0\n""Content-Type: text/plain; charset=UTF-8\n""Content-Transfer-Encoding: 8bit\n"#. Tag: title#: configuration.xml:5#, no-c-formatmsgid "Configuration"msgstr "구성"#. Tag: para#: configuration.xml:7#, no-c-formatmsgid """Because Hibernate is designed to operate in many different environments, ""there are a large number of configuration parameters. Fortunately, most have ""sensible default values and Hibernate is distributed with an example ""<literal>hibernate.properties</literal> file in <literal>etc/</literal> that ""shows the various options. Just put the example file in your classpath and ""customize it."msgstr """Hibernate가 많은 다른 환경들에서 동작하도록 설계되어 있으므로, 많은 개수의 구""성 파라미터들이 존재한다. 다행히 대부분은 유의미한 디폴트 값들이고 Hibernate""는 다양한 옵션들을 보여주는 <literal>etc/</literal> 내의 예제 파일 ""<literal>hibernate.properties</literal>로 배포된다. 당신은 단지 당신의 ""classpath 경로 속에 그 파일을 집어넣고 그것을 커스트마이징하기만 해야 한다."#. Tag: title#: configuration.xml:16#, no-c-formatmsgid "Programmatic configuration"msgstr "프로그램 상의 구성"#. Tag: para#: configuration.xml:18#, no-c-formatmsgid """An instance of <literal>org.hibernate.cfg.Configuration</literal> represents ""an entire set of mappings of an application's Java types to an SQL database. ""The <literal>Configuration</literal> is used to build an (immutable) ""<literal>SessionFactory</literal>. The mappings are compiled from various ""XML mapping files."msgstr """<literal>org.hibernate.cfg.Configuration</literal>의 인스턴스는 어플리케이션""의 Java 타입들을 SQL 데이터베이스 타입으로의 전체 매핑 집합을 표현한다. ""<literal>Configuration</literal>은 (불변의) <literal>SessionFactory</literal>""를 빌드하는데 사용된다. 매핑들은 여러 XML 매핑 파일들로부터 컴파일 된다."#. Tag: para#: configuration.xml:26#, no-c-formatmsgid """You may obtain a <literal>Configuration</literal> instance by instantiating ""it directly and specifying XML mapping documents. If the mapping files are ""in the classpath, use <literal>addResource()</literal>:"msgstr """당신은 <literal>Configuration</literal> 인스턴스를 초기화 시키고 XML 매핑 문""서들을 지정함으로써 <literal>Configuration</literal> 인스턴스를 얻을 수 있""다. 만일 매핑 파일들이 classpath 내에 있다면, <literal>addResource()</""literal>를 사용하라:"#. Tag: programlisting#: configuration.xml:32#, no-c-formatmsgid """<![CDATA[Configuration cfg = new Configuration()\n"" .addResource(\"Item.hbm.xml\")\n"" .addResource(\"Bid.hbm.xml\");]]>"msgstr ""#. Tag: para#: configuration.xml:34#, no-c-formatmsgid """An alternative (sometimes better) way is to specify the mapped class, and ""let Hibernate find the mapping document for you:"msgstr """(때때로 더 나은) 다른 방법은 매핑된 클래스를 지정하는 것이고, Hibernate로 하""여금 당신을 위해 매핑 문서를 찾도록 하라:"#. Tag: programlisting#: configuration.xml:39#, no-c-formatmsgid """<![CDATA[Configuration cfg = new Configuration()\n"" .addClass(org.hibernate.auction.Item.class)\n"" .addClass(org.hibernate.auction.Bid.class);]]>"msgstr ""#. Tag: para#: configuration.xml:41#, no-c-formatmsgid """Then Hibernate will look for mapping files named <literal>/org/hibernate/""auction/Item.hbm.xml</literal> and <literal>/org/hibernate/auction/Bid.hbm.""xml</literal> in the classpath. This approach eliminates any hardcoded ""filenames."msgstr """그때 Hibernate는 classpath 내에서 <literal>/org/hibernate/auction/Item.hbm.""xml</literal>과 <literal>/org/hibernate/auction/Bid.hbm.xml</literal>로 명명""된 매핑 파일들을 룩업할 것이다. 이 접근법은 임의의 하드코딩된 파일 이름들을 ""제거한다."#. Tag: para#: configuration.xml:48#, no-c-formatmsgid """A <literal>Configuration</literal> also allows you to specify configuration ""properties:"msgstr """<literal>Configuration</literal>은 또한 구성 프로퍼티들을 지정하는 것을 허용""해준다:"#. Tag: programlisting#: configuration.xml:53#, no-c-formatmsgid """<![CDATA[Configuration cfg = new Configuration()\n"" .addClass(org.hibernate.auction.Item.class)\n"" .addClass(org.hibernate.auction.Bid.class)\n"" .setProperty(\"hibernate.dialect\", \"org.hibernate.dialect.""MySQLInnoDBDialect\")\n"" .setProperty(\"hibernate.connection.datasource\", \"java:comp/env/jdbc/""test\")\n"" .setProperty(\"hibernate.order_updates\", \"true\");]]>"msgstr ""#. Tag: para#: configuration.xml:55#, no-c-formatmsgid """This is not the only way to pass configuration properties to Hibernate. The ""various options include:"msgstr """이것은 컨피그레이션 프로퍼티들을 Hibernate에 전달하는 유일한 방법이 아니다. ""여러 가지 옵션들은 다음을 포함한다:"#. Tag: para#: configuration.xml:62#, no-c-formatmsgid """Pass an instance of <literal>java.util.Properties</literal> to ""<literal>Configuration.setProperties()</literal>."msgstr """<literal>java.util.Properties</literal>의 인스턴스를 <literal>Configuration.""setProperties()</literal>에 전달한다 ."#. Tag: para#: configuration.xml:68#, no-c-formatmsgid """Place <literal>hibernate.properties</literal> in a root directory of the ""classpath."msgstr """classpath의 루트 디렉토리에 <literal>hibernate.properties</literal>를 위치지""운다."#. Tag: para#: configuration.xml:74#, no-c-formatmsgid """Set <literal>System</literal> properties using <literal>java -""Dproperty=value</literal>."msgstr """<literal>java -Dproperty=value</literal>를 사용하여 <literal>System</""literal> 프로퍼티들을 설정한다."#. Tag: para#: configuration.xml:80#, no-c-formatmsgid """Include <literal><property></literal> elements in <literal>hibernate.""cfg.xml</literal> (discussed later)."msgstr """<literal>hibernate.cfg.xml</literal>에 <literal><property></literal> 요""소들을 포함한다 (나중에 논의됨)."#. Tag: para#: configuration.xml:87#, no-c-formatmsgid """<literal>hibernate.properties</literal> is the easiest approach if you want ""to get started quickly."msgstr """당신이 빠르게 시작하고 원할 경우 <literal>hibernate.properties</literal>는 가""장 쉬운 접근법이다."#. Tag: para#: configuration.xml:92#, no-c-formatmsgid """The <literal>Configuration</literal> is intended as a startup-time object, ""to be discarded once a <literal>SessionFactory</literal> is created."msgstr """<literal>Configuration</literal>은 시작 시(startup-time) 객체로서 일단 ""<literal>SessionFactory</literal>가 생성되면 폐기되게끔 예정되어 있다."#. Tag: title#: configuration.xml:100#, no-c-formatmsgid "Obtaining a SessionFactory"msgstr "SessionFactory 얻기"#. Tag: para#: configuration.xml:102#, no-c-formatmsgid """When all mappings have been parsed by the <literal>Configuration</literal>, ""the application must obtain a factory for <literal>Session</literal> ""instances. This factory is intended to be shared by all application threads:"msgstr """모든 매핑들이 <literal>Configuration</literal>에 의해 파싱되었을 때, 어플리케""이션은 <literal>Session</literal> 인스턴스들에 대한 팩토리를 얻어야 한다. 이 ""팩토리는 모든 어플리케이션 쓰레드들에 의해 공유되도록 고안되었다:"#. Tag: programlisting#: configuration.xml:108#, no-c-formatmsgid "<![CDATA[SessionFactory sessions = cfg.buildSessionFactory();]]>"msgstr ""#. Tag: para#: configuration.xml:110#, no-c-formatmsgid """Hibernate does allow your application to instantiate more than one ""<literal>SessionFactory</literal>. This is useful if you are using more than ""one database."msgstr """하지만 Hibernate는 당신의 어플리케이션이 하나 이상의 ""<literal>SessionFactory</literal>를 초기화 시키는 것을 허용한다. 이것은 당신""이 하나 이상의 데이터베이스를 사용하는 경우에 유용하다."#. Tag: title#: configuration.xml:119#, no-c-formatmsgid "JDBC connections"msgstr "JDBC 커넥션들"#. Tag: para#: configuration.xml:121#, no-c-formatmsgid """Usually, you want to have the <literal>SessionFactory</literal> create and ""pool JDBC connections for you. If you take this approach, opening a ""<literal>Session</literal> is as simple as:"msgstr """대개 당신은 <literal>SessionFactory</literal>로 하여금 당신을 위한 JDBC 커넥""션들을 생성시키고 풀링시키는 것을 원한다. 만일 당신이 이 접근법을 취할 경우, ""한 개의 <literal>Session</literal>을 여는 것은 다음과 같이 간단하다:"#. Tag: programlisting#: configuration.xml:127#, no-c-formatmsgid """<![CDATA[Session session = sessions.openSession(); // open a new Session]]>"msgstr ""#. Tag: para#: configuration.xml:129#, no-c-formatmsgid """As soon as you do something that requires access to the database, a JDBC ""connection will be obtained from the pool."msgstr """당신이 데이터베이스에 대한 접근을 요청하는 어떤 것을 행하자 마자, 한 개의 ""JDBC 커넥션이 그 풀로부터 얻어질 것이다."#. Tag: para#: configuration.xml:134#, no-c-formatmsgid """For this to work, we need to pass some JDBC connection properties to ""Hibernate. All Hibernate property names and semantics are defined on the ""class <literal>org.hibernate.cfg.Environment</literal>. We will now describe ""the most important settings for JDBC connection configuration."msgstr """이것이 동작하도록 하기 위해서, 우리는 몇몇 JDBC 커넥션 프로퍼티들을 Hibernate""에 전달할 필요가 있다. 모든 Hibernate 프로퍼티 이름들과 의미론들은 ""<literal>org.hibernate.cfg.Environment</literal> 클래스 상에 정의되어 있다. ""우리는 이제 JDBC 커넥션 구성을 위한 가장 중요한 설정들을 설명할 것이다."#. Tag: para#: configuration.xml:141#, no-c-formatmsgid """Hibernate will obtain (and pool) connections using <literal>java.sql.""DriverManager</literal> if you set the following properties:"msgstr """만일 당신이 다음 프로퍼티들을 설정할 경우 Hibernate는 <literal>java.sql.""DriverManager</literal>를 사용하여 커넥션들을 얻을 것이다(그리고 풀링시킬 것""이다):"#. Tag: title#: configuration.xml:147#, no-c-formatmsgid "Hibernate JDBC Properties"msgstr "Hibernate JDBC 프로퍼티들"#. Tag: entry#: configuration.xml:153 configuration.xml:241 configuration.xml:338#: configuration.xml:529 configuration.xml:725 configuration.xml:832#: configuration.xml:920#, no-c-formatmsgid "Property name"msgstr "프로퍼티 이름"#. Tag: entry#: configuration.xml:154 configuration.xml:242 configuration.xml:339#: configuration.xml:530 configuration.xml:726 configuration.xml:833#: configuration.xml:921#, no-c-formatmsgid "Purpose"msgstr "용도"#. Tag: literal#: configuration.xml:160#, no-c-formatmsgid "hibernate.connection.driver_class"msgstr "hibernate.connection.driver_class"#. Tag: emphasis#: configuration.xml:163#, no-c-formatmsgid "JDBC driver class"msgstr "jdbc 드라이버 클래스"#. Tag: literal#: configuration.xml:168#, no-c-formatmsgid "hibernate.connection.url"msgstr "hibernate.connection.url"#. Tag: emphasis#: configuration.xml:171#, no-c-formatmsgid "JDBC URL"msgstr "jdbc URL"#. Tag: literal#: configuration.xml:176 configuration.xml:272#, no-c-formatmsgid "hibernate.connection.username"msgstr "hibernate.connection.username"#. Tag: emphasis#: configuration.xml:179#, no-c-formatmsgid "database user"msgstr "데이터베이스 사용자"#. Tag: literal#: configuration.xml:184 configuration.xml:280#, no-c-formatmsgid "hibernate.connection.password"msgstr "hibernate.connection.password"#. Tag: emphasis#: configuration.xml:187#, no-c-formatmsgid "database user password"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>. 최상의 퍼포먼스와 안정성을 위해"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -