|
Hibernate example source code file (query_sql.po)
This example Hibernate source code file (query_sql.po) is included in the DevDaily.com
"Java Source Code
Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.
The Hibernate query_sql.po source code
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2010-02-04T04:51:22\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
#, no-c-format
msgid "Native SQL"
msgstr "Native SQL"
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"You can also express queries in the native SQL dialect of your database. "
"This is useful if you want to utilize database-specific features such as "
"query hints or the <literal>CONNECT keyword in Oracle. It also "
"provides a clean migration path from a direct SQL/JDBC based application to "
"Hibernate."
msgstr ""
"ë‹¹ì‹ ì€ ë˜í•œ ë‹¹ì‹ ì˜ ë°ì´í„°ë² ì´ìŠ¤ì˜ native SQL dialectë¡œ 질ì˜ë“¤ì„ í‘œí˜„í• ìˆ˜ë„ "
"있다. ë‹¹ì‹ ì´ ì˜¤ë¼í´ì˜ ì§ˆì˜ ížŒíŠ¸ë“¤ ë˜ëŠ” <literal>CONNECT 키워드와 ê°™"
"ì€ ë°ì´í„°ë² ì´ìŠ¤ ì§€ì •ì ì¸ íŠ¹ì§•ë“¤ì„ í™œìš©í•˜ê³ ìž ì›í• ê²½ìš°ì— ì´ê²ƒì´ ìœ ìš©í•˜ë‹¤. ê·¸"
"ê²ƒì€ ë˜í•œ ì§ì ‘ì ì¸ SQL/JDBC ê¸°ë°˜ì˜ ì–´í”Œë¦¬ì¼€ì´ì…˜ìœ¼ë¡œë¶€í„° Hibernateë¡œì˜ ë³´ë‹¤ 명"
"료한 ì´ì „ 경로를 ì œê³µí•œë‹¤."
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"Hibernate3 allows you to specify handwritten SQL, including stored "
"procedures, for all create, update, delete, and load operations."
msgstr ""
"Hibernate3ì€ ë˜í•œ ëª¨ë“ create, update, delete, load 오í¼ë ˆì´ì…˜ë“¤ì— 대해 (ë‚´"
"장 í”„ë¡œì‹œì €ë“¤ì„ í¬í•¨í•˜ì—¬) ì†ìœ¼ë¡œ ìž‘ì„±ëœ SQLì„ ì§€ì •í•˜ëŠ” ê²ƒì„ ë‹¹ì‹ ì—게 허용해준"
"다."
#. Tag: title
#, no-c-format
msgid "Using a <literal>SQLQuery"
msgstr "<literal>SQLQuery 사용하기"
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"Execution of native SQL queries is controlled via the <literal>SQLQuerySession."
"createSQLQuery()</literal>. The following sections describe how to use this "
"API for querying."
msgstr ""
"native SQL 질ì˜ë“¤ì˜ ì‹¤í–‰ì€ <literal>SQLQuery ì¸í„°íŽ˜ì´ìŠ¤ë¥¼ 통해 ì œì–´"
"ë˜ë©°, ê·¸ê²ƒì€ <literal>Session.createSQLQuery()ì„ í˜¸ì¶œí•˜ì—¬ íšë“ëœ"
"다. 다ìŒì€ ì´ API를 질ì˜ì— 사용하는 ë°©ë²•ì„ ì„¤ëª…í•œë‹¤."
#. Tag: title
#, no-c-format
msgid "Scalar queries"
msgstr "ìŠ¤ì¹¼ë¼ ì§ˆì˜ë“¤"
#. Tag: para
#, no-c-format
msgid "The most basic SQL query is to get a list of scalars (values)."
msgstr "가장 기본ì ì¸ SQL 질ì˜ëŠ” 스칼ë¼ë“¤(값들)ì˜ ëª©ë¡ì„ 얻는 것ì´ë‹¤."
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"These will return a List of Object arrays (Object[]) with scalar values for "
"each column in the CATS table. Hibernate will use ResultSetMetadata to "
"deduce the actual order and types of the returned scalar values."
msgstr ""
"ì´ê²ƒë“¤ì€ 둘다 CATS í…Œì´ë¸” ë‚´ì— ìžˆëŠ” ê°ê°ì˜ ì»¬ëŸ¼ì— ëŒ€í•œ ìŠ¤ì¹¼ë¼ ê°’ë“¤ì„ ê°€ì§„ "
"Object ë°°ì—´ë“¤ì˜ List를 ë°˜í™˜í• ê²ƒì´ë‹¤. Hibernate는 반환ë˜ëŠ” ìŠ¤ì¹¼ë¼ ê°’ë“¤ì˜ ì‹¤"
"ì œ 순서와 íƒ€ìž…ë“¤ì„ ë„ì¶œí•˜ëŠ”ë° ResultSetMetadata를 ì‚¬ìš©í• ê²ƒì´ë‹¤."
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"To avoid the overhead of using <literal>ResultSetMetadata, or "
"simply to be more explicit in what is returned, one can use "
"<literal>addScalar():"
msgstr ""
"<literal>ResultSetMetadata ì‚¬ìš©ì˜ ì˜¤ë²„í—¤ë“œë¥¼ 피하거나 간단하게는 ë°˜"
"환ë˜ëŠ” ê²ƒì„ ë³´ë‹¤ 명시ì ì´ê²Œë” 하기 위해 우리는 <literal>addScalar()"
"를 ì‚¬ìš©í• ìˆ˜ 있다."
#. Tag: para
#, no-c-format
msgid "This query specified:"
msgstr "ì´ ì§ˆì˜ëŠ” 다ìŒì„ ì§€ì •í–ˆë‹¤:"
#. Tag: para
#, no-c-format
msgid "the SQL query string"
msgstr "SQL ì§ˆì˜ ë¬¸ìžì—´"
#. Tag: para
#, no-c-format
msgid "the columns and types to return"
msgstr "ë°˜í™˜í• ì»¬ëŸ¼ë“¤ê³¼ 타입들"
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"This will return Object arrays, but now it will not use "
"<literal>ResultSetMetadata but will instead explicitly get the ID, "
"NAME and BIRTHDATE column as respectively a Long, String and a Short from "
"the underlying resultset. This also means that only these three columns will "
"be returned, even though the query is using <literal>* and could "
"return more than the three listed columns."
msgstr ""
"ì´ê²ƒì€ ì—¬ì „ížˆ Object ë°°ì—´ë“¤ì„ ë°˜í™˜í• ê²ƒì´ì§€ë§Œ, ì´ì œ ê·¸ê²ƒì€ "
"<literal>ResultSetMetdata를 사용하지 ì•Šì„ ê²ƒì´ê³ ëŒ€ì‹ ì— ê¸°ë°˜ 결과셋"
"으로부터 ID, NAME ê·¸ë¦¬ê³ BIRTHDATE ì»¬ëŸ¼ì„ ê°ê° Long, String ê·¸ë¦¬ê³ Short 타입"
"으로 ë°˜í™˜í• ê²ƒì´ë‹¤. 심지어 ê·¸ 질ì˜ê°€ <literal>*를 ì‚¬ìš©í•˜ê³ ì„¸ ê°œì˜ "
"ì—´ê±°ëœ ì»¬ëŸ¼ë“¤ 보다 ë” ë§Žì€ ê²ƒì„ ë°˜í™˜í• ìˆ˜ 있ì„지ë¼ë„, ì´ê²ƒì€ ë˜í•œ ì˜¤ì§ ì´ë“¤ "
"세 ê°œì˜ ì»¬ëŸ¼ë“¤ ë§Œì´ ë°˜í™˜ë ê²ƒìž„ì„ ì˜ë¯¸í•œë‹¤."
#. Tag: para
#, no-c-format
msgid ""
"It is possible to leave out the type information for all or some of the "
"scalars."
msgstr "스칼ë¼ë“¤ 중 몇몇 ë˜ëŠ” ì „ë¶€ì— ëŒ€í•œ 타입 ì •ë³´ë¥¼ 남겨ë‘는 ê²ƒì´ ê°€ëŠ¥í•˜ë‹¤."
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"This is essentially the same query as before, but now "
"<literal>ResultSetMetaData is used to determine the type of NAME "
"and BIRTHDATE, where as the type of ID is explicitly specified."
msgstr ""
"ì´ê²ƒì€ 본질ì 으로 ì•žì˜ ê²ƒê³¼ ë™ì¼í•œ 질ì˜ì´ì§€ë§Œ, ì´ì œ "
"<literal>ResultSetMetaData는 IDì˜ íƒ€ìž…ì´ ëª…ì‹œì 으로 ì§€ì •ë˜ì–´ 있으므"
"ë¡œ NAMEê³¼ BIRTHDATEì˜ íƒ€ìž…ì„ ê²°ì •í•˜ëŠ”ë° ì‚¬ìš©ëœë‹¤."
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"How the java.sql.Types returned from ResultSetMetaData is mapped to "
"Hibernate types is controlled by the Dialect. If a specific type is not "
"mapped, or does not result in the expected type, it is possible to customize "
"it via calls to <literal>registerHibernateType in the Dialect."
msgstr ""
"java.sql.Types returned from ResultSetMetaDataì´ Hibernate 타입들로 매핑ë˜ëŠ” "
"ë°©ë²•ì€ Dialectì— ì˜í•´ ì œì–´ëœë‹¤. ë§Œì¼ íŠ¹ì • íƒ€ìž…ì´ ë§¤í•‘ë˜ì§€ 않거나 예ìƒë˜ëŠ” 타"
"입으로 귀결ë˜ì§€ ì•Šì„ ê²½ìš°ì— Dialect ë‚´ì— ìžˆëŠ” "
"<literal>registerHibernateTypeì— ëŒ€í•œ í˜¸ì¶œë“¤ì„ í†µí•´ ê·¸ê²ƒì„ ë§žì¶¤í™” "
"시키는 ê²ƒì´ ê°€ëŠ¥í•˜ë‹¤."
#. Tag: title
#, no-c-format
msgid "Entity queries"
msgstr "Entity 질ì˜ë“¤"
#. Tag: para
#, no-c-format
msgid ""
"The above queries were all about returning scalar values, basically "
"returning the \"raw\" values from the resultset. The following shows how to "
"get entity objects from a native sql query via <literal>addEntity()"
"를 통해 native sql 질ì˜ë¡œë¶€í„° 엔티티 ê°ì²´ë“¤ì„ 얻는 ë°©ë²•ì„ ë³´ì—¬ì¤€ë‹¤."
#. Tag: para
#, no-c-format
msgid "the entity returned by the query"
msgstr "ê·¸ 질ì˜ì— ì˜í•´ 반환ë˜ëŠ” 엔티티"
#. Tag: para
#, no-c-format
msgid ""
"Assuming that Cat is mapped as a class with the columns ID, NAME and "
"BIRTHDATE the above queries will both return a List where each element is a "
"Cat entity."
msgstr ""
"Catì´ ì»¬ëŸ¼ ID, NAME ê·¸ë¦¬ê³ BIRTHDATE로서 매핑ëœë‹¤ê³ ê°€ì •í•˜ë©´, ìœ„ì˜ ì§ˆì˜ë“¤ì€ "
"둘다 ê°ê°ì˜ 요소가 í•˜ë‚˜ì˜ Cat ì—”í‹°í‹°ì¸ í•˜ë‚˜ì˜ List를 ë°˜í™˜í• ê²ƒì´ë‹¤."
#. Tag: para
#, no-c-format
msgid ""
"If the entity is mapped with a <literal>many-to-one to another "
"entity it is required to also return this when performing the native query, "
"otherwise a database specific \"column not found\" error will occur. The "
"additional columns will automatically be returned when using the * notation, "
"but we prefer to be explicit as in the following example for a <literal>many-"
"to-one</literal> to a Dog:"
msgstr ""
"ë§Œì¼ ê·¸ 엔티티가 ë˜ ë‹¤ë¥¸ ì—”í‹°í‹°ì— ëŒ€í•´ <literal>many-to-oneë¡œ 매핑"
"ë˜ì–´ 있다면 ë˜í•œ native 질ì˜ë¥¼ ì‹¤í–‰í• ë•Œ ì´ê²ƒì„ 반환하는 ê²ƒì´ í•„ìˆ˜ì ê³ , ê·¸ ë°–"
"ì˜ ê²½ìš° ë°ì´í„°ë² ì´ìŠ¤ ì§€ì •ì ì¸ \"ì»¬ëŸ¼ì´ ë°œê²¬ë˜ì§€ 않았습니다\" 오류가 ì¼ì–´ë‚ 것"
"ì´ë‹¤. 추가ì ì¸ ì»¬ëŸ¼ì€ * 표기를 ì‚¬ìš©í• ìžë™ì 으로 반환ë 것ì´ì§€ë§Œ, 우리는 다"
"ìŒ <literal>Dogì— ëŒ€í•œ many-to-one ì˜ˆì œì—서처럼 "
"명시ì ì¸ ê²ƒì„ ë” ì„ í˜¸í•œë‹¤:"
#. Tag: para
#, no-c-format
msgid "This will allow cat.getDog() to function properly."
msgstr "ì´ê²ƒì€ cat.getDog()ì´ ê³ ìœ í•˜ê²Œ 기능하는 ê²ƒì„ í—ˆìš©í•œë‹¤."
#. Tag: title
#, no-c-format
msgid "Handling associations and collections"
msgstr "연관들과 ì½œë ‰ì…˜ë“¤ì„ ì²˜ë¦¬í•˜ê¸°"
#. Tag: para
#, no-c-format
msgid ""
"It is possible to eagerly join in the <literal>Dog to avoid the "
"possible extra roundtrip for initializing the proxy. This is done via the "
"<literal>addJoin() method, which allows you to join in an "
"association or collection."
msgstr ""
"프ë½ì‹œë¥¼ 초기화 ì‹œí‚´ì— ìžˆì–´ 가능한 특별한 ë¼ìš´ë“œíŠ¸ë¦½ì„ 피하기 위해서 "
"<literal>Dogì—ì„œ eagerly join시키는 ê²ƒì´ ê°„ìœ¼í•˜ë‹¤. ì´ê²ƒì€ "
"<literal>addJoin() 메소드를 통해 행해지는ë°, ê·¸ê²ƒì€ ì—°ê´€ì´ë‚˜ ì½œë ‰"
"ì…˜ ë‚´ì—ì„œ ì¡°ì¸ì‹œí‚¤ëŠ” ê²ƒì„ ë‹¹ì‹ ì—게 허용해준다."
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"In this example, the returned <literal>Cat's will have their "
"<literal>dog property fully initialized without any extra "
"roundtrip to the database. Notice that you added an alias name (\"cat\") to "
"be able to specify the target property path of the join. It is possible to "
"do the same eager joining for collections, e.g. if the <literal>CatDog instead."
msgstr ""
"ì´ ì˜ˆì œì—ì„œ 반환ë˜ëŠ” <literal>Catë“¤ì€ ë°ì´í„°ë² ì´ìŠ¤ì— 대한 ìž„ì˜ì˜ 특"
"별한 ë¼ìš´ë“œí¬ë¦½ ì—†ì´ ì „ì²´ì 으로 ì´ˆê¸°í™”ëœ ê·¸ê²ƒë“¤ì˜ <literal>dog 프로"
"í¼í‹°ë¥¼ 갖는다. 우리가 joinì˜ ëŒ€ìƒ í”„ë¡œí¼í‹° 경로를 ì§€ì •í•˜ëŠ” ê²ƒì„ ê°€ëŠ¥í•˜ë„ë¡ í•˜"
"기 위해 í•˜ë‚˜ì˜ alias ì´ë¦„(\"cat\")ì„ ì¶”ê°€í–ˆìŒì„ 주지하ë¼. ëŒ€ì‹ ì— ì˜ˆë¥¼ 들어 "
"<literal>Catì´ Dogì— ëŒ€í•´ one-to-many를 가질 ê²½"
"ìš°, ì½œë ‰ì…˜ë“¤ì— ëŒ€í•´ ë™ì¼í•œ eager joiningì„ í–‰í•˜ëŠ” ê²ƒì´ ê°€ëŠ¥í•˜ë‹¤."
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"At this stage you are reaching the limits of what is possible with native "
"queries, without starting to enhance the sql queries to make them usable in "
"Hibernate. Problems can arise when returning multiple entities of the same "
"type or when the default alias/column names are not enough."
msgstr ""
"ì´ ë‹¨ê³„ì—ì„œ 우리는 Hibernateì—ì„œ native 질ì˜ë“¤ì„ 사용가능하ë„ë¡ ë§Œë“¤ê¸° 위해 "
"sql 질ì˜ë“¤ì„ 강화시키지는 ê²ƒì„ ì‹œìž‘í•˜ì§€ ì•Šê³ ì„œë„ native 질ì˜ë“¤ë¡œì„œ 가능한 것"
"ì˜ í•œê³„ì— ë„ë‹¬í•˜ê³ ìžˆë‹¤; ë¬¸ì œì ë“¤ì€ ë™ì¼í•œ íƒ€ìž…ì˜ ì—¬ëŸ¬ ì—”í‹°í‹°ë“¤ì„ ë°˜í™˜í• ë•Œ "
"ë˜ëŠ” ë””í´íŠ¸ alias/column ì´ë¦„ë“¤ì´ ì¶©ë¶„í•˜ì§€ ì•Šì„ ë•Œ ë°œìƒí•˜ê¸° 시작한다."
#. Tag: title
#, no-c-format
msgid "Returning multiple entities"
msgstr "여러 ê°œì˜ ì—”í‹°í‹°ë“¤ì„ ë°˜í™˜í•˜ê¸°"
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"Until now, the result set column names are assumed to be the same as the "
"column names specified in the mapping document. This can be problematic for "
"SQL queries that join multiple tables, since the same column names can "
"appear in more than one table."
msgstr ""
"지금까지 ê²°ê³¼ ì…‹ 컬럼 ì´ë¦„ë“¤ì€ ë§¤í•‘ 문서 ë‚´ì— ì§€ì •ëœ ì»¬ëŸ¼ ì´ë¦„들과 ë™ì¼í•˜ë‹¤"
"ê³ ê°€ì •ë˜ì–´ 있다. ë™ì¼í•œ ì»¬ëŸ¼ì´ í•˜ë‚˜ ì´ìƒì˜ í…Œì´ë¸” ë‚´ì—ì„œ ë‚˜íƒ€ë‚ ìˆ˜ 있기 때문"
"ì—, ì´ê²ƒì€ 여러 ê°œì˜ í…Œì´ë¸”ë“¤ì„ ì¡°ì¸ì‹œí‚¤ëŠ” SQL 질ì˜ë“¤ì— 대해 ë¬¸ì œê°€ ë 수 있"
"다."
#. Tag: para
#, no-c-format
msgid ""
"Column alias injection is needed in the following query (which most likely "
"will fail):"
msgstr "컬럼 alias ì£¼ìž…ì€ ë‹¤ìŒ ì§ˆì˜(아마 ì‹¤íŒ¨í• ê²ƒì´ë‹¤)ì—ì„œ 필요하다:"
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"The query was intended to return two Cat instances per row: a cat and its "
"mother. The query will, however, fail because there is a conflict of names; "
"the instances are mapped to the same column names. Also, on some databases "
"the returned column aliases will most likely be on the form \"c.ID\", \"c."
"NAME\", etc. which are not equal to the columns specified in the mappings "
"(\"ID\" and \"NAME\")."
msgstr ""
"ì´ ì§ˆì˜ì˜ 목ì ì€ ë‹¨ìœ„ í–‰ 당 ë‘ ê°œì˜ Cat ì¸ìŠ¤í„´ìŠ¤ë“¤, í•˜ë‚˜ì˜ cat ê·¸ë¦¬ê³ ê·¸ê²ƒì˜ "
"mother를 반환하는 것ì´ë‹¤. 왜ëƒí•˜ë©´ ê·¸ê²ƒë“¤ì´ ë™ì¼í•œ 컬럼 ì´ë¦„들로 매핑ë˜ì–´ 있"
"기 ë•Œë¬¸ì— ì´ê²ƒì€ ì‹¤íŒ¨í• ê²ƒì´ê³ ë°ì´ë² ì´ìŠ¤ ìƒì—ì„œ ë°˜í™˜ëœ ì»¬ëŸ¼ aliasë“¤ì€ ì•„ë§ˆ "
"매핑들 ë‚´ì— ì§€ì •ëœ ì»¬ëŸ¼ë“¤(\"ID\" 와 \"NAME\")ê³¼ 같지 ì•Šì€ \"c.ID\", \"c.NAME"
"\" ë“±ì˜ í˜•ì‹ì¼ 것ì´ë‹¤."
#. Tag: para
#, no-c-format
msgid "The following form is not vulnerable to column name duplication:"
msgstr "ë‹¤ìŒ í˜•ì‹ì€ 컬럼 ì´ë¦„ 중복 취약ì ì„ ê°–ì§€ 않는다:"
#. Tag: para
#, no-c-format
msgid ""
"the SQL query string, with placeholders for Hibernate to inject column "
"aliases"
msgstr ""
"컬럼 aliasë“¤ì„ ì£¼ìž…í•˜ê¸° 위한 Hibernateìš© placeholderë“¤ì„ ê°€ì§„ SQL ì§ˆì˜ ë¬¸ìžì—´"
#. Tag: para
#, no-c-format
msgid "the entities returned by the query"
msgstr "ê·¸ 질ì˜ì— ì˜í•´ 반환ë˜ëŠ” 엔티티들"
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"The {cat.*} and {mother.*} notation used above is a shorthand for \"all "
"properties\". Alternatively, you can list the columns explicitly, but even "
"in this case Hibernate injects the SQL column aliases for each property. The "
"placeholder for a column alias is just the property name qualified by the "
"table alias. In the following example, you retrieve Cats and their mothers "
"from a different table (cat_log) to the one declared in the mapping "
"metadata. You can even use the property aliases in the where clause."
msgstr ""
"ìœ„ì— ì‚¬ìš©ëœ {cat.*} ê³¼ {mother.*} 표기는 \"ëª¨ë“ í”„ë¡œí¼í‹°ë“¤\"ì— ëŒ€í•œ ìƒëžµì´"
"다. 다른 방법으로 ë‹¹ì‹ ì€ ì»¬ëŸ¼ë“¤ì„ ëª…ì‹œì 으로 ì—´ê±°í• ìˆ˜ë„ ìžˆì§€ë§Œ, ì´ ê²½ìš°ì— ìš°"
"리는 Hibernateë¡œ 하여금 SQL 컬럼 aliasë“¤ì„ ê°ê°ì˜ ì»¬ëŸ¼ì— ì£¼ìž…ì‹œí‚¤ë„ë¡ ê°•ì œí•œ"
"다. 컬럼 alias를 위한 placeholder는 단지 ê·¸ í…Œì´ë¸” aliasì— ì˜í•´ 수ì‹ëœ 프로í¼"
"í‹° ì´ë¦„ì´ë‹¤. ë‹¤ìŒ ì˜ˆì œì—ì„œ, 우리는 다른 í…Œì´ë¸”(cat_log)로부터 매핑 메타ë°ì´"
"í„° ë‚´ì— ì„ ì–¸ëœ ê²ƒìœ¼ë¡œì˜ Cat들과 ê·¸ê²ƒë“¤ì˜ motherë“¤ì„ ê²€ìƒ‰í•œë‹¤. 우리는 우리가 "
"좋다면 심지어 where ì ˆ ë‚´ì— í”„ë¡œí¼í‹° alias를 ì‚¬ìš©í• ìˆ˜ë„ ìžˆìŒì„ 주지하ë¼."
#. Tag: title
#, no-c-format
msgid "Alias and property references"
msgstr "alias 참조와 프로í¼í‹° 참조"
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"In most cases the above alias injection is needed. For queries relating to "
"more complex mappings, like composite properties, inheritance "
"discriminators, collections etc., you can use specific aliases that allow "
"Hibernate to inject the proper aliases."
msgstr ""
"ëŒ€ë¶€ë¶„ì˜ ê²½ìš°ì— ìœ„ì˜ alias ì£¼ìž…ì´ í•„ìš”í•˜ì§€ë§Œ, composite 프로í¼í‹°ë“¤, ìƒì† íŒë³„"
"ìžë“¤ (inheritance discriminators), ì½œë ‰ì…˜ 등과 ê°™ì€ ë³´ë‹¤ 복잡한 매핑들과 ê´€ë ¨"
"ëœ ì§ˆì˜ë“¤ì˜ 경우ì—는 ê³ ìœ í•œ aliasë“¤ì„ ì£¼ìž…ì‹œí‚¤ëŠ” ê²ƒì„ Hibernateì—게 허용하는"
"ë° ì‚¬ìš©ë 몇몇 특별한 aliasë“¤ì´ ì¡´ìž¬í•œë‹¤."
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"The following table shows the different ways you can use the alias "
"injection. Please note that the alias names in the result are simply "
"examples; each alias will have a unique and probably different name when "
"used."
msgstr ""
"ë‹¤ìŒ í…Œì´ë¸”ì€ alias ì£¼ìž…ì„ ì‚¬ìš©í•˜ëŠ” 다른 ê°€ëŠ¥ì„±ë“¤ì„ ë³´ì—¬ì¤€ë‹¤. 노트: ê²°ê³¼ ë‚´"
"ì— ìžˆëŠ” alias ì´ë¦„ë“¤ì´ ì˜ˆì œì´ë©°, ê°ê°ì˜ alias는 사용ë ë•Œ í•˜ë‚˜ì˜ ìœ ì¼í•œ ì´ë¦„"
"ê³¼ 아마 다른 ì´ë¦„ì„ ê°€ì§ˆ 것ì´ë‹¤."
#. Tag: title
#, no-c-format
msgid "Alias injection names"
msgstr "alias 주입 ì´ë¦„들"
#. Tag: entry
#, no-c-format
msgid "Description"
msgstr "설명"
#. Tag: entry
#, no-c-format
msgid "Syntax"
msgstr "구문"
#. Tag: entry
#, no-c-format
msgid "Example"
msgstr "ì˜ˆì œ"
#. Tag: entry
#, no-c-format
msgid "A simple property"
msgstr "간단한 프로í¼í‹°"
#. Tag: entry
#, fuzzy, no-c-format
msgid "<literal>{[aliasname].[propertyname]"
msgstr "{[aliasname].[propertyname]"
#. Tag: entry
#, fuzzy, no-c-format
msgid "<literal>A_NAME as {item.name}"
msgstr "A_NAME as {item.name}"
#. Tag: entry
#, no-c-format
msgid "A composite property"
msgstr "composite 프로í¼í‹°"
#. Tag: entry
#, fuzzy, no-c-format
msgid "<literal>{[aliasname].[componentname].[propertyname]}"
msgstr "{[aliasname].[componentname].[propertyname]}"
#. Tag: entry
#, fuzzy, no-c-format
msgid ""
"<literal>CURRENCY as {item.amount.currency}, VALUE as {item.amount.value}"
msgstr "{[aliasname].class}"
#. Tag: entry
#, fuzzy, no-c-format
msgid "<literal>DISC as {item.class}"
msgstr "DISC as {item.class}"
#. Tag: entry
#, no-c-format
msgid "All properties of an entity"
msgstr "ì—”í‹°í‹°ì˜ ëª¨ë“ í”„ë¡œí¼í‹°ë“¤"
#. Tag: entry
#, fuzzy, no-c-format
msgid "<literal>{[aliasname].*}"
msgstr "{[aliasname].*}"
#. Tag: entry
#, fuzzy, no-c-format
msgid "<literal>{item.*}"
msgstr "<literal>SQLQuery 사용하기"
#. Tag: entry
#, no-c-format
msgid "A collection key"
msgstr "ì½œë ‰ì…˜ 키"
#. Tag: entry
#, fuzzy, no-c-format
msgid "<literal>{[aliasname].key}"
msgstr "{[aliasname].key}"
#. Tag: entry
#, fuzzy, no-c-format
msgid "<literal>ORGID as {coll.key}"
msgstr "ORGID as {coll.key}"
#. Tag: entry
#, no-c-format
msgid "The id of an collection"
msgstr "ì½œë ‰ì…˜ì˜ id"
#. Tag: entry
#, fuzzy, no-c-format
msgid "<literal>{[aliasname].id}"
msgstr "{[aliasname].id}"
#. Tag: entry
#, fuzzy, no-c-format
msgid "<literal>EMPID as {coll.id}"
msgstr "EMPID as {coll.id}"
#. Tag: entry
#, no-c-format
msgid "The element of an collection"
msgstr "ì½œë ‰ì…˜ì˜ ìš”ì†Œ"
#. Tag: entry
#, fuzzy, no-c-format
msgid "<literal>{[aliasname].element}"
msgstr "{[aliasname].element}"
#. Tag: entry
#, fuzzy, no-c-format
msgid "<literal>XID as {coll.element}"
msgstr "XID as {coll.element}"
#. Tag: entry
#, fuzzy, no-c-format
msgid "property of the element in the collection"
msgstr "ì½œë ‰ì…˜ ë‚´ì— ìžˆëŠ” ìš”ì†Œì˜ í”„ë¡œí¼í‹°"
#. Tag: entry
#, fuzzy, no-c-format
msgid "<literal>{[aliasname].element.[propertyname]}"
msgstr "{[aliasname].element.[propertyname]}"
#. Tag: entry
#, fuzzy, no-c-format
msgid "<literal>NAME as {coll.element.name}"
msgstr "NAME as {coll.element.name}"
#. Tag: entry
#, no-c-format
msgid "All properties of the element in the collection"
msgstr "ì½œë ‰ì…˜ ë‚´ì— ìžˆëŠ” ìš”ì†Œì˜ ëª¨ë“ í”„ë¡œí¼í‹°ë“¤"
#. Tag: entry
#, fuzzy, no-c-format
msgid "<literal>{[aliasname].element.*}"
msgstr "{[aliasname].element.*}"
#. Tag: entry
#, fuzzy, no-c-format
msgid "<literal>{coll.element.*}"
msgstr "{coll.element.*}"
#. Tag: entry
#, no-c-format
msgid "All properties of the the collection"
msgstr "ì½œë ‰ì…˜ì˜ ëª¨ë“ í”„ë¡œí¼í‹°ë“¤"
#. Tag: entry
#, fuzzy, no-c-format
msgid "<literal>{coll.*}"
msgstr "<literal>SQLQuery 사용하기"
#. Tag: title
#, no-c-format
msgid "Returning non-managed entities"
msgstr "non-managed ì—”í‹°í‹°ë“¤ì„ ë°˜í™˜í•˜ê¸°"
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"It is possible to apply a ResultTransformer to native SQL queries, allowing "
"it to return non-managed entities."
msgstr ""
"native sql 질ì˜ì— ResultTransformer를 ì 용하는 ê²ƒì´ ê°€ëŠ¥í•˜ë‹¤. 예를 들어 non-"
"managed ì—”í‹°í‹°ë“¤ì„ ë°˜í™˜í•˜ê¸° 위해 ResultTransformer를 허용하는 것."
#. Tag: para
#, no-c-format
msgid "a result transformer"
msgstr "ê²°ê³¼ 변환ìž(transformer)"
#. Tag: para
#, no-c-format
msgid ""
"The above query will return a list of <literal>CatDTO which has "
"been instantiated and injected the values of NAME and BIRTHNAME into its "
"corresponding properties or fields."
msgstr ""
"ìœ„ì˜ ì§ˆì˜ëŠ” 초기화ë˜ì–´ ìžˆê³ NAMEê³¼ BIRTHNAMEì˜ ê°’ë“¤ì„ <literal>CatDTOCatDTO need to call addEntity()."
msgstr ""
"ëª…ëª…ëœ SQL 질ì˜ë“¤ì€ HQL 질ì˜ì™€ ë™ì¼í•œ 방법으로 매핑 문서 ì†ì— ì •ì˜ë 수 ìžˆê³ "
"ì •í™•í•˜ê²Œ 호출ë ìˆ˜ë„ ìžˆë‹¤. ì´ ê²½ìš°ì—, 우리는 <literal>addEntity() "
"í˜¸ì¶œì„ í•„ìš”ë¡œ 하지 <emphasis>않는다."
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"The <literal><return-join> element is use to join "
"associations and the <literal><load-collection> element is "
"used to define queries which initialize collections,"
msgstr ""
"<literal><return-join> 요소와 <load-"
"collection></literal> 요소는 ì—°ê´€ë“¤ì„ ì¡°ì¸ì‹œí‚¤ê³ ì½œë ‰ì…˜ë“¤ì„ ê°ê° 초기화 ì‹œ"
"키는 질ì˜ë“¤ì„ ì •ì˜í•˜ëŠ”ë° ì‚¬ìš©ëœë‹¤."
#. Tag: para
#, no-c-format
msgid ""
"A named SQL query may return a scalar value. You must declare the column "
"alias and Hibernate type using the <literal><return-scalar> "
"element:"
msgstr ""
"ëª…ëª…ëœ SQL 질ì˜ëŠ” ìŠ¤ì¹¼ë¼ ê°’ì„ ë°˜í™˜í• ìˆ˜ë„ ìžˆë‹¤. ë‹¹ì‹ ì€ <literal><return-"
"scalar></literal> 요소를 사용하여 컬럼 alias와 Hibernate íƒ€ìž…ì„ ì„ ì–¸í•´ì•¼ "
"한다:"
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"You can externalize the resultset mapping information in a <literal><"
"resultset></literal> element which will allow you to either reuse them "
"across several named queries or through the <literal>setResultSetMapping() API를 통해 결과셋 ë§¤í•‘ì •ë³´ë“¤ì„ ìž¬ì‚¬"
"용하기 위해 <literal><resultset> 요소 ì†ì— 결과셋 매핑 ì •ë³´ë“¤"
"ì„ êµ¬ì²´í™” 시킬 수 있다."
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"You can, alternatively, use the resultset mapping information in your hbm "
"files directly in java code."
msgstr ""
"다른방법으로 ë‹¹ì‹ ì€ ë‹¹ì‹ ì˜ hbm 파ì¼ë“¤ ë‚´ì— ì§ì ‘ ìžë°” 코드로 ëœ ê²°ê³¼ì…‹ 매핑 ì •"
"보를 ì‚¬ìš©í• ìˆ˜ 있다."
#. Tag: title
#, no-c-format
msgid "Using return-property to explicitly specify column/alias names"
msgstr "명시ì 으로 column/alias ì´ë¦„ë“¤ì„ ì§€ì •í•˜ëŠ”ë° return-property 사용하기"
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"You can explicitly tell Hibernate what column aliases to use with "
"<literal><return-property>, instead of using the {}"
"</literal>-syntax to let Hibernate inject its own aliases.For example:"
msgstr ""
"Hibernateë¡œ 하여금 그것 ìžì‹ ì˜ aliasë“¤ì„ ë¼ì›Œë„£ë„ë¡ í•˜ê¸° 위해 <literal>{}<return-property> also works with multiple columns. "
"This solves a limitation with the <literal>{}-syntax which cannot "
"allow fine grained control of multi-column properties."
msgstr ""
"<literal><return-property>는 ë˜í•œ 다중 ì»¬ëŸ¼ë“¤ì— ëŒ€í•´ ë™ìž‘í•œ"
"다. ì´ê²ƒì€ 다중-컬럼 프로í¼í‹°ë“¤ì— 대한 fine grained ì œì–´ë¥¼ í—ˆìš©í• ìˆ˜ 없는 "
"<literal>{}-êµ¬ë¬¸ì„ ê°€ì§„ ì œì•½ì„ í•´ê²°í•´ì¤€ë‹¤."
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"In this example <literal><return-property> was used in "
"combination with the <literal>{}-syntax for injection. This allows "
"users to choose how they want to refer column and properties."
msgstr ""
"ì´ ì˜ˆì œì—ì„œ 우리는 ë¼ì›Œë„£ê¸°(injection)를 위해 <literal>{}-구문과 함"
"께 <literal><return-property>를 사용했ìŒì„ 주목하ë¼. 사용ìžë“¤"
"ì´ ì»¬ëŸ¼ê³¼ 프로í¼í‹°ë“¤ì„ ì°¸ì¡°í•˜ê³ ìž ì›í•˜ëŠ” ë°©ë²•ì„ ì„ íƒí•˜ëŠ” ê²ƒì„ ì‚¬ìš©ìžë“¤ì—게 í—ˆ"
"용해줌으로ì¨."
#. Tag: para
#, no-c-format
msgid ""
"If your mapping has a discriminator you must use <literal><return-"
"discriminator></literal> to specify the discriminator column."
msgstr ""
"ë§Œì¼ ë‹¹ì‹ ì˜ ë§¤í•‘ì´ í•œ ê°œì˜ íŒë³„ìž(discriminator )를 가질 경우 ë‹¹ì‹ ì€ íŒë³„ìž "
"ì»¬ëŸ¼ì„ ì§€ì •í•˜ëŠ”ë° <literal><return-discriminator>를 사용해야 "
"한다."
#. Tag: title
#, no-c-format
msgid "Using stored procedures for querying"
msgstr "질ì˜ë¥¼ 위한 내장 í”„ë¡œì‹œì € 사용하기"
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"Hibernate3 provides support for queries via stored procedures and functions. "
"Most of the following documentation is equivalent for both. The stored "
"procedure/function must return a resultset as the first out-parameter to be "
"able to work with Hibernate. An example of such a stored function in Oracle "
"9 and higher is as follows:"
msgstr ""
"Hibernate 3ì€ ë‚´ìž¥ í”„ë¡œì‹œì €ë“¤ê³¼ í•¨ìˆ˜ë“¤ì„ í†µí•œ ì§ˆì˜ ì§€ì›ì„ ë„입한다. ëŒ€ë¶€ë¶„ì˜ "
"ë‹¤ìŒ ë¬¸ì„œëŠ” ì–‘ìž ëª¨ë‘ì— ë™ì¼í•˜ê²Œ ì ìš©ëœë‹¤. 내장 í”„ë¡œì‹œì €/함수는 Hibernate와 "
"ë™ìž‘하는 ê²ƒì´ ê°€ëŠ¥í•˜ë„ë¡ ì²« 번째 out-파ë¼ë¯¸í„°ë¡œì„œ í•œ ê°œì˜ ê²°ê³¼ì…‹ì„ ë°˜í™˜í•´ì•¼ "
"한다. Oracle9 ì´ìƒì˜ ë²„ì „ì—ì„œ 그런 내장 í”„ë¡œì‹œì €ì— ëŒ€í•œ ì˜ˆì œëŠ” 다ìŒê³¼ 같다:"
#. Tag: para
#, no-c-format
msgid "To use this query in Hibernate you need to map it via a named query."
msgstr ""
"Hibernateì—ì„œ ì´ ì§ˆì˜ë¥¼ 사용하기 위해 ë‹¹ì‹ ì€ í•˜ë‚˜ì˜ ëª…ëª…ëœ ì§ˆì˜(a named "
"query)를 통해 ê·¸ê²ƒì„ ë§¤í•‘í• í•„ìš”ê°€ 있다."
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"Stored procedures currently only return scalars and entities. <literal><"
"return-join></literal> and <load-collection> are "
"not supported."
msgstr ""
"내장 í”„ë¡œì‹œì €ë“¤ì€ í˜„ìž¬ 스칼ë¼ë“¤ê³¼ 엔티티들 ë§Œì„ ë°˜í™˜í•¨ì„ ì£¼ëª©í•˜ë¼. "
"<literal><return-join>ê³¼ <load-collection>. The rules are "
"different for each database, since database vendors have different stored "
"procedure semantics/syntax."
msgstr ""
"Hibernateì—ì„œ 내장 í”„ë¡œì‹œì €ë“¤ì„ ì‚¬ìš©í•˜ê¸° 위해서 í”„ë¡œì‹œì €ë“¤/í•¨ìˆ˜ë“¤ì€ ë‹¤ìŒ ëª‡"
"몇 ê·œì¹™ë“¤ì„ ë”°ë¼ì•¼ 한다. ë§Œì¼ ê·¸ê²ƒë“¤ì´ ê·¸ë“¤ ê·œì¹™ë“¤ì„ ë”°ë¥´ì§€ ì•Šì„ ê²½ìš° 그것들"
"ì€ Hibernate와 함께 사용 불가능하다. ë§Œì¼ ë‹¹ì‹ ì´ ì—¬ì „ížˆ ì´ë“¤ í”„ë¡œì‹œì €ë“¤ì„ ì‚¬"
"ìš©í•˜ê³ ìž ì›í• 경우, ë‹¹ì‹ ì€ <literal>session.connection()ì„ í†µí•´ ê·¸"
"ê²ƒë“¤ì„ ì‹¤í–‰ì‹œì¼œì•¼ 한다. ë°ì´í„°ë² ì´ìŠ¤ 벤ë”ë“¤ì´ ë‹¤ë¥¸ 내장 í”„ë¡œì‹œì € ì˜ë¯¸ë¡ /구문"
"ì„ ê°–ê³ ìžˆê¸° 때문ì—, ê·œì¹™ë“¤ì€ ê°ê°ì˜ ë°ì´í„°ë² ì´ìŠ¤ì— ë”°ë¼ ì°¨ì´ê°€ 난다."
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"Stored procedure queries cannot be paged with <literal>setFirstResult()/"
"setMaxResults()</literal>."
msgstr ""
"내장 í”„ë¡œì‹œì € 질ì˜ë“¤ì€ <literal>setFirstResult()/setMaxResults()ë¡œ"
"ì„œ 쪽매김 ë 수 없다."
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"The recommended call form is standard SQL92: <literal>{ ? = call functionName"
"(<parameters>) }</literal> or { ? = call procedureName(<"
"parameters>}</literal>. Native call syntax is not supported."
msgstr ""
"권장ë˜ëŠ” 호출 형ì‹ì€ 표준 SQL92ì´ë‹¤: <literal>{ ? = call functionName(<"
"parameters>) }</literal> ë˜ëŠ” { ? = call procedureName(<"
"parameters>}</literal>. Native 호출 êµ¬ë¬¸ì€ ì§€ì›ë˜ì§€ 않는다."
#. Tag: para
#, no-c-format
msgid "For Oracle the following rules apply:"
msgstr "Oracleì˜ ê²½ìš° ë‹¤ìŒ ê·œì¹™ë“¤ì´ ì ìš©ëœë‹¤:"
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"A function must return a result set. The first parameter of a procedure must "
"be an <literal>OUT that returns a result set. This is done by "
"using a <literal>SYS_REFCURSOR type in Oracle 9 or 10. In Oracle "
"you need to define a <literal>REF CURSOR type. See Oracle "
"literature for further information."
msgstr ""
"í•˜ë‚˜ì˜ í•¨ìˆ˜ëŠ” í•˜ë‚˜ì˜ ê²°ê³¼ ì…‹ì„ ë°˜í™˜í•´ì•¼ 한다. í”„ë¡œì‹œì €ì˜ ì²« 번째 파ë¼ë¯¸í„°ëŠ” "
"í•˜ë‚˜ì˜ ê²°ê³¼ ì…‹ì„ ë°˜í™˜í•˜ëŠ” í•˜ë‚˜ì˜ <literal>OUTì´ì–´ì•¼ 한다. ì´ê²ƒì€ "
"Oracle 9 ë˜ëŠ” 10ì—ì„œ í•˜ë‚˜ì˜ <literal>SYS_REFCURSOR를 사용하여 행해"
"진다. Oracleì—ì„œ ë‹¹ì‹ ì€ <literal>REF CURSOR íƒ€ìž…ì„ ì •ì˜í• 필요가 있"
"는ë°, Oracle ë³´ê³ ì„œë¥¼ ë³´ë¼."
#. Tag: para
#, no-c-format
msgid "For Sybase or MS SQL server the following rules apply:"
msgstr "Sybase ë˜ëŠ” MS SQL serverì˜ ê²½ìš° ë‹¤ìŒ ê·œì¹™ë“¤ì´ ì ìš©ëœë‹¤:"
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"The procedure must return a result set. Note that since these servers can "
"return multiple result sets and update counts, Hibernate will iterate the "
"results and take the first result that is a result set as its return value. "
"Everything else will be discarded."
msgstr ""
"í”„ë¡œì‹œì €ëŠ” í•œ ê°œì˜ ê²°ê³¼ ì…‹ì„ ë°˜í™˜í•´ì•¼ 한다. ì´ë“¤ ì„œë²„ë“¤ì´ ì—¬ëŸ¬ ê°œì˜ ê²°ê³¼ì…‹ë“¤"
"ê³¼ ì—…ë°ì´íŠ¸ ì¹´ìš´íŠ¸ë“¤ì„ ë°˜í™˜ í• ìˆ˜ 있다/í• ê²ƒì´ì´ë¯€ë¡œ, Hibernate는 ê²°ê³¼ë“¤ì„ ë°˜"
"ë³µ ìˆœí™˜í• ê²ƒì´ê³ ê·¸ê²ƒì˜ ë°˜í™˜ 값으로서 í•˜ë‚˜ì˜ ê²°ê³¼ ì…‹ì¸ ì²« 번째 결과를 ì·¨í• ê²ƒ"
"ì´ë‹¤. ê·¸ ë°–ì˜ ëª¨ë“ ê²ƒì€ í기ë 것ì´ë‹¤."
#. Tag: para
#, no-c-format
msgid ""
"If you can enable <literal>SET NOCOUNT ON in your procedure it "
"will probably be more efficient, but this is not a requirement."
msgstr ""
"ë§Œì¼ ë‹¹ì‹ ì´ ë‹¹ì‹ ì˜ í”„ë¡œì‹œì € ë‚´ì— <literal>SET NOCOUNT ONì„ ì´ìš© ê°€"
"능하게 í• ìˆ˜ 있다면 ê·¸ê²ƒì€ ì•„ë§ˆ 보다 효율ì ì´ê²Œ ë 것ì´ì§€ë§Œ ì´ê²ƒì€ í•„ìš” ì¡°ê±´"
"ì´ ì•„ë‹ˆë‹¤."
#. Tag: title
#, no-c-format
msgid "Custom SQL for create, update and delete"
msgstr "create, update ê·¸ë¦¬ê³ delete를 위한 맞춤형 SQL"
#. Tag: para
#, no-c-format
msgid ""
"Hibernate3 can use custom SQL for create, update, and delete operations. The "
"SQL can be overridden at the statement level or inidividual column level. "
"This section describes statement overrides. For columns, see <xref linkend="
"\"mapping-column-read-and-write\" />."
msgstr ""
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"The class and collection persisters in Hibernate already contain a set of "
"configuration time generated strings (insertsql, deletesql, updatesql etc.). "
"The mapping tags <literal><sql-insert>, <sql-"
"delete></literal>, and <sql-update> override "
"these strings:"
msgstr ""
"Hibernate3는 create, update, delete 오í¼ë ˆì´ì…˜ë“¤ì„ 위한 맞춤형 ë¬¸ìž¥ë“¤ì„ ì‚¬ìš©"
"í• ìˆ˜ 있다. Hibernateì—ì„œ í´ëž˜ìŠ¤ì™€ ì½œë ‰ì…˜ ì˜ì†ìžë“¤ì€ 구성 ì‹œì— ìƒì„±ëœ 문ìžì—´"
"ë“¤ì˜ ì§‘í•©(insertsql, deletesql, updatesql 등)ì„ ì´ë¯¸ í¬í•¨í•˜ê³ 있다. "
"<literal><sql-insert>, <sql-delete><sql-update> 매핑 íƒœê·¸ë“¤ì€ ì´ë“¤ 문ìžì—´ë“¤"
"ì„ ì˜¤ë²„ë¼ì´ë“œ 시킨다:"
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"The SQL is directly executed in your database, so you can use any dialect "
"you like. This will reduce the portability of your mapping if you use "
"database specific SQL."
msgstr ""
"SQLì´ ë‹¹ì‹ ì˜ ë°ì´í„°ë² ì´ìŠ¤ ë‚´ì—ì„œ ì§ì ‘ 실행ë˜ì–´ì„œ, ë‹¹ì‹ ì´ ì¢‹ì•„í•˜ëŠ” ìž„ì˜ì˜ "
"dialect를 사용하는 ê²ƒì´ ìžìœ ë¡ë‹¤. ë§Œì¼ ë‹¹ì‹ ì´ ë°ì´í„°ë² ì´ìŠ¤ ì§€ì •ì ì¸ SQLì„ ì‚¬"
"ìš©í• ê²½ìš° ì´ê²ƒì€ ë¬¼ë¡ ë‹¹ì‹ ì˜ ë§¤í•‘ì˜ ì´ì‹ì„±ì„ ê°ì†Œì‹œí‚¬ 것ì´ë‹¤."
#. Tag: para
#, no-c-format
msgid ""
"Stored procedures are supported if the <literal>callable attribute "
"is set:"
msgstr ""
"ë§Œì¼ <literal>callable ì†ì„±ì´ ì„¤ì •ë˜ë©´ 내장 í”„ë¡œì‹œì €ë“¤ì´ ì§€ì›ëœë‹¤:"
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"The order of the positional parameters is vital, as they must be in the same "
"sequence as Hibernate expects them."
msgstr ""
"위치 파ë¼ë¯¸í„°ë“¤ì€ Hibernateê°€ ê·¸ê²ƒë“¤ì„ ê¸°ëŒ€í•˜ëŠ” 것과 ê°™ì€ ìˆœì„œê°€ ë˜ì–´ì•¼ 하므"
"ë¡œ, 위치 파ë¼ë¯¸í„°ë“¤ì˜ 순서는 현재 ì ˆëŒ€ì 으로 중요하다."
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"You can view the expected order by enabling debug logging for the "
"<literal>org.hibernate.persister.entity level. With this level "
"enabled, Hibernate will print out the static SQL that is used to create, "
"update, delete etc. entities. To view the expected sequence, do not include "
"your custom SQL in the mapping files, as this will override the Hibernate "
"generated static SQL."
msgstr ""
"ë‹¹ì‹ ì€ <literal>org.hiberate.persister.entity ë ˆë²¨ë¡œ 디버그 ë¡œê¹…ì„ "
"사용 가능하게 í•¨ìœ¼ë¡œì¨ ì˜ˆìƒëœ 순서를 ë³¼ 수 있다. ì´ ë ˆë²¨ì„ ì´ìš© 가능하게 하"
"ë©´ Hibernate는 ì—”í‹°í‹°ë“¤ì„ ìƒì„±ì‹œí‚¤ê³ , ì—…ë°ì´íŠ¸í•˜ê³ , ì‚ì œí•˜ëŠ”ë° ì‚¬ìš©ë˜ëŠ” ì •ì "
"ì¸ SQLì„ ì¶œë ¥í• ê²ƒì´ë‹¤. (예ìƒë˜ëŠ” 결과를 ë³´ë ¤ë©´, Hibernate ìƒì„±ëœ ì •ì ì¸ sql"
"ì„ ì˜¤ë²„ë¼ì´ë“œ 시키게 매핑 파ì¼ë“¤ ì†ì— ë‹¹ì‹ ì˜ ë§žì¶¤í˜• SQLì„ í¬í•¨ì‹œí‚¤ì§€ ì•Šë„ë¡ "
"ì—¼ë‘ì— ë‘ë¼.)"
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"The stored procedures are in most cases required to return the number of "
"rows inserted, updated and deleted, as Hibernate has some runtime checks for "
"the success of the statement. Hibernate always registers the first statement "
"parameter as a numeric output parameter for the CUD operations:"
msgstr ""
"Hibernateê°€ ë¬¸ìž¥ì˜ ì„±ê³µì„ ìœ„í•´ 몇몇 실행 ì‹œ ì²´í¬ë“¤ì„ 행하므로, 내장 í”„ë¡œì‹œì €"
"ë“¤ì€ ëŒ€ë¶€ë¶„ì˜ ê²½ìš°ë“¤(ì½ê¸°:다른 경우들 보다 ê·¸ê²ƒì„ ë” ìž˜ 행한다)ì—ì„œ insertë˜"
"ê³ /ì—…ë°ì´íŠ¸ë˜ê³ /ì‚ì œëœ í–‰ë“¤ì˜ ê°œìˆ˜ë¥¼ ë°˜í™˜í•˜ëŠ”ë° í•„ìš”í•˜ë‹¤. Hibernate는 í•ìƒ "
"CUD 오í¼ë ˆì´ì…˜ë“¤ì— 대한 ìˆ«ìž ì¶œë ¥ 파ë¼ë¯¸í„°ë¡œì„œ 첫 번째 문장 파ë¼ë¯¸í„°ë¥¼ 등ë¡ì‹œ"
"킨다:"
#. Tag: title
#, no-c-format
msgid "Custom SQL for loading"
msgstr "ë¡œë”©ì„ ìœ„í•œ 맞춤형 SQL"
#. Tag: para
#, no-c-format
msgid ""
"You can also declare your own SQL (or HQL) queries for entity loading. As "
"with inserts, updates, and deletes, this can be done at the individual "
"column level as described in <xref linkend=\"mapping-column-read-and-write"
"\" /> or at the statement level. Here is an example of a statement level "
"override:"
msgstr ""
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"This is just a named query declaration, as discussed earlier. You can "
"reference this named query in a class mapping:"
msgstr ""
"ì´ê²ƒì€ ì•žì„œ ë…¼ì˜í–ˆë“¯ì´ 단지 ëª…ëª…ëœ ì§ˆì˜ ì„ ì–¸ì´ë‹¤. ë‹¹ì‹ ì€ class 매핑 ì†ì— ì´ "
"ëª…ëª…ëœ ì§ˆì˜ë¥¼ ì°¸ì¡°í• ìˆ˜ 있다:"
#. Tag: para
#, no-c-format
msgid "This even works with stored procedures."
msgstr "ì´ê²ƒì€ 심지어 내장 í”„ë¡œì‹œì €ë“¤ì— ë™ìž‘한다."
#. Tag: para
#, fuzzy, no-c-format
msgid "You can even define a query for collection loading:"
msgstr "ë‹¹ì‹ ì€ ì½œë ‰ì…˜ ë¡œë”©ì„ ìœ„í•œ í•œ ê°œì˜ ì§ˆì˜ë¥¼ ì •ì˜í• ìˆ˜ë„ ìžˆë‹¤:"
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"You can also define an entity loader that loads a collection by join "
"fetching:"
msgstr ""
"ë‹¹ì‹ ì€ ì‹¬ì§€ì–´ ì¡°ì¸ íŽ˜ì¹ì— ì˜í•´ í•˜ë‚˜ì˜ ì½œë ‰ì…˜ì„ ë¡œë“œì‹œí‚¤ëŠ” í•˜ë‚˜ì˜ ì—”í‹°í‹°ë¥¼ ì •"
"ì˜í• 수 있다:"
#~ msgid "{item.*}"
#~ msgstr "{item.*}"
#~ msgid "{coll.*}"
#~ msgstr "{coll.*}"
#, fuzzy
#~ msgid ""
#~ "You can also declare your own SQL (or HQL) queries for entity loading:"
#~ msgstr ""
#~ "ë‹¹ì‹ ì€ ë˜í•œ 엔티티 ë¡œë”©ì„ ìœ„í•œ ë‹¹ì‹ ìžì‹ ì˜ SQL (ë˜ëŠ” HQL)ì„ ì„ ì–¸í• ìˆ˜ë„ ìžˆ"
#~ "다:"
Other Hibernate examples (source code examples)
Here is a short list of links related to this Hibernate query_sql.po source code file:
|