wt.pds.sqlServer
Class SQLServerPds

java.lang.Object
  extended bywt.pds.SQLDatabasePds
      extended bywt.pds.sqlServer.SQLServerPds
All Implemented Interfaces:
PDSIfc

public class SQLServerPds
extends SQLDatabasePds

This class implements Persistence Data Services for SQLServer.

Supported API: false

Extendable: false


Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
 
Fields inherited from class wt.pds.SQLDatabasePds
DMLGENERATOR
 
Constructor Summary
SQLServerPds()
           
 
Method Summary
 DataSource getDataSource()
          

Supported API: false
 String getNextSequence(WTConnection a_connection, String a_sequenceName)
          Return the next value from the datastore sequence.
 void lock(WTConnection a_connection, Object a_class, boolean a_wait)
          Perform a datastore lock on an Class table.
 Persistable lock(WTConnection a_connection, Persistable a_obj, boolean a_wait)
          Perform a datastore lock on an Object.
 
Methods inherited from class wt.pds.SQLDatabasePds
buildLobMap, closeConnection, containSequenceColumn, execute, executeCall, expand, expand, getAttributeMapInfo, getDefaultTransactionIsolation, getDMLGenerator, getLob, getLobAsByteArray, getLobAsObject, handleException, handleSQLException, initializeConnection, insert, insertPageResults, isLob, isLobLocator, isPersistent, processSQLException, query, refresh, refresh, remove, setLob, setLob, setObjectAsLob, update, update, validateExists, validateInsert
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

SQLServerPds

public SQLServerPds()
Method Detail

lock

public Persistable lock(WTConnection a_connection,
                        Persistable a_obj,
                        boolean a_wait)
                 throws PersistenceException
Perform a datastore lock on an Object.

Supported API: false

Specified by:
lock in interface PDSIfc
Specified by:
lock in class SQLDatabasePds
Parameters:
a_connection -
a_obj -
a_wait -
Returns:
Persistable
Throws:
PersistenceException

getNextSequence

public String getNextSequence(WTConnection a_connection,
                              String a_sequenceName)
                       throws PersistenceException
Return the next value from the datastore sequence.

Supported API: false

Specified by:
getNextSequence in interface PDSIfc
Specified by:
getNextSequence in class SQLDatabasePds
Parameters:
a_connection -
a_sequenceName -
Returns:
String
Throws:
PersistenceException

getDataSource

public DataSource getDataSource()


Supported API: false

Specified by:
getDataSource in interface PDSIfc
Specified by:
getDataSource in class SQLDatabasePds
Returns:
DataSource

lock

public void lock(WTConnection a_connection,
                 Object a_class,
                 boolean a_wait)
          throws PersistenceException
Perform a datastore lock on an Class table.

Supported API: false

Specified by:
lock in interface PDSIfc
Specified by:
lock in class SQLDatabasePds
Parameters:
a_connection -
a_class -
a_wait -
Throws:
PersistenceException