public class DriverJDBC extends DriverGeneric
LINSEP, S_ALTER, S_ALTERDEL, S_CANCEL, S_COMMIT, S_CREATE, S_DELETE, S_DELFILE, S_DROP, S_FTDEL, S_FTINS, S_FTSEARCH, S_FTUPD, S_INITTRANS, S_INSERT, S_INSFILE, S_INTEGRIT, S_INTEGRIT2, S_LOGIN, S_LOGOUT, S_RENFILE, S_RETRIEVEFILE, S_SELECT, S_UNLOCK, S_UPDATE, WINSEP
Constructor and Description |
---|
DriverJDBC(java.lang.String pURL,
java.lang.String pPARAM,
java.lang.String pUser,
java.lang.String pPassword)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
AnularTrans()
Aborts a Transaction
|
void |
CerrarTrans()
Ends a transaction
|
void |
CloseCursor(Cursor CursorIdent)
Close a Cursor
|
void |
delete()
Disconects freeing all resources
|
void |
IniciarTrans()
Starts a Transaction
|
boolean |
isConnected()
Verify if the conection with the repository is ok
|
Record |
NextRec(Cursor CursorIdent)
Retrieves next record of cursor
|
BuildObj, ChangePassword, Codif, ConvertJavaDocImport, CreateRep, DeCodif, DefTT, DefTT, DestroyRep, FixPath, generateProps, getAppLang, getDBUser, getDefAppLang, getHelpLang, getImpDocs, getImpFolds, getPARAM, getPDCust, getTimeLocked, getTimeUsed, getToken, getURL, getUser, getVersion, ImportDefs, ImportFolder, ImportPack, ImportThes, InsertFile, Install, IsConnected, isInTransaction, isLocked, Lock, ProcessXML, ProcessXML, ProcessXMLB64, RefreshUser, RemoteOrder, setAppLang, setDefAppLang, setInTransaction, SetPassword, TT, Uninstall, UnLock, Update
public DriverJDBC(java.lang.String pURL, java.lang.String pPARAM, java.lang.String pUser, java.lang.String pPassword) throws PDException
pURL
- Url to DDBB ServerpPARAM
- JDBC Class to usepUser
- DDBB UserpPassword
- DDBB PasswordPDException
- on errorpublic void delete() throws PDException
delete
in class DriverGeneric
PDException
- In any errorpublic boolean isConnected()
isConnected
in class DriverGeneric
public void IniciarTrans() throws PDException
IniciarTrans
in class DriverGeneric
PDException
- In any errorpublic void CerrarTrans() throws PDException
CerrarTrans
in class DriverGeneric
PDException
- In any errorpublic void AnularTrans() throws PDException
AnularTrans
in class DriverGeneric
PDException
- In any errorpublic void CloseCursor(Cursor CursorIdent) throws PDException
CloseCursor
in class DriverGeneric
CursorIdent
- Identifieer of cursorPDException
- In any errorpublic Record NextRec(Cursor CursorIdent) throws PDException
NextRec
in class DriverGeneric
CursorIdent
- Identifier of cursor to travelPDException
- In any error