The SQLTable class represents a database table.
The SQLTable class defines the following attributes.
|
|
|
database
|
com.vmware.o11n.plugin.database.Database
|
The database to which the table belongs.
|
name
|
String
|
The table name
|
The SQLTable class defines the following methods.
|
|
|
createRecord(Object,Boolean):SQLActiveRecord
|
SQLActiveRecord
|
Creates a new active record with primary fields.
|
deleteRecords(Object,Boolean):Integer
|
Integer
|
Deletes a record by certain search criteria.
|
findUniqueRecord(Object[]):SQLActiveRecord
|
SQLActiveRecord
|
Finds a record by certain search criteria.
|
readRecords(Object,Boolean):SQLActiveRecord[]
|
Array of SQLActiveRecord
|
Reads records by certain search criteria.
|
updateRecord(SQLActiveRecord,Object):Integer
|
Integer
|
Updates the record that matches the primary key fields.
|