Package org.datanucleus.store.rdbms.mapping.column
Package containing mappings for column (JDBC) types. These mappings will be mapped via the MappingManager to the various java type mappings in org.datanucleus.store.rdbms.mapping.java
These are column (JDBC) types, and probably most of them are atomic types mapping to atomic java types
Mappings map persistent java fields in persistable classes to columns in RDBMS tables. Mappings are also used to map "non-fields" in persistable classes to columns in RDBMS tables. A class using datastore identity does not have java fields representing primary-keys in RDBMS tables, but as said earlier a Mapping is also applied to "non-fields". Therefore, a Mapping is applied to:
- persistent java fields
- datastore identity (primary-key columns)
- optimistic columns (columns with version numbers)
- index columns (columns indexing an ordered list)
- owner columns in unidirectional inverse relationships
- adapter columns (additional column added as primary key when the existing columns have datatype not allowed, by database limitation, to be part of the primary key)
In addition to the representation of columns in tables for persistable classes, column mappings are also used for representing columns in queries.
-
Interface Summary Interface Description ColumnMapping Representation of the mapping of a column.ColumnMappingPostInsert Interface implemented by any ColumnMapping that requires a post-insert step.ColumnMappingPostUpdate Interface implemented by any ColumnMapping that requires a post-UPDATE step. -
Class Summary Class Description AbstractColumnMapping Implementation of the mapping of a column.AbstractLargeBinaryColumnMapping Mapping of a large binary (e.g BLOB, LONGVARBINARY) column.ArrayColumnMapping Mapping of an ARRAY column.BigIntColumnMapping Mapping of a Big Integer column.BinaryColumnMapping Mapping of a BINARY column.BinaryStreamColumnMapping Mapping of a BinaryStream column.BitColumnMapping Mapping of a BIT column.BlobColumnMapping Mapping of a BLOB column.BlobImpl The representation (mapping) in the Java programming language of an SQLBLOB
value.BooleanColumnMapping Mapping of a BOOLEAN column.CharColumnMapping Mapping of a CHAR column.ClobColumnMapping Mapping of a Clob column.ClobImpl The mapping in the Java programming language for the SQLCLOB
type.ColumnMappingFactory Factory class for creating ColumnMapping instances.DateColumnMapping Mapping of a DATE column.DB2DatalinkColumnMapping Mapping of a DB2 "Datalink" column.DecimalColumnMapping Mapping of a Decimal column.DoubleColumnMapping Mapping of a DOUBLE column.FloatColumnMapping Mapping of a Float column.IntegerColumnMapping Mapping of a INTEGER column.LongVarBinaryColumnMapping Mapping of a LONGVARBINARY column.LongVarcharColumnMapping Mapping of a Long VARCHAR column.NCharColumnMapping Mapping of a NCHAR column.NumericColumnMapping Mapping of a numeric column.NVarcharColumnMapping Mapping of a NVARCHAR column.OracleBlobColumnMapping Mapping for an Oracle BLOB column.OracleClobColumnMapping Mapping for an Oracle CLOB column.OracleXMLTypeColumnMapping Mapping for an Oracle XMLType column.OtherColumnMapping Mapping of an "OTHER" column.RealColumnMapping Mapping of a REAL column.SmallIntColumnMapping Mapping of a SMALLINT column.SqlXmlColumnMapping Mapping of an SQLXML column.StreamableSpooler Spooler for files being streamed from the datastore.TimeColumnMapping Mapping of a TIME column.TimestampColumnMapping Mapping of a TIMESTAMP column.TimesTenVarBinaryColumnMapping Mapping of a VARBINARY column for TimesTen database.TinyIntColumnMapping Mapping of a TINYINT column.VarBinaryColumnMapping Mapping of a VARBINARY column.VarCharColumnMapping Mapping of a VARCHAR column.