org.objectweb.cjdbc.common.sql
Class RequestType

java.lang.Object
  extended byorg.objectweb.cjdbc.common.sql.RequestType

public class RequestType
extends java.lang.Object

Defines static types values for request.

Version:
1.0
Author:
Emmanuel Cecchet, Mathieu Peltier

Field Summary
static int CACHEABLE
          Type value for cacheable request.
static int UNCACHEABLE
          Type value for uncacheable request.
static int UNIQUE_CACHEABLE
          Type value for cacheable request that are not affected by an INSERT (select based on a primary key for example).
 
Constructor Summary
RequestType()
           
 
Method Summary
static java.lang.String getInformation(int type)
          Returns the request type in a String form.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CACHEABLE

public static final int CACHEABLE
Type value for cacheable request.

See Also:
Constant Field Values

UNCACHEABLE

public static final int UNCACHEABLE
Type value for uncacheable request.

See Also:
Constant Field Values

UNIQUE_CACHEABLE

public static final int UNIQUE_CACHEABLE
Type value for cacheable request that are not affected by an INSERT (select based on a primary key for example).

See Also:
Constant Field Values
Constructor Detail

RequestType

public RequestType()
Method Detail

getInformation

public static java.lang.String getInformation(int type)
Returns the request type in a String form.

Parameters:
type - the request type
Returns:
the String form of the request type


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.