Modifier and Type | Method and Description |
---|---|
Call |
DescriptorQueryManager.getDeleteCall()
ADVANCED:
Return the receiver's delete call.
|
Call |
DescriptorQueryManager.getDoesExistCall()
ADVANCED:
Return the receiver's does-exist call.
|
Call |
DescriptorQueryManager.getInsertCall()
ADVANCED:
Return the receiver's insert call.
|
Call |
DescriptorQueryManager.getReadAllCall()
ADVANCED:
Return the receiver's read-all call.
|
Call |
DescriptorQueryManager.getReadObjectCall()
ADVANCED:
Return the receiver's read-object call.
|
Call |
DescriptorQueryManager.getUpdateCall()
ADVANCED:
Return the receiver's update call.
|
Modifier and Type | Method and Description |
---|---|
void |
DescriptorQueryManager.setDeleteCall(Call call)
ADVANCED:
Set the receiver's delete call.
|
void |
DescriptorQueryManager.setDoesExistCall(Call call)
ADVANCED:
Set the receiver's does exist call.
|
void |
DescriptorQueryManager.setInsertCall(Call call)
ADVANCED:
Set the receiver's insert call.
|
void |
DescriptorQueryManager.setReadAllCall(Call call)
ADVANCED:
Set the receiver's read all call.
|
void |
DescriptorQueryManager.setReadObjectCall(Call call)
ADVANCED:
Set the receiver's read object call.
|
void |
DescriptorQueryManager.setUpdateCall(Call call)
ADVANCED:
Set the receiver's update call.
|
Modifier and Type | Field and Description |
---|---|
protected Call |
DatabaseException.call |
Modifier and Type | Method and Description |
---|---|
Call |
DatabaseException.getCall()
PUBLIC:
Return the call that caused the exception.
|
Modifier and Type | Method and Description |
---|---|
static QueryException |
QueryException.invalidDatabaseCall(Call call) |
void |
DatabaseException.setCall(Call call)
INTERNAL:
Set the call that caused the exception.
|
static DatabaseException |
DatabaseException.sqlException(SQLException exception,
Call call,
Accessor accessor,
AbstractSession session) |
Modifier and Type | Interface and Description |
---|---|
interface |
QueryStringCall
INTERNAL:
Purpose: Used to define query string calls.
|
Modifier and Type | Class and Description |
---|---|
class |
DatabaseCall
INTERNAL:
Purpose: Used as an abstraction of a database invocation.
|
class |
DatasourceCall
INTERNAL:
Purpose: Used as an abstraction of a datasource invocation.
|
Modifier and Type | Method and Description |
---|---|
void |
DatabasePlatform.appendLiteralToCall(Call call,
Writer writer,
Object literal)
INTERNAL
In case shouldBindLiterals is true, instead of null value a DatabaseField
value may be passed (so that it's type could be used for binding null).
|
protected void |
DatabasePlatform.appendLiteralToCallWithBinding(Call call,
Writer writer,
Object literal)
INTERNAL
Override this method in case the platform needs to do something special for binding literals.
|
void |
DatasourcePlatform.appendParameter(Call call,
Writer writer,
Object parameter)
Add the parameter.
|
void |
DatabasePlatform.appendParameter(Call call,
Writer writer,
Object parameter)
Write a database-friendly representation of the given parameter to the writer.
|
void |
Platform.appendParameter(Call call,
Writer writer,
Object parameter)
Add the parameter.
|
int |
DatabasePlatform.appendParameterInternal(Call call,
Writer writer,
Object parameter)
Returns the number of parameters that used binding.
|
Object |
DatabaseAccessor.basicExecuteCall(Call call,
AbstractRecord translationRow,
AbstractSession session)
Execute the call.
|
protected abstract Object |
DatasourceAccessor.basicExecuteCall(Call call,
AbstractRecord row,
AbstractSession session)
Execute the call to driver level datasource.
|
Object |
Accessor.executeCall(Call call,
AbstractRecord translationRow,
AbstractSession session)
Execute the call.
|
Object |
DatabaseAccessor.executeCall(Call call,
AbstractRecord translationRow,
AbstractSession session)
Execute the call.
|
Object |
DatasourceAccessor.executeCall(Call call,
AbstractRecord translationRow,
AbstractSession session)
Execute the call.
|
Object |
DatasourcePlatform.getCustomModifyValueForCall(Call call,
Object value,
DatabaseField field,
boolean shouldBind)
Allow for the platform to handle the representation of parameters specially.
|
Object |
Platform.getCustomModifyValueForCall(Call call,
Object value,
DatabaseField field,
boolean shouldBind)
Allow for the platform to handle the representation of parameters specially.
|
Modifier and Type | Method and Description |
---|---|
void |
LOBValueWriter.addCall(Call call)
Add original (insert or update) call to the collection
|
Modifier and Type | Method and Description |
---|---|
Object |
AbstractSession.executeCall(Call call,
AbstractRecord translationRow,
DatabaseQuery query)
INTERNAL:
Overridden by subclasses that do more than just execute the call.
|
Object |
IsolatedClientSession.executeCall(Call call,
AbstractRecord translationRow,
DatabaseQuery query)
INTERNAL:
Isolated sessions must forward call execution to its parent, unless in a transaction.
|
Object |
UnitOfWorkImpl.executeCall(Call call,
AbstractRecord translationRow,
DatabaseQuery query)
INTERNAL:
Override From session.
|
int |
AbstractSession.executeNonSelectingCall(Call call)
PUBLIC:
Execute the call on the database.
|
Vector |
AbstractSession.executeSelectingCall(Call call)
PUBLIC:
Execute the call on the database and return the result.
|
Vector |
AbstractSession.readAllObjects(Class referenceClass,
Call aCall)
PUBLIC:
Read all the instances of the class from the database returned through execution the Call string.
|
Object |
AbstractSession.readObject(Class domainClass,
Call aCall)
PUBLIC:
Read the first instance of the class from the database returned through execution the Call string.
|
Modifier and Type | Method and Description |
---|---|
void |
CollectionMapping.setDeleteAllCall(Call call)
PUBLIC:
Set the receiver's delete all call.
|
void |
ManyToManyMapping.setDeleteCall(Call call)
PUBLIC:
Set the receiver's delete Call.
|
void |
ManyToManyMapping.setInsertCall(Call call)
PUBLIC:
Set the receiver's insert Call.
|
void |
ForeignReferenceMapping.setSelectionCall(Call call)
PUBLIC:
This is a property on the mapping which will allow custom call to be
substituted for reading a reference object.
|
Modifier and Type | Class and Description |
---|---|
class |
EJBQLCall
Purpose: Used as an abstraction of a database invocation.
|
class |
SQLCall
Purpose: Used as an abstraction of an SQL call.
|
Modifier and Type | Method and Description |
---|---|
Call |
DatabaseQuery.getDatasourceCall()
ADVANCED:
Return the call for this query.
|
Modifier and Type | Method and Description |
---|---|
void |
DatabaseQuery.addCall(Call call)
PUBLIC:
Used to define a store procedure or SQL query.
|
void |
DatabaseQuery.setCall(Call call)
PUBLIC:
Used to define a store procedure or SQL query.
|
void |
DatabaseQuery.setDatasourceCall(Call call)
PUBLIC:
Used to define a store procedure or SQL query.
|
Constructor and Description |
---|
DataModifyQuery(Call call) |
DataReadQuery(Call call)
PUBLIC:
Initialize the query to use the specified call.
|
DeleteObjectQuery(Call call) |
DirectReadQuery(Call call)
PUBLIC:
Initialize the query to use the specified call.
|
DoesExistQuery(Call call)
PUBLIC:
Create a query to check if the object exists.
|
InsertObjectQuery(Call call)
PUBLIC:
Create an insert query with the custom call.
|
ReadAllQuery(Call call)
PUBLIC:
Create a read all query with the database call.
|
ReadAllQuery(Class classToRead,
Call call)
PUBLIC:
Return a new read all query.
|
ReadObjectQuery(Call call)
PUBLIC:
Return a new read object query.
|
ReadObjectQuery(Class classToRead,
Call call)
PUBLIC:
Return a new read object query.
|
ResultSetMappingQuery(Call call)
PUBLIC:
Initialize the query to use the specified call.
|
ResultSetMappingQuery(Call call,
String sqlResultSetMappingName)
PUBLIC:
Initialize the query to use the specified call and SQLResultSetMapping
|
UpdateObjectQuery(Call call)
PUBLIC:
Create an update query with the custom call.
|
ValueReadQuery(Call call)
PUBLIC:
Initialize the query to use the specified call.
|
WriteObjectQuery(Call call) |
Modifier and Type | Method and Description |
---|---|
int |
Session.executeNonSelectingCall(Call call)
PUBLIC:
Execute the call on the database.
|
Vector |
Session.executeSelectingCall(Call call)
PUBLIC:
Execute the call on the database and return the result.
|
Vector |
Session.readAllObjects(Class domainClass,
Call aCall)
PUBLIC:
Read all the instances of the class from the database returned through execution the Call string.
|
Object |
Session.readObject(Class domainClass,
Call aCall)
PUBLIC:
Read the first instance of the class from the database returned through execution the Call string.
|
Modifier and Type | Method and Description |
---|---|
Object |
ServerSession.executeCall(Call call,
AbstractRecord translationRow,
DatabaseQuery query)
INTERNAL:
Override to acquire the connection from the pool at the last minute
|
Copyright © 2021. All rights reserved.