Klasse ObjectOrColumnPsPartBuilder
java.lang.Object
org.apache.torque.sql.objectbuilder.ObjectOrColumnPsPartBuilder
- Alle implementierten Schnittstellen:
ObjectPsPartBuilder
Builds a PreparedStatementPart from a column or single value.
- Version:
- $Id: ObjectOrColumnPsPartBuilder.java 1849379 2018-12-20 12:33:43Z tv $
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungBuilds a PreparedStatementPart from a column or single value.
-
Konstruktordetails
-
ObjectOrColumnPsPartBuilder
public ObjectOrColumnPsPartBuilder()
-
-
Methodendetails
-
buildPs
public PreparedStatementPart buildPs(Object toBuildFrom, boolean ignoreCase, Query query, Adapter adapter) throws TorqueException Builds a PreparedStatementPart from a column or single value.- Angegeben von:
buildPs
in SchnittstelleObjectPsPartBuilder
- Parameter:
toBuildFrom
- the object to build the psPart from.ignoreCase
- If true and columns represent Strings, the appropriate function defined for the database will be used to ignore differences in case.query
- the query which is currently builtadapter
- The adapter for the database for which the SQL should be created, not null.- Gibt zurück:
- the PreparedStatementPart for the object.
- Löst aus:
TorqueException
- when rendering fails.
-