[HHH-1920] Incorrect documentation regarding XML manipulation in Hibernate reference manual (chapter 18.3)

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@12943 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Diego Plentz 2007-08-15 03:31:18 +00:00
parent bd414941f8
commit ee0f78562d
7 changed files with 7 additions and 7 deletions

View File

@ -252,7 +252,7 @@ List results = dom4jSession
for ( int i=0; i<results.size(); i++ ) { for ( int i=0; i<results.size(); i++ ) {
//add the customer data to the XML document //add the customer data to the XML document
Element customer = (Element) results.get(i); Element customer = (Element) results.get(i);
doc.add(customer); doc.getRootElement().add(customer);
} }
tx.commit(); tx.commit();

View File

@ -248,7 +248,7 @@ List results = dom4jSession
for ( int i=0; i<results.size(); i++ ) { for ( int i=0; i<results.size(); i++ ) {
//add the customer data to the XML document //add the customer data to the XML document
Element customer = (Element) results.get(i); Element customer = (Element) results.get(i);
doc.add(customer); doc.getRootElement().add(customer);
} }
tx.commit(); tx.commit();

View File

@ -257,7 +257,7 @@ List results = dom4jSession
for ( int i=0; i<results.size(); i++ ) { for ( int i=0; i<results.size(); i++ ) {
//add the customer data to the XML document //add the customer data to the XML document
Element customer = (Element) results.get(i); Element customer = (Element) results.get(i);
doc.add(customer); doc.getRootElement().add(customer);
} }
tx.commit(); tx.commit();

View File

@ -264,7 +264,7 @@ List results = dom4jSession
for ( int i=0; i<results.size(); i++ ) { for ( int i=0; i<results.size(); i++ ) {
//add the customer data to the XML document //add the customer data to the XML document
Element customer = (Element) results.get(i); Element customer = (Element) results.get(i);
doc.add(customer); doc.getRootElement().add(customer);
} }
tx.commit(); tx.commit();

View File

@ -239,7 +239,7 @@ List results = dom4jSession
for ( int i=0; i<results.size(); i++ ) { for ( int i=0; i<results.size(); i++ ) {
//add the customer data to the XML document //add the customer data to the XML document
Element customer = (Element) results.get(i); Element customer = (Element) results.get(i);
doc.add(customer); doc.getRootElement().add(customer);
} }
tx.commit(); tx.commit();

View File

@ -255,7 +255,7 @@ List results = dom4jSession
for ( int i=0; i<results.size(); i++ ) { for ( int i=0; i<results.size(); i++ ) {
//add the customer data to the XML document //add the customer data to the XML document
Element customer = (Element) results.get(i); Element customer = (Element) results.get(i);
doc.add(customer); doc.getRootElement().add(customer);
} }
tx.commit(); tx.commit();

View File

@ -238,7 +238,7 @@ List results = dom4jSession
for ( int i=0; i<results.size(); i++ ) { for ( int i=0; i<results.size(); i++ ) {
//add the customer data to the XML document //add the customer data to the XML document
Element customer = (Element) results.get(i); Element customer = (Element) results.get(i);
doc.add(customer); doc.getRootElement().add(customer);
} }
tx.commit(); tx.commit();