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

📄 tutorial.po

📁 hibernate 开源框架的代码 jar包希望大家能喜欢
💻 PO
📖 第 1 页 / 共 5 页
字号:
msgid ""msgstr """Project-Id-Version: PACKAGE VERSION\n""Report-Msgid-Bugs-To: http://bugs.kde.org\n""POT-Creation-Date: 2007-10-25 07:48+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#: tutorial.xml:7#, no-c-formatmsgid "Introduction to Hibernate"msgstr "Hibernate 개요"#. Tag: title#: tutorial.xml:10#, no-c-formatmsgid "Preface"msgstr "머리말"#. Tag: para#: tutorial.xml:12#, no-c-formatmsgid """This chapter is an introductory tutorial for new users of Hibernate. We ""start with a simple command line application using an in-memory database and ""develop it in easy to understand steps."msgstr """이 장은 Hibernate 초심자를 위한 개론적인 튜토리얼이다. 우리는 메모리-내 데이""터베이스를 사용하는 간단한 명령 라인 어플리케이션으로 시작하고 단계들을 이해""하도록 쉽게 그것을 개발한다."#. Tag: para#: tutorial.xml:18#, no-c-formatmsgid """This tutorial is intended for new users of Hibernate but requires Java and ""SQL knowledge. It is based on a tutorial by Michael Gloegl, the third-party ""libraries we name are for JDK 1.4 and 5.0. You might need others for JDK 1.3."msgstr """이 튜토리얼은 Hibernate 신규 사용자들을 의도하고 있지만 Java와 SQL 지식을 필""요로 한다. 그것은 Michael Gloegl이 작성한 튜토리얼에 기초하며, 우리가 명명하""는 제 3의 라이브러리들은 JDK 1.4와 5.0 버전용이다. 당신은 JDK1.3에 대해 다른 ""라이브러리들을 필요로 할 수도 있다."#. Tag: para#: tutorial.xml:24#, no-c-formatmsgid """The source code for the tutorial is included in the distribution in the ""<literal>doc/reference/tutorial/</literal> directory."msgstr """튜토리얼용 소스는 <literal>doc/reference/tutorial/</literal> 디렉토리 내에 있""는 배포본 내에 포함되어 있다."#. Tag: title#: tutorial.xml:32#, no-c-formatmsgid "Part 1 - The first Hibernate Application"msgstr "파트 1 - 첫 번째 Hibernate 어플리케이션"#. Tag: para#: tutorial.xml:34#, no-c-formatmsgid """First, we'll create a simple console-based Hibernate application. We use an ""Java database (HSQL DB), so we do not have to install any database server."msgstr """먼저, 우리는 한 개의 간단한 콘솔-기반 Hibernate 어플리케이션을 생성시킬 것이""다. 우리는 메모리-내 데이터베이스(HSQL DB)를 사용하므로, 우리는 어떤 데이터베""이스 서버를 설치하지 않아도 된다."#. Tag: para#: tutorial.xml:39#, no-c-formatmsgid """Let's assume we need a small database application that can store events we ""want to attend, and information about the hosts of these events."msgstr """우리가 우리가 수반하고자 원하는 이벤트들을 저장할 수 있는 작은 데이터베이스 ""어플리케이션과 이들 이벤트들의 호스트들에 대한 정보를 필요로 한다고 가정하자."#. Tag: para#: tutorial.xml:44#, no-c-formatmsgid """The first thing we do, is set up our development directory and put all the ""Java libraries we need into it. Download the Hibernate distribution from the ""Hibernate website. Extract the package and place all required libraries ""found in <literal>/lib</literal> into into the <literal>/lib</literal> ""directory of your new development working directory. It should look like ""this:"msgstr """우리가 행할 첫 번째 것은 우리의 개발 디렉토리를 설정하고, 우리가 필요로 하는 ""모든 Java 라이브러리들을 그것 속에 집어 넣는 것이다. Hibernate 웹 사이트로부""터 Hibernate 배포본을 내려 받아라. 패키지를 추출해내고 <literal>/lib</""literal> 속에서 발견되는 모든 필요한 라이브러리들을 당신의 새로운 개발 작업 ""디렉토리의 <literal>/lib</literal> 디렉토리 속에 위치지워라. 그것은 다음과 같""을 것이다:"#. Tag: programlisting#: tutorial.xml:52#, no-c-formatmsgid """<![CDATA[.\n""+lib\n""  antlr.jar\n""  cglib.jar\n""  asm.jar\n""  asm-attrs.jars\n""  commons-collections.jar\n""  commons-logging.jar\n""  hibernate3.jar\n""  jta.jar\n""  dom4j.jar\n""  log4j.jar ]]>"msgstr ""#. Tag: para#: tutorial.xml:54#, no-c-formatmsgid """This is the minimum set of required libraries (note that we also copied ""hibernate3.jar, the main archive) for Hibernate <emphasis>at the time of ""writing</emphasis>. The Hibernate release you are using might require more ""or less libraries. See the <literal>README.txt</literal> file in the ""<literal>lib/</literal> directory of the Hibernate distribution for more ""information about required and optional third-party libraries. (Actually, ""Log4j is not required but preferred by many developers.)"msgstr """이것은 <emphasis>글의 작성 시점에서</emphasis> Hibernate에 필수적인 최소한의 ""세트이다(우리는 또한 메인 아카이브인 hibernate3.jar를 복사했음을 노트하라). ""당신이 사용 중인 Hibernate 배포본이 더 많거나 보다 적은 라이브러리들을 필요""로 할 수도 있다. 필수 라이브러리들과 선택적인 제3의 라이브러리들에 대한 추가 ""정보는 Hibernate 배포본의 <literal>lib/</literal> 디렉토리 내에 있는 ""<literal>README.txt</literal> 파일을 보라. (실제로, Log4j는 필수는 아니지만 ""많은 개발자들에 의해 선호된다.)"#. Tag: para#: tutorial.xml:63#, no-c-formatmsgid """Next we create a class that represents the event we want to store in ""database."msgstr """다음으로 우리는 우리가 데이터베이스 속에 저장시키고자 원하는 이벤트를 표현하""는 한 개의 클래스를 생성시킨다."#. Tag: title#: tutorial.xml:68#, no-c-formatmsgid "The first class"msgstr "첫 번째 클래스"#. Tag: para#: tutorial.xml:70#, no-c-formatmsgid """Our first persistent class is a simple JavaBean class with some properties:"msgstr """우리의 첫 번째 영속 클래스는 몇몇 프로퍼티들을 가진 간단한 자바빈즈 클래스이""다:"#. Tag: programlisting#: tutorial.xml:74#, no-c-formatmsgid """<![CDATA[package events;\n""\n""import java.util.Date;\n""\n""public class Event {\n""    private Long id;\n""\n""    private String title;\n""    private Date date;\n""\n""    public Event() {}\n""\n""    public Long getId() {\n""        return id;\n""    }\n""\n""    private void setId(Long id) {\n""        this.id = id;\n""    }\n""\n""    public Date getDate() {\n""        return date;\n""    }\n""\n""    public void setDate(Date date) {\n""        this.date = date;\n""    }\n""\n""    public String getTitle() {\n""        return title;\n""    }\n""\n""    public void setTitle(String title) {\n""        this.title = title;\n""    }\n""}]]>"msgstr ""#. Tag: para#: tutorial.xml:76#, no-c-formatmsgid """You can see that this class uses standard JavaBean naming conventions for ""property getter and setter methods, as well as private visibility for the ""fields. This is a recommended design - but not required. Hibernate can also ""access fields directly, the benefit of accessor methods is robustness for ""refactoring. The no-argument constructor is required to instantiate an ""object of this class through reflection."msgstr """당신은 이 클래스가 프로퍼티 getter와 setter 메소드들에 대한 표준 자바빈즈 명""명법들 뿐만 아니라 필드들에 대한 private 가시성을 사용하고 있음을 알 수 있""다. 이것은 권장되는 설계이지만, 필수적이지는 않다. Hibernate는 또한 필드들에 ""직접 접근할 수 있으며, accessor 메소드들의 이점은 강건한 리팩토링이다. 아규먼""트 없는 생성자는 reflection을 통해 이 클래스의 객체를 초기화 시킬 필요가 있""다."#. Tag: para#: tutorial.xml:84#, no-c-formatmsgid """The <literal>id</literal> property holds a unique identifier value for a ""particular event. All persistent entity classes (there are less important ""dependent classes as well) will need such an identifier property if we want ""to use the full feature set of Hibernate. In fact, most applications (esp. ""web applications) need to distinguish objects by identifier, so you should ""consider this a feature rather than a limitation. However, we usually don't ""manipulate the identity of an object, hence the setter method should be ""private. Only Hibernate will assign identifiers when an object is saved. You ""can see that Hibernate can access public, private, and protected accessor ""methods, as well as (public, private, protected) fields directly. The choice ""is up to you and you can match it to fit your application design."msgstr """<literal>id</literal> 프로퍼티는 특별한 이벤트를 위한 유일 식별자를 소유한""다. 모든 영속 엔티티 클래스들 (보다 덜 중요한 종속 클래스들도 존재한다)은 우""리가 Hibernate의 전체 특징 집합을 사용하고자 원할 경우에 그런 식별자 프로퍼티""를 필요로 할 것이다. 사실 대부분의 어플리케이션들(특히 웹 어플리케이션들)은 ""식별자에 의해 객체들을 구분지을 필요가 있어서, 당신은 이것을 어떤 제약점이라""기 보다는 하나의 특징으로 간주할 것이다. 하지만 우리는 대개 객체의 항등""(identity)를 처리하지 않으므로, setter 메소드는 private이어야 한다. 객체가 저""장될 때, Hibernate는 단지 식별자들을 할당할 것이다. 당신은 Hibernate가 ""public, private, protected 접근자 메소드들 뿐만 아니라 (public, private, ""protected) 필드들에도 직접 접근할 수 있음을 알 수 있다. 선택은 당신에게 달려 ""있으며, 당신은 당신의 어플리케이션 설계에 적합하도록 그것을 부합시킬 수 있다."#. Tag: para#: tutorial.xml:96#, no-c-formatmsgid """The no-argument constructor is a requirement for all persistent classes; ""Hibernate has to create objects for you, using Java Reflection. The ""constructor can be private, however, package visibility is required for ""runtime proxy generation and efficient data retrieval without bytecode ""instrumentation."msgstr """아규먼트 없는 생성자는 모든 영속 클래스들에 대한 필요조건이다; Hibernate는 당""신을 위해 Java Reflection을 사용하여 객체들을 생성시켜야 한다. 하지만 생성자""는 private 일 수 있고, 패키지 가시성은 런타임 프락시 생성과 바이트코드 방편 ""없는 효율적인 데이터 검색에 필요하다."#. Tag: para#: tutorial.xml:103#, no-c-formatmsgid """Place this Java source file in a directory called <literal>src</literal> in ""the development folder, and in its correct package. The directory should now ""look like this:"msgstr """이 Java 소스 파일을 개발 폴더 내의 <literal>src</literal>로 명명된 디렉토리 ""속에 있는 위치지워라. 이제 그 디렉토리는 다음과 같을 것이다:"#. Tag: programlisting#: tutorial.xml:108#, no-c-formatmsgid """<![CDATA[.\n""+lib\n""  <Hibernate and third-party libraries>\n""+src\n""  +events\n""    Event.java]]>"msgstr ""#. Tag: para#: tutorial.xml:110#, no-c-formatmsgid "In the next step, we tell Hibernate about this persistent class."msgstr "다음 단계에서, 우리는 Hiberante에게 이 영속 클래스에 대해 알려 준다."

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -