Author: d.plentz
Date: 2008-08-12 13:06:53 -0400 (Tue, 12 Aug 2008)
New Revision: 15041
Modified:
core/trunk/documentation/manual/src/main/docbook/en-US/content/query_sql.xml
core/trunk/documentation/manual/src/main/docbook/es-ES/content/query_sql.po
core/trunk/documentation/manual/src/main/docbook/fr-FR/content/query_sql.po
core/trunk/documentation/manual/src/main/docbook/ja-JP/content/query_sql.po
core/trunk/documentation/manual/src/main/docbook/ko-KR/content/query_sql.po
core/trunk/documentation/manual/src/main/docbook/pot/content/query_sql.pot
core/trunk/documentation/manual/src/main/docbook/pt-BR/content/query_sql.po
core/trunk/documentation/manual/src/main/docbook/zh-CN/content/query_sql.po
Log:
[HHH-2976] Documentation of Native SQLQuery contains errors
Modified: core/trunk/documentation/manual/src/main/docbook/en-US/content/query_sql.xml
===================================================================
---
core/trunk/documentation/manual/src/main/docbook/en-US/content/query_sql.xml 2008-08-12
16:36:23 UTC (rev 15040)
+++
core/trunk/documentation/manual/src/main/docbook/en-US/content/query_sql.xml 2008-08-12
17:06:53 UTC (rev 15041)
@@ -238,9 +238,9 @@
declared in the mapping metadata. Notice that we may even use the
property aliases in the where clause if we like.</para>
- <programlisting><![CDATA[String sql = "SELECT ID as {c.id}, NAME as
{c.name}, " +
- "BIRTHDATE as {c.birthDate}, MOTHER_ID as {c.mother}, {mother.*} " +
- "FROM CAT_LOG c, CAT_LOG m WHERE {c.mother} = c.ID";
+ <programlisting><![CDATA[String sql = "SELECT ID as {cat.id}, NAME as
{cat.name}, " +
+ "BIRTHDATE as {cat.birthDate}, MOTHER_ID as {cat.mother}, {mother.*} "
+
+ "FROM CAT_LOG cat, CAT_LOG mother WHERE {cat.mother} = cat.ID";
List loggedCats = sess.createSQLQuery(sql)
.addEntity("cat", Cat.class)
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/query_sql.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/query_sql.po 2008-08-12
16:36:23 UTC (rev 15040)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/query_sql.po 2008-08-12
17:06:53 UTC (rev 15041)
@@ -439,21 +439,21 @@
#: index.docbook:192
msgid ""
-"<![CDATA[String sql = \"SELECT ID as {c.id}, NAME as {c.name}, \" +
\n"
-" \"BIRTHDATE as {c.birthDate}, MOTHER_ID as {c.mother}, {mother.*}
"
+"<![CDATA[String sql = \"SELECT ID as {cat.id}, NAME as {cat.name}, \"
+ \n"
+" \"BIRTHDATE as {cat.birthDate}, MOTHER_ID as {cat.mother}, {mother.*}
"
"\" +\n"
-" \"FROM CAT_LOG c, CAT_LOG m WHERE {c.mother} = c.ID\";\n"
+" \"FROM CAT_LOG cat, CAT_LOG mother WHERE {cat.mother} =
cat.ID\";\n"
"\n"
"List loggedCats = sess.createSQLQuery(sql)\n"
" .addEntity(\"cat\", Cat.class)\n"
" .addEntity(\"mother\", Cat.class).list()\n"
"]]>"
msgstr ""
-"<![CDATA[String sql = \"SELECT ID as {c.id}, NAME as {c.name}, \" +
\n"
-" \"BIRTHDATE as {c."
-"birthDate}, MOTHER_ID as {c.mother}, {mother.*} \" +\n"
-" \"FROM CAT_LOG c, "
-"CAT_LOG m WHERE {c.mother} = c.ID\";\n"
+"<![CDATA[String sql = \"SELECT ID as {cat.id}, NAME as {cat.name}, \"
+ \n"
+" \"BIRTHDATE as
{cat."
+"birthDate}, MOTHER_ID as {cat.mother}, {mother.*} \" +\n"
+" \"FROM CAT_LOG cat,
"
+"CAT_LOG mother WHERE {cat.mother} = cat.ID\";\n"
" \n"
" List loggedCats = sess."
"createSQLQuery(sql)\n"
Modified: core/trunk/documentation/manual/src/main/docbook/fr-FR/content/query_sql.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/fr-FR/content/query_sql.po 2008-08-12
16:36:23 UTC (rev 15040)
+++ core/trunk/documentation/manual/src/main/docbook/fr-FR/content/query_sql.po 2008-08-12
17:06:53 UTC (rev 15041)
@@ -476,10 +476,10 @@
#: query_sql.xml:192
#, no-c-format
msgid ""
-"<![CDATA[String sql = \"SELECT ID as {c.id}, NAME as {c.name}, \" +
\n"
-" \"BIRTHDATE as {c.birthDate}, MOTHER_ID as {c.mother}, {mother.*}
"
+"<![CDATA[String sql = \"SELECT ID as {cat.id}, NAME as {cat.name}, \"
+ \n"
+" \"BIRTHDATE as {cat.birthDate}, MOTHER_ID as {cat.mother}, {mother.*}
"
"\" +\n"
-" \"FROM CAT_LOG c, CAT_LOG m WHERE {c.mother} = c.ID\";\n"
+" \"FROM CAT_LOG cat, CAT_LOG mother WHERE {cat.mother} =
cat.ID\";\n"
"\n"
"List loggedCats = sess.createSQLQuery(sql)\n"
" .addEntity(\"cat\", Cat.class)\n"
Modified: core/trunk/documentation/manual/src/main/docbook/ja-JP/content/query_sql.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/ja-JP/content/query_sql.po 2008-08-12
16:36:23 UTC (rev 15040)
+++ core/trunk/documentation/manual/src/main/docbook/ja-JP/content/query_sql.po 2008-08-12
17:06:53 UTC (rev 15041)
@@ -465,10 +465,10 @@
#: query_sql.xml:192
#, no-c-format
msgid ""
-"<![CDATA[String sql = \"SELECT ID as {c.id}, NAME as {c.name}, \" +
\n"
-" \"BIRTHDATE as {c.birthDate}, MOTHER_ID as {c.mother}, {mother.*}
"
+"<![CDATA[String sql = \"SELECT ID as {cat.id}, NAME as {cat.name}, \"
+ \n"
+" \"BIRTHDATE as {cat.birthDate}, MOTHER_ID as {cat.mother}, {mother.*}
"
"\" +\n"
-" \"FROM CAT_LOG c, CAT_LOG m WHERE {c.mother} = c.ID\";\n"
+" \"FROM CAT_LOG cat, CAT_LOG mother WHERE {cat.mother} =
cat.ID\";\n"
"\n"
"List loggedCats = sess.createSQLQuery(sql)\n"
" .addEntity(\"cat\", Cat.class)\n"
Modified: core/trunk/documentation/manual/src/main/docbook/ko-KR/content/query_sql.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/ko-KR/content/query_sql.po 2008-08-12
16:36:23 UTC (rev 15040)
+++ core/trunk/documentation/manual/src/main/docbook/ko-KR/content/query_sql.po 2008-08-12
17:06:53 UTC (rev 15041)
@@ -466,10 +466,10 @@
#: query_sql.xml:192
#, no-c-format
msgid ""
-"<![CDATA[String sql = \"SELECT ID as {c.id}, NAME as {c.name}, \" +
\n"
-" \"BIRTHDATE as {c.birthDate}, MOTHER_ID as {c.mother}, {mother.*}
"
+"<![CDATA[String sql = \"SELECT ID as {cat.id}, NAME as {cat.name}, \"
+ \n"
+" \"BIRTHDATE as {cat.birthDate}, MOTHER_ID as {cat.mother}, {mother.*}
"
"\" +\n"
-" \"FROM CAT_LOG c, CAT_LOG m WHERE {c.mother} = c.ID\";\n"
+" \"FROM CAT_LOG cat, CAT_LOG mother WHERE {cat.mother} =
cat.ID\";\n"
"\n"
"List loggedCats = sess.createSQLQuery(sql)\n"
" .addEntity(\"cat\", Cat.class)\n"
Modified: core/trunk/documentation/manual/src/main/docbook/pot/content/query_sql.pot
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/pot/content/query_sql.pot 2008-08-12
16:36:23 UTC (rev 15040)
+++ core/trunk/documentation/manual/src/main/docbook/pot/content/query_sql.pot 2008-08-12
17:06:53 UTC (rev 15041)
@@ -310,9 +310,9 @@
#: query_sql.xml:216
#, no-c-format
msgid ""
- "<![CDATA[String sql = \"SELECT ID as {c.id}, NAME as {c.name},
\" + \n"
- " \"BIRTHDATE as {c.birthDate}, MOTHER_ID as {c.mother},
{mother.*} \" +\n"
- " \"FROM CAT_LOG c, CAT_LOG m WHERE {c.mother} =
c.ID\";\n"
+ "<![CDATA[String sql = \"SELECT ID as {cat.id}, NAME as {cat.name},
\" + \n"
+ " \"BIRTHDATE as {cat.birthDate}, MOTHER_ID as {cat.mother},
{mother.*} \" +\n"
+ " \"FROM CAT_LOG cat, CAT_LOG mother WHERE {cat.mother} =
cat.ID\";\n"
"\n"
"List loggedCats = sess.createSQLQuery(sql)\n"
" .addEntity(\"cat\", Cat.class)\n"
Modified: core/trunk/documentation/manual/src/main/docbook/pt-BR/content/query_sql.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/pt-BR/content/query_sql.po 2008-08-12
16:36:23 UTC (rev 15040)
+++ core/trunk/documentation/manual/src/main/docbook/pt-BR/content/query_sql.po 2008-08-12
17:06:53 UTC (rev 15041)
@@ -474,10 +474,10 @@
#: query_sql.xml:192
#, no-c-format
msgid ""
-"<![CDATA[String sql = \"SELECT ID as {c.id}, NAME as {c.name}, \" +
\n"
-" \"BIRTHDATE as {c.birthDate}, MOTHER_ID as {c.mother}, {mother.*}
"
+"<![CDATA[String sql = \"SELECT ID as {cat.id}, NAME as {cat.name}, \"
+ \n"
+" \"BIRTHDATE as {cat.birthDate}, MOTHER_ID as {cat.mother}, {mother.*}
"
"\" +\n"
-" \"FROM CAT_LOG c, CAT_LOG m WHERE {c.mother} = c.ID\";\n"
+" \"FROM CAT_LOG cat, CAT_LOG mother WHERE {cat.mother} =
cat.ID\";\n"
"\n"
"List loggedCats = sess.createSQLQuery(sql)\n"
" .addEntity(\"cat\", Cat.class)\n"
Modified: core/trunk/documentation/manual/src/main/docbook/zh-CN/content/query_sql.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/zh-CN/content/query_sql.po 2008-08-12
16:36:23 UTC (rev 15040)
+++ core/trunk/documentation/manual/src/main/docbook/zh-CN/content/query_sql.po 2008-08-12
17:06:53 UTC (rev 15041)
@@ -452,10 +452,10 @@
#: query_sql.xml:192
#, no-c-format
msgid ""
-"<![CDATA[String sql = \"SELECT ID as {c.id}, NAME as {c.name}, \" +
\n"
-" \"BIRTHDATE as {c.birthDate}, MOTHER_ID as {c.mother}, {mother.*}
"
+"<![CDATA[String sql = \"SELECT ID as {cat.id}, NAME as {cat.name}, \"
+ \n"
+" \"BIRTHDATE as {cat.birthDate}, MOTHER_ID as {cat.mother}, {mother.*}
"
"\" +\n"
-" \"FROM CAT_LOG c, CAT_LOG m WHERE {c.mother} = c.ID\";\n"
+" \"FROM CAT_LOG cat, CAT_LOG mother WHERE {cat.mother} =
cat.ID\";\n"
"\n"
"List loggedCats = sess.createSQLQuery(sql)\n"
" .addEntity(\"cat\", Cat.class)\n"