6. Query Data from Databases

  1. Ying Bai

Published Online: 4 AUG 2011

DOI: 10.1002/9781118104651.ch6

Practical Database Programming with Java

Practical Database Programming with Java

How to Cite

Bai, Y. (2011) Query Data from Databases, in Practical Database Programming with Java, John Wiley & Sons, Inc., Hoboken, NJ, USA. doi: 10.1002/9781118104651.ch6

Author Information

  1. Department of Computer Science and Engineering, Johnson C. Smith University, Charlotte, North Carolina, USA

Publication History

  1. Published Online: 4 AUG 2011
  2. Published Print: 16 SEP 2011

ISBN Information

Print ISBN: 9780470889404

Online ISBN: 9781118104651

SEARCH

Keywords:

  • building two-tier client–server applications - two methods to perform database queries, JPA Wizards attached with NetBeans IDE 6.8, and regular Java runtime object method;
  • query data using Java Persistence API Wizards - JPA, new component added to EE 5 and attached to the NetBeans IDE 6.8;
  • Java database programming methods, using JPA (JPA) Wizards and Java runtime object - for accessing relational databases and performing data queries, with SelectQueryWizard and OracleSelectWizard

Summary

This chapter contains sections titled:

  • Java Persistence APIs

  • Query Data Using Java Persistence API Wizards (JPA)

  • Introduction to Runtime Object Method

  • Create a Java Application Project to Access the SQL Server Database

  • Create a Java Application Project to Access the Oracle Database

  • Chapter Summary

  • Homework