mirror of https://github.com/apache/openjpa.git
OPENJPA-240 XMLMapping Query testcase - fix identation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@557444 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b761732fdf
commit
462cf31ed5
|
@ -50,7 +50,8 @@ public class TestXMLCustomerOrder
|
|||
|
||||
public void setUp() {
|
||||
setUp(org.apache.openjpa.persistence.xmlmapping.entities.Customer.class
|
||||
, org.apache.openjpa.persistence.xmlmapping.entities.Customer.CustomerKey.class
|
||||
, org.apache.openjpa.persistence.xmlmapping.entities.Customer
|
||||
.CustomerKey.class
|
||||
, org.apache.openjpa.persistence.xmlmapping.entities.Order.class
|
||||
, org.apache.openjpa.persistence.xmlmapping.entities.EAddress.class
|
||||
, "openjpa.MetaDataRepository"
|
||||
|
@ -89,7 +90,8 @@ public class TestXMLCustomerOrder
|
|||
// For platform specific expected sqls are under resources.
|
||||
// The generated sql of the test is captured and written to file:
|
||||
// ./TestXMLCustomerOrder.log
|
||||
// This output file contents should match with the platform specfic sqls.
|
||||
// This output file contents should match with the platform specfic
|
||||
// sqls.
|
||||
System.out.println("Expected pushdown SQL log file is in: " + sqllog);
|
||||
|
||||
sql.clear();
|
||||
|
@ -114,7 +116,8 @@ public class TestXMLCustomerOrder
|
|||
|
||||
System.err.println("Main started.");
|
||||
int test=1;
|
||||
List<Address> addrs = em.createQuery("select o.shipAddress from Order o")
|
||||
List<Address> addrs = em.createQuery(
|
||||
"select o.shipAddress from Order o")
|
||||
.getResultList();
|
||||
for (Address addr : addrs) {
|
||||
System.out.println("addr= " + addr.toString());
|
||||
|
|
Loading…
Reference in New Issue