org.datanucleus.store.rdbms.request
Class LocateRequest

java.lang.Object
  extended by org.datanucleus.store.rdbms.request.Request
      extended by org.datanucleus.store.rdbms.request.LocateRequest

Deprecated. Use LocateRequest2 wherever possible

public class LocateRequest
extends Request

Class to locate a record in the data store. Extends basic request class implementing the execute method to do a JDBC select operation.


Field Summary
 
Fields inherited from class org.datanucleus.store.rdbms.request.Request
key, LOCALISER, table
 
Constructor Summary
LocateRequest(org.datanucleus.store.mapped.DatastoreClass table)
          Deprecated. Constructor, taking the table.
 
Method Summary
 void execute(org.datanucleus.StateManager sm)
          Deprecated. Method performing the retrieval of the record from the datastore.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocateRequest

public LocateRequest(org.datanucleus.store.mapped.DatastoreClass table)
Deprecated. 
Constructor, taking the table. Uses the structure of the datastore table to build a basic query.

Parameters:
table - The Class Table representing the datastore table to retrieve
Method Detail

execute

public void execute(org.datanucleus.StateManager sm)
Deprecated. 
Method performing the retrieval of the record from the datastore. Takes the constructed retrieval query and populates with the specific record information.

Specified by:
execute in class Request
Parameters:
sm - The state manager for the record to be retrieved


Copyright © 2009. All Rights Reserved.