[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2714?page=c...
]
Diego Pires Plentz updated HHH-2714:
------------------------------------
Fix Version/s: 3.2.5
Three typos in code examples
----------------------------
Key: HHH-2714
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2714
Project: Hibernate3
Issue Type: Bug
Components: documentation
Affects Versions: 3.2.4.sp1
Reporter: Jan Hustak
Assignee: Diego Pires Plentz
Priority: Trivial
Fix For: 3.2.5
Attachments: hibernate-docs.patch
I have found a few apparent typos in code examples in the documentation:
- in section 6.3.2. "Bidirectional associations":
<class name="Item">
<id name="id" column="CATEGORY_ID"/>
should probably be
<class name="Item">
<id name="id" column="ITEM_ID"/>
- in section 10.4.1.2 "Queries that return tuples":
Object[] tuple = (Object[]) kittensAndMothers.next();
Cat kitten = tuple[0];
Cat mother = tuple[1];
should probably be
Object[] tuple = (Object[]) kittensAndMothers.next();
Cat kitten = (Cat) tuple[0];
Cat mother = (Cat) tuple[1];
- in section 11.3.2 "Application version checking":
if ( oldVersion!=foo.getVersion ) throw new StaleObjectStateException();
should probably be
if ( oldVersion != foo.getVersion() ) throw new StaleObjectStateException();
I've attached a patch that takes care of these; it was done against CVS earlier
today.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira