Class Record

java.lang.Object
org.kissweb.database.Record
All Implemented Interfaces:
AutoCloseable

public class Record extends Object implements AutoCloseable
Instances of this class represent a single row in a table or a row in a result set.

There are two ways of getting instances of this class. The first way is by doing a select against the database. In that case, a Record or list of Record's is returned. The other way is to create a new row or record for insertion into the database. In that case, one should create the new Record instance as follows:

     Record rec = db.newRecord('myTable');

where db is a Connection instance.
See Also: