Index_Q


Q

Queries, 3, 37–73. See also JDOQL

against an extent, 138

as serializable, 42

compiling, 47

IgnoreCache property, 63–64

results collection, 46–47

running, 45–46

select on join using one-to-many, 68

select on join using one-to-one, 67–68

select on join using many-to-many, 68–69

select on one table, 67

select on outer join, 70

select on self-join, 69

select using subquery, 70

using or ignoring the cache, 62–64

Query candidates, setting, 42–43

Query filter expression, root terms of, 51

Query filters, 50

as quoted strings, 50

setting, 43

syntax of, 49–55

use of variables in, 55–60

Query imports, declaring, 45

Query interface, 37–73

class diagram of, 42, 389

close methods, 46–47

compile method, 47

declareImports method, 45

declareParameters method, 43–44

declareVariables method, 44

execute methods, 45–46

getPersistenceManager method, 48

IgnoreCache property, 47–48

setCandidates methods, 42–43

setClass method, 43

setFilter method, 43

setOrdering method, 45

Query languages (vendor-supported), 49

Query objects, factory methods that produce, 48–49

Query ordering clauses

field expressions, 61

field types, 61

Query parameters, declaring, 43–44

Query results

closing, 46

ordering, 45, 60–62

Query service, 37–73

Query service design, 41

Query variables, 44, 55–60

quit command, 283

Quotation marks, escaped, 50–51

Quote class, 207

Quote servers (Learning Tools), 269

QuoteManager class, 207

QuoteManagerOID class, 218

QuoteServer BMT session bean, 220–224

QuoteServer business interface, 202, 208–209

QuoteServer business methods, 216

QuoteServer CMT session bean, 202–208

QuoteServer EJBs, 360

build targets for, 374

building, 374–375

configuring, 361–365

setup and cleanup methods, 214–215

QuoteServer entity bean, 209–219

QuoteServer interface, 373

addQuote method, 202

getQuote method, 202

QuoteServerClient, 360

QuoteServerException, 207




Using and Understanding Java Data Objects
Using and Understanding Java Data Objects
ISBN: 1590590430
EAN: 2147483647
Year: 2005
Pages: 156
Authors: David Ezzio

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net