|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jstorm.mapping.SqlRunner
Insert the type's description here. Creation date: (5/26/2001 5:44:16 PM)
Constructor Summary | |
SqlRunner()
SqlRunner constructor comment. |
Method Summary | |
void |
aggregate(java.lang.Object secondObject,
java.lang.Object firstObject)
Insert the method's description here. |
java.util.Collection |
doAggregateSelect(Mapping mapping,
Mapping secondMapping,
java.lang.String field1,
java.lang.String field2)
Insert the method's description here. |
java.util.Collection |
doAggregateSelect(Mapping mapping,
Mapping secondMapping,
java.lang.String field1,
java.lang.String field2,
java.lang.String whereClause)
Insert the method's description here. |
void |
doDelete(java.lang.Object object,
Mapping mapping)
Insert the method's description here. |
void |
doDelete(StorableObject storable)
Insert the method's description here. |
void |
doInsert(java.lang.Object object,
Mapping mapping)
Insert the method's description here. |
void |
doInsert(StorableObject storable)
Insert the method's description here. |
java.util.Collection |
doSelect(Mapping mapping)
Insert the method's description here. |
java.util.Collection |
doSelect(Mapping mapping,
java.lang.String whereClause)
Insert the method's description here. |
java.util.Collection |
doSelect(StorableObject constraint)
Insert the method's description here. |
void |
doUpdate(java.lang.Object object,
Mapping mapping)
Insert the method's description here. |
void |
doUpdate(StorableObject storable)
Insert the method's description here. |
void |
executeUpdate(java.sql.PreparedStatement statement,
Mapping mapping)
Insert the method's description here. |
java.lang.String |
getAsName(Mapping mapping,
Attribute attribute)
Insert the method's description here. |
java.sql.Connection |
getConnection()
Insert the method's description here. |
ParameterDecorator |
getParameterDecorator(java.lang.Class value)
|
void |
setKeyValuesOnStatement(java.util.Iterator keyAttributes,
java.sql.PreparedStatement statement,
java.lang.Object object,
int startingPoint)
Insert the method's description here. |
void |
setSingleValueOnStatement(Attribute attribute,
java.sql.PreparedStatement statement,
java.lang.Object objectToPersist,
int index)
Insert the method's description here. |
void |
setupParameterDecorator()
|
void |
setValuesOnObject(java.util.Iterator attributes,
Mapping mapping,
java.sql.ResultSet resultSet,
java.lang.Object object)
Insert the method's description here. |
void |
setValuesOnStatement(Mapping mapping,
java.sql.PreparedStatement statement,
java.lang.Object objectToPersist)
Insert the method's description here. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SqlRunner()
Method Detail |
public void aggregate(java.lang.Object secondObject, java.lang.Object firstObject) throws java.lang.Exception
first
- java.lang.Objectsecond
- java.lang.Objectpublic java.util.Collection doAggregateSelect(Mapping mapping, Mapping secondMapping, java.lang.String field1, java.lang.String field2) throws DatabaseException
doAggregateSelect
in interface IDatabase
mapping
- com.lante.mapping.Mappingpublic java.util.Collection doAggregateSelect(Mapping mapping, Mapping secondMapping, java.lang.String field1, java.lang.String field2, java.lang.String whereClause) throws DatabaseException
doAggregateSelect
in interface IDatabase
mapping
- com.lante.mapping.Mappingpublic void doDelete(java.lang.Object object, Mapping mapping)
mapping
- com.lante.mapping.Mappingpublic void doDelete(StorableObject storable)
doDelete
in interface IDatabase
mapping
- com.lante.mapping.Mappingpublic void doInsert(java.lang.Object object, Mapping mapping)
mapping
- com.lante.mapping.Mappingpublic void doInsert(StorableObject storable)
doInsert
in interface IDatabase
mapping
- com.lante.mapping.Mappingpublic java.util.Collection doSelect(Mapping mapping) throws DatabaseException
doSelect
in interface IDatabase
mapping
- com.lante.mapping.Mappingpublic java.util.Collection doSelect(Mapping mapping, java.lang.String whereClause) throws DatabaseException
doSelect
in interface IDatabase
mapping
- com.lante.mapping.Mappingpublic java.util.Collection doSelect(StorableObject constraint) throws DatabaseException
doSelect
in interface IDatabase
mapping
- com.lante.mapping.Mappingpublic void doUpdate(java.lang.Object object, Mapping mapping)
mapping
- com.lante.mapping.Mappingpublic void doUpdate(StorableObject storable)
doUpdate
in interface IDatabase
mapping
- com.lante.mapping.Mappingpublic void executeUpdate(java.sql.PreparedStatement statement, Mapping mapping) throws java.lang.Exception
public java.lang.String getAsName(Mapping mapping, Attribute attribute)
attributes
- java.util.IteratorresultSet
- java.sql.ResultSetobject
- java.lang.Objectpublic java.sql.Connection getConnection() throws java.lang.Exception
public ParameterDecorator getParameterDecorator(java.lang.Class value)
public void setKeyValuesOnStatement(java.util.Iterator keyAttributes, java.sql.PreparedStatement statement, java.lang.Object object, int startingPoint) throws java.lang.Exception
mapping
- com.lante.mapping.Mappingpublic void setSingleValueOnStatement(Attribute attribute, java.sql.PreparedStatement statement, java.lang.Object objectToPersist, int index) throws java.lang.Exception
attributes
- java.util.IteratorresultSet
- java.sql.ResultSetobject
- java.lang.Objectpublic void setupParameterDecorator()
public void setValuesOnObject(java.util.Iterator attributes, Mapping mapping, java.sql.ResultSet resultSet, java.lang.Object object) throws java.lang.Exception
attributes
- java.util.IteratorresultSet
- java.sql.ResultSetobject
- java.lang.Objectpublic void setValuesOnStatement(Mapping mapping, java.sql.PreparedStatement statement, java.lang.Object objectToPersist) throws java.lang.Exception
attributes
- java.util.IteratorresultSet
- java.sql.ResultSetobject
- java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |