Java Mailing List Archive

http://www.gg3721.com/

Home » Hibernate Commits List »

[hibernate-commits] Hibernate SVN: r15041 - in
 core/trunk/documentation/manual/src/main/docbook:
 es-ES/content and 6 other directories.

hibernate-commits

2008-08-12


Author LoginPost Reply
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)
@@(protected) @@
    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)
@@(protected) @@

#: 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)
@@(protected) @@
#: 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)
@@(protected) @@
#: 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)
@@(protected) @@
#: 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)
@@(protected) @@
#: 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)
@@(protected) @@
#: 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)
@@(protected) @@
#: 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"

_______________________________________________
hibernate-commits mailing list
hibernate-commits@(protected)
https://lists.jboss.org/mailman/listinfo/hibernate-commits
©2008 gg3721.com - Jax Systems, LLC, U.S.A.