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.

Appendix A – Solutions to the review questions 309<br />

5. Extended Insight provides new statistics from the middle tier between the<br />

application layer and the database layer, including database driver and network<br />

statistics.<br />

6. C.<br />

7. D.<br />

8. C.<br />

9. D.<br />

10. A.<br />

Chapter 9<br />

1. The advantages of using a persistence framework are to encapsulate the business<br />

logic and relational schema from each other, and to allow the application developer<br />

to focus on writing business logic instead of persistence management.<br />

2. Object-relational mappers are the part of a persistence framework that maps<br />

between object data and relational data, whenever the backend persistence store<br />

is a relational database.<br />

3. False. <strong>pureQuery</strong> is not a persistence framework, but is a platform which can<br />

enhance a variety of existing persistence frameworks.<br />

4. Object-relational mapping are often complicated by database normalization and<br />

complex class hierarchies.<br />

5. False. <strong>pureQuery</strong> supports both simple and complex object-relational mapping<br />

schemes.<br />

6. A. JDO has no <strong>pureQuery</strong> specific integrations.<br />

7. D. XML entity mapping files, ResultHandlers, RowHandlers, and SQL<br />

Replacement are all <strong>pureQuery</strong> features that support advanced object-relational<br />

mapping design.<br />

8. C.<br />

9. A.<br />

10. D.<br />

Chapter 10<br />

1. Specify an SQL statement that you want to execute as a parameter to a method in<br />

the com.ibm.pdq.runtime.Data interface.<br />

2. Create an instance of the Data interface by invoking a method in the<br />

com.ibm.pdq.runtime.factory.DataFactory class.

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

Saved successfully!

Ooh no, something went wrong!