Property
Resource Property
The PropertyIndex defaults to Property.Index.TOKENIZED.
PropertyIndex
Property.Index.TOKENIZED
ResultSet
Resource
The required mappings are the alias of the Resource, the select query that generates the ResultSet, and at least one id mapping that maps the ResultSet identifiers columns ( org.compass.gps.device.jdbc.mapping.IdColumnToPropertyMapping ).
Mapping data columns ( org.compass.gps.device.jdbc.mapping.DataColumnToPropertyMapping ) is optional, but provides the meta data (Resource Proeprty) for searching.
Resource Proeprty
Since the mapping works against a table, most of the parameters can be automatically generated.
In order to map a version column, either the column index or the column name must be set, and the version column jdbc type (one of java.sql.Types).
java.sql.Types