16.10.2015 Views

Getting Startedwith pureQuery

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

180<br />

<strong>Getting</strong> Started with <strong>pureQuery</strong><br />

object-relational mapping layer to respond to increasingly complex system requirements,<br />

while still supporting the necessary performance behavior in the relational database and<br />

application layers. <strong>pureQuery</strong> is flexible enough to support complex mapping design. At<br />

the same time, its default object-relational mapping implementation is quick to produce<br />

using <strong>pureQuery</strong> tooling and a live database schema.<br />

For systems with complex mapping requirements, <strong>pureQuery</strong> provides support for common<br />

and standardized object-relational mapping specifications such as XML entity-mapping<br />

definitions, and fully customizable object-relational mapping handlers which are pluggable<br />

into the default implementation when needed.<br />

Finally, once the <strong>pureQuery</strong> object-relational mapping layer is launched into production, the<br />

<strong>pureQuery</strong> framework supports effective monitoring, maintenance, and problem<br />

determination across the object-relational layer. In doing so, <strong>pureQuery</strong> opens a muchneeded<br />

window in the wall between the object and relational paradigms, supporting more<br />

effective design and problem-solving across the object-relational divide.<br />

9.5 Review Questions<br />

1. Explain the advantage of using a persistence framework?<br />

2. How are object-relational mappers related to persistence frameworks?<br />

3. True or false: <strong>pureQuery</strong> is a persistence framework?<br />

4. What are two factors which complicate object-relational mapping design?<br />

5. True or false: <strong>pureQuery</strong> supports only simple object to table mapping?<br />

6. Which of the following persistence frameworks does <strong>pureQuery</strong> NOT specifically<br />

integrate with?<br />

A. JDO<br />

B. JPA<br />

C. Hibernate<br />

7. Which of the following are advanced object-relational mapping tools supported by<br />

<strong>pureQuery</strong>?<br />

A. XML entity mapping files<br />

B. ResultHandlers and RowHandlers<br />

C. SQL Replacement<br />

D. All of the above<br />

8. Which <strong>pureQuery</strong> annotation is used on a bean field?<br />

A. @ColumnOverrides

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!