[hibernate-commits] Hibernate SVN: r12767 - core/trunk/documentation/manual/es-ES/src/main/docbook/modules and 6 other directories.
hibernate-commits at lists.jboss.org
hibernate-commits at lists.jboss.org
Mon Jul 16 00:18:27 EDT 2007
Author: d.plentz
Date: 2007-07-16 00:18:27 -0400 (Mon, 16 Jul 2007)
New Revision: 12767
Modified:
core/trunk/documentation/manual/en-US/src/main/docbook/modules/collection_mapping.xml
core/trunk/documentation/manual/en-US/src/main/docbook/modules/session_api.xml
core/trunk/documentation/manual/en-US/src/main/docbook/modules/transactions.xml
core/trunk/documentation/manual/es-ES/src/main/docbook/modules/collection_mapping.xml
core/trunk/documentation/manual/es-ES/src/main/docbook/modules/session_api.xml
core/trunk/documentation/manual/es-ES/src/main/docbook/modules/transactions.xml
core/trunk/documentation/manual/fr-FR/src/main/docbook/modules/collection_mapping.xml
core/trunk/documentation/manual/fr-FR/src/main/docbook/modules/session_api.xml
core/trunk/documentation/manual/fr-FR/src/main/docbook/modules/transactions.xml
core/trunk/documentation/manual/ja-JP/src/main/docbook/modules/collection_mapping.xml
core/trunk/documentation/manual/ja-JP/src/main/docbook/modules/session_api.xml
core/trunk/documentation/manual/ja-JP/src/main/docbook/modules/transactions.xml
core/trunk/documentation/manual/ko-KR/src/main/docbook/modules/collection_mapping.xml
core/trunk/documentation/manual/ko-KR/src/main/docbook/modules/session_api.xml
core/trunk/documentation/manual/ko-KR/src/main/docbook/modules/transactions.xml
core/trunk/documentation/manual/pt-BR/src/main/docbook/modules/collection_mapping.xml
core/trunk/documentation/manual/pt-BR/src/main/docbook/modules/session_api.xml
core/trunk/documentation/manual/pt-BR/src/main/docbook/modules/transactions.xml
core/trunk/documentation/manual/zh-CN/src/main/docbook/modules/collection_mapping.xml
core/trunk/documentation/manual/zh-CN/src/main/docbook/modules/session_api.xml
core/trunk/documentation/manual/zh-CN/src/main/docbook/modules/transactions.xml
trunk/HibernateExt/entitymanager/doc/reference/en/modules/entitymanagerapi.xml
Log:
[HHH-2714] Three typos in code examples
Modified: core/trunk/documentation/manual/en-US/src/main/docbook/modules/collection_mapping.xml
===================================================================
--- core/trunk/documentation/manual/en-US/src/main/docbook/modules/collection_mapping.xml 2007-07-16 02:20:28 UTC (rev 12766)
+++ core/trunk/documentation/manual/en-US/src/main/docbook/modules/collection_mapping.xml 2007-07-16 04:18:27 UTC (rev 12767)
@@ -830,7 +830,7 @@
</class>
<class name="Item">
- <id name="id" column="CATEGORY_ID"/>
+ <id name="id" column="ITEM_ID"/>
...
<!-- inverse end -->
Modified: core/trunk/documentation/manual/en-US/src/main/docbook/modules/session_api.xml
===================================================================
--- core/trunk/documentation/manual/en-US/src/main/docbook/modules/session_api.xml 2007-07-16 02:20:28 UTC (rev 12766)
+++ core/trunk/documentation/manual/en-US/src/main/docbook/modules/session_api.xml 2007-07-16 04:18:27 UTC (rev 12767)
@@ -312,8 +312,8 @@
while ( kittensAndMothers.hasNext() ) {
Object[] tuple = (Object[]) kittensAndMothers.next();
- Cat kitten = tuple[0];
- Cat mother = tuple[1];
+ Cat kitten = (Cat) tuple[0];
+ Cat mother = (Cat) tuple[1];
....
}]]></programlisting>
Modified: core/trunk/documentation/manual/en-US/src/main/docbook/modules/transactions.xml
===================================================================
--- core/trunk/documentation/manual/en-US/src/main/docbook/modules/transactions.xml 2007-07-16 02:20:28 UTC (rev 12766)
+++ core/trunk/documentation/manual/en-US/src/main/docbook/modules/transactions.xml 2007-07-16 04:18:27 UTC (rev 12767)
@@ -735,7 +735,7 @@
int oldVersion = foo.getVersion();
session.load( foo, foo.getKey() ); // load the current state
-if ( oldVersion!=foo.getVersion ) throw new StaleObjectStateException();
+if ( oldVersion != foo.getVersion() ) throw new StaleObjectStateException();
foo.setProperty("bar");
t.commit();
Modified: core/trunk/documentation/manual/es-ES/src/main/docbook/modules/collection_mapping.xml
===================================================================
--- core/trunk/documentation/manual/es-ES/src/main/docbook/modules/collection_mapping.xml 2007-07-16 02:20:28 UTC (rev 12766)
+++ core/trunk/documentation/manual/es-ES/src/main/docbook/modules/collection_mapping.xml 2007-07-16 04:18:27 UTC (rev 12767)
@@ -838,7 +838,7 @@
</class>
<class name="Item">
- <id name="id" column="CATEGORY_ID"/>
+ <id name="id" column="ITEM_ID"/>
...
<!-- inverse end -->
Modified: core/trunk/documentation/manual/es-ES/src/main/docbook/modules/session_api.xml
===================================================================
--- core/trunk/documentation/manual/es-ES/src/main/docbook/modules/session_api.xml 2007-07-16 02:20:28 UTC (rev 12766)
+++ core/trunk/documentation/manual/es-ES/src/main/docbook/modules/session_api.xml 2007-07-16 04:18:27 UTC (rev 12767)
@@ -309,8 +309,8 @@
while ( kittensAndMothers.hasNext() ) {
Object[] tuple = (Object[]) kittensAndMothers.next();
- Cat kitten = tuple[0];
- Cat mother = tuple[1];
+ Cat kitten = (Cat) tuple[0];
+ Cat mother = (Cat) tuple[1];
....
}]]></programlisting>
Modified: core/trunk/documentation/manual/es-ES/src/main/docbook/modules/transactions.xml
===================================================================
--- core/trunk/documentation/manual/es-ES/src/main/docbook/modules/transactions.xml 2007-07-16 02:20:28 UTC (rev 12766)
+++ core/trunk/documentation/manual/es-ES/src/main/docbook/modules/transactions.xml 2007-07-16 04:18:27 UTC (rev 12767)
@@ -653,7 +653,7 @@
Transaction t = session.beginTransaction();
int oldVersion = foo.getVersion();
session.load( foo, foo.getKey() ); // load the current state
-if ( oldVersion!=foo.getVersion ) throw new StaleObjectStateException();
+if ( oldVersion != foo.getVersion() ) throw new StaleObjectStateException();
foo.setProperty("bar");
t.commit();
session.close();]]></programlisting>
Modified: core/trunk/documentation/manual/fr-FR/src/main/docbook/modules/collection_mapping.xml
===================================================================
--- core/trunk/documentation/manual/fr-FR/src/main/docbook/modules/collection_mapping.xml 2007-07-16 02:20:28 UTC (rev 12766)
+++ core/trunk/documentation/manual/fr-FR/src/main/docbook/modules/collection_mapping.xml 2007-07-16 04:18:27 UTC (rev 12767)
@@ -814,7 +814,7 @@
</class>
<class name="Item">
- <id name="id" column="CATEGORY_ID"/>
+ <id name="id" column="ITEM_ID"/>
...
<!-- inverse end -->
Modified: core/trunk/documentation/manual/fr-FR/src/main/docbook/modules/session_api.xml
===================================================================
--- core/trunk/documentation/manual/fr-FR/src/main/docbook/modules/session_api.xml 2007-07-16 02:20:28 UTC (rev 12766)
+++ core/trunk/documentation/manual/fr-FR/src/main/docbook/modules/session_api.xml 2007-07-16 04:18:27 UTC (rev 12767)
@@ -305,8 +305,8 @@
while ( kittensAndMothers.hasNext() ) {
Object[] tuple = (Object[]) kittensAndMothers.next();
- Cat kitten = tuple[0];
- Cat mother = tuple[1];
+ Cat kitten = (Cat) tuple[0];
+ Cat mother = (Cat) tuple[1];
....
}]]></programlisting>
Modified: core/trunk/documentation/manual/fr-FR/src/main/docbook/modules/transactions.xml
===================================================================
--- core/trunk/documentation/manual/fr-FR/src/main/docbook/modules/transactions.xml 2007-07-16 02:20:28 UTC (rev 12766)
+++ core/trunk/documentation/manual/fr-FR/src/main/docbook/modules/transactions.xml 2007-07-16 04:18:27 UTC (rev 12767)
@@ -713,7 +713,7 @@
int oldVersion = foo.getVersion();
session.load( foo, foo.getKey() ); // Charger l'état courant
- if ( oldVersion!=foo.getVersion )
+ if ( oldVersion != foo.getVersion() )
throw new StaleObjectStateException();
foo.setProperty("bar");
Modified: core/trunk/documentation/manual/ja-JP/src/main/docbook/modules/collection_mapping.xml
===================================================================
--- core/trunk/documentation/manual/ja-JP/src/main/docbook/modules/collection_mapping.xml 2007-07-16 02:20:28 UTC (rev 12766)
+++ core/trunk/documentation/manual/ja-JP/src/main/docbook/modules/collection_mapping.xml 2007-07-16 04:18:27 UTC (rev 12767)
@@ -830,7 +830,7 @@
</class>
<class name="Item">
- <id name="id" column="CATEGORY_ID"/>
+ <id name="id" column="ITEM_ID"/>
...
<!-- inverse end -->
Modified: core/trunk/documentation/manual/ja-JP/src/main/docbook/modules/session_api.xml
===================================================================
--- core/trunk/documentation/manual/ja-JP/src/main/docbook/modules/session_api.xml 2007-07-16 02:20:28 UTC (rev 12766)
+++ core/trunk/documentation/manual/ja-JP/src/main/docbook/modules/session_api.xml 2007-07-16 04:18:27 UTC (rev 12767)
@@ -298,8 +298,8 @@
while ( kittensAndMothers.hasNext() ) {
Object[] tuple = (Object[]) kittensAndMothers.next();
- Cat kitten = tuple[0];
- Cat mother = tuple[1];
+ Cat kitten = (Cat) tuple[0];
+ Cat mother = (Cat) tuple[1];
....
}]]></programlisting>
Modified: core/trunk/documentation/manual/ja-JP/src/main/docbook/modules/transactions.xml
===================================================================
--- core/trunk/documentation/manual/ja-JP/src/main/docbook/modules/transactions.xml 2007-07-16 02:20:28 UTC (rev 12766)
+++ core/trunk/documentation/manual/ja-JP/src/main/docbook/modules/transactions.xml 2007-07-16 04:18:27 UTC (rev 12767)
@@ -858,7 +858,7 @@
int oldVersion = foo.getVersion();
session.load( foo, foo.getKey() ); // load the current state
-if ( oldVersion!=foo.getVersion ) throw new StaleObjectStateException();
+if ( oldVersion != foo.getVersion() ) throw new StaleObjectStateException();
foo.setProperty("bar");
t.commit();
Modified: core/trunk/documentation/manual/ko-KR/src/main/docbook/modules/collection_mapping.xml
===================================================================
--- core/trunk/documentation/manual/ko-KR/src/main/docbook/modules/collection_mapping.xml 2007-07-16 02:20:28 UTC (rev 12766)
+++ core/trunk/documentation/manual/ko-KR/src/main/docbook/modules/collection_mapping.xml 2007-07-16 04:18:27 UTC (rev 12767)
@@ -777,7 +777,7 @@
</class>
<class name="Item">
- <id name="id" column="CATEGORY_ID"/>
+ <id name="id" column="ITEM_ID"/>
...
<!-- inverse end -->
Modified: core/trunk/documentation/manual/ko-KR/src/main/docbook/modules/session_api.xml
===================================================================
--- core/trunk/documentation/manual/ko-KR/src/main/docbook/modules/session_api.xml 2007-07-16 02:20:28 UTC (rev 12766)
+++ core/trunk/documentation/manual/ko-KR/src/main/docbook/modules/session_api.xml 2007-07-16 04:18:27 UTC (rev 12767)
@@ -276,8 +276,8 @@
while ( kittensAndMothers.hasNext() ) {
Object[] tuple = (Object[]) kittensAndMothers.next();
- Cat kitten = tuple[0];
- Cat mother = tuple[1];
+ Cat kitten = (Cat) tuple[0];
+ Cat mother = (Cat) tuple[1];
....
}]]></programlisting>
Modified: core/trunk/documentation/manual/ko-KR/src/main/docbook/modules/transactions.xml
===================================================================
--- core/trunk/documentation/manual/ko-KR/src/main/docbook/modules/transactions.xml 2007-07-16 02:20:28 UTC (rev 12766)
+++ core/trunk/documentation/manual/ko-KR/src/main/docbook/modules/transactions.xml 2007-07-16 04:18:27 UTC (rev 12767)
@@ -659,7 +659,7 @@
int oldVersion = foo.getVersion();
session.load( foo, foo.getKey() ); // load the current state
-if ( oldVersion!=foo.getVersion ) throw new StaleObjectStateException();
+if ( oldVersion != foo.getVersion() ) throw new StaleObjectStateException();
foo.setProperty("bar");
t.commit();
Modified: core/trunk/documentation/manual/pt-BR/src/main/docbook/modules/collection_mapping.xml
===================================================================
--- core/trunk/documentation/manual/pt-BR/src/main/docbook/modules/collection_mapping.xml 2007-07-16 02:20:28 UTC (rev 12766)
+++ core/trunk/documentation/manual/pt-BR/src/main/docbook/modules/collection_mapping.xml 2007-07-16 04:18:27 UTC (rev 12767)
@@ -830,7 +830,7 @@
</class>
<class name="Item">
- <id name="id" column="CATEGORY_ID"/>
+ <id name="id" column="ITEM_ID"/>
...
<!-- inverse end -->
Modified: core/trunk/documentation/manual/pt-BR/src/main/docbook/modules/session_api.xml
===================================================================
--- core/trunk/documentation/manual/pt-BR/src/main/docbook/modules/session_api.xml 2007-07-16 02:20:28 UTC (rev 12766)
+++ core/trunk/documentation/manual/pt-BR/src/main/docbook/modules/session_api.xml 2007-07-16 04:18:27 UTC (rev 12767)
@@ -319,8 +319,8 @@
while ( kittensAndMothers.hasNext() ) {
Object[] tuple = (Object[]) kittensAndMothers.next();
- Cat kitten = tuple[0];
- Cat mother = tuple[1];
+ Cat kitten = (Cat) tuple[0];
+ Cat mother = (Cat) tuple[1];
....
}]]></programlisting>
Modified: core/trunk/documentation/manual/pt-BR/src/main/docbook/modules/transactions.xml
===================================================================
--- core/trunk/documentation/manual/pt-BR/src/main/docbook/modules/transactions.xml 2007-07-16 02:20:28 UTC (rev 12766)
+++ core/trunk/documentation/manual/pt-BR/src/main/docbook/modules/transactions.xml 2007-07-16 04:18:27 UTC (rev 12767)
@@ -756,7 +756,7 @@
int oldVersion = foo.getVersion();
session.load( foo, foo.getKey() ); // load the current state
-if ( oldVersion!=foo.getVersion ) throw new StaleObjectStateException();
+if ( oldVersion != foo.getVersion() ) throw new StaleObjectStateException();
foo.setProperty("bar");
t.commit();
Modified: core/trunk/documentation/manual/zh-CN/src/main/docbook/modules/collection_mapping.xml
===================================================================
--- core/trunk/documentation/manual/zh-CN/src/main/docbook/modules/collection_mapping.xml 2007-07-16 02:20:28 UTC (rev 12766)
+++ core/trunk/documentation/manual/zh-CN/src/main/docbook/modules/collection_mapping.xml 2007-07-16 04:18:27 UTC (rev 12767)
@@ -722,7 +722,7 @@
</class>
<class name="Item">
- <id name="id" column="CATEGORY_ID"/>
+ <id name="id" column="ITEM_ID"/>
...
<!-- inverse end -->
Modified: core/trunk/documentation/manual/zh-CN/src/main/docbook/modules/session_api.xml
===================================================================
--- core/trunk/documentation/manual/zh-CN/src/main/docbook/modules/session_api.xml 2007-07-16 02:20:28 UTC (rev 12766)
+++ core/trunk/documentation/manual/zh-CN/src/main/docbook/modules/session_api.xml 2007-07-16 04:18:27 UTC (rev 12767)
@@ -274,8 +274,8 @@
while ( kittensAndMothers.hasNext() ) {
Object[] tuple = (Object[]) kittensAndMothers.next();
- Cat kitten = tuple[0];
- Cat mother = tuple[1];
+ Cat kitten = (Cat) tuple[0];
+ Cat mother = (Cat) tuple[1];
....
}]]></programlisting>
Modified: core/trunk/documentation/manual/zh-CN/src/main/docbook/modules/transactions.xml
===================================================================
--- core/trunk/documentation/manual/zh-CN/src/main/docbook/modules/transactions.xml 2007-07-16 02:20:28 UTC (rev 12766)
+++ core/trunk/documentation/manual/zh-CN/src/main/docbook/modules/transactions.xml 2007-07-16 04:18:27 UTC (rev 12767)
@@ -566,7 +566,7 @@
int oldVersion = foo.getVersion();
session.load( foo, foo.getKey() ); // load the current state
-if ( oldVersion!=foo.getVersion ) throw new StaleObjectStateException();
+if ( oldVersion != foo.getVersion() ) throw new StaleObjectStateException();
foo.setProperty("bar");
t.commit();
Modified: trunk/HibernateExt/entitymanager/doc/reference/en/modules/entitymanagerapi.xml
===================================================================
--- trunk/HibernateExt/entitymanager/doc/reference/en/modules/entitymanagerapi.xml 2007-07-16 02:20:28 UTC (rev 12766)
+++ trunk/HibernateExt/entitymanager/doc/reference/en/modules/entitymanagerapi.xml 2007-07-16 04:18:27 UTC (rev 12767)
@@ -159,8 +159,8 @@
while ( kittensAndMothers.hasNext() ) {
Object[] tuple = (Object[]) kittensAndMothers.next();
- Cat kitten = tuple[0];
- Cat mother = tuple[1];
+ Cat kitten = (Cat) tuple[0];
+ Cat mother = (Cat) tuple[1];
....
}</programlisting>
</section>
More information about the hibernate-commits
mailing list