# Uses of Class
org.apache.torque.util.ColumnValues

Packages that use ColumnValues
Package
Description
org.apache.torque.sql
This package contains classes which are mainly used in the SQL generation process.
org.apache.torque.util
Misc. utility classes.

- ## Uses of ColumnValues in org.apache.torque.sql

  Methods in org.apache.torque.sql that return ColumnValues
  Modifier and Type
  Method
  Description
  `ColumnValues`
  Query.`getUpdateValues()`
  Retrieve the values to update to in case of an update statement.

- ## Uses of ColumnValues in org.apache.torque.util

  Methods in org.apache.torque.util that return ColumnValues
  Modifier and Type
  Method
  Description
  `abstract ColumnValues`
  AbstractPeerImpl.`buildColumnValues(T obj)`
  Returns the contents of the object as ColumnValues object.
  Methods in org.apache.torque.util with parameters of type ColumnValues
  Modifier and Type
  Method
  Description
  `void`
  BasePeerImpl.`correctBooleans(ColumnValues columnValues)`
  Checks all columns in the criteria to see whether booleanchar and booleanint columns are queried with a boolean.
  `ObjectKey<?>`
  AbstractPeerImpl.`doInsert(ColumnValues columnValues, Connection con)`
  Method to do inserts.
  `ObjectKey<?>`
  BasePeerImpl.`doInsert(ColumnValues insertValues)`
  Inserts a record into a database table.
  `ObjectKey<?>`
  BasePeerImpl.`doInsert(ColumnValues insertValues, Connection connection)`
  Inserts a record into a database table.
  `int`
  BasePeerImpl.`doUpdate(Criteria selectCriteria, ColumnValues updateValues)`
  Executes an update against the database.
  `int`
  BasePeerImpl.`doUpdate(Criteria criteria, ColumnValues updateValues, Connection connection)`
  Executes an update against the database.
  `int`
  BasePeerImpl.`doUpdate(ColumnValues updateValues)`
  Convenience method used to update rows in the DB.
  `int`
  BasePeerImpl.`doUpdate(ColumnValues updateValues, Connection connection)`
  Convenience method used to update rows in the DB.