org.jpox.store.rdbms.mapping
Class DatalinkRDBMSMapping
java.lang.Object
org.jpox.store.rdbms.mapping.RDBMSMapping
org.jpox.store.rdbms.mapping.ColumnMapping
org.jpox.store.rdbms.mapping.CharRDBMSMapping
org.jpox.store.rdbms.mapping.DatalinkRDBMSMapping
- All Implemented Interfaces:
- DatastoreMapping
- public class DatalinkRDBMSMapping
- extends CharRDBMSMapping
FCO Mapping for an DB2 String type.
- Version:
- $Revision: 1.7 $
Methods inherited from class org.jpox.store.rdbms.mapping.CharRDBMSMapping |
getBoolean, getChar, getDatastoreField, getLocale, getObject, getString, getTimeZone, setBoolean, setChar, setLocale, setObject, setString, setTimeZone |
Methods inherited from class org.jpox.store.rdbms.mapping.RDBMSMapping |
failureMessage, getByte, getDatabaseAdapter, getDouble, getFloat, getInt, getJavaTypeMapping, getLong, getShort, setByte, setDouble, setFloat, setInt, setLong, setShort |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
DatalinkRDBMSMapping
protected DatalinkRDBMSMapping(StoreManager storeMgr,
JavaTypeMapping mapping)
- Parameters:
storeMgr
- Store Managermapping
- Java type mapping
DatalinkRDBMSMapping
public DatalinkRDBMSMapping(JavaTypeMapping mapping,
StoreManager storeMgr,
DatastoreField field)
- Constructor.
- Parameters:
mapping
- Java type mappingstoreMgr
- Store Managerfield
- Field to be mapped
initialize
protected void initialize()
- Description copied from class:
CharRDBMSMapping
- Method to initialise the column mapping.
Provides default length specifications for the CHAR column to fit the data being stored.
- Overrides:
initialize
in class CharRDBMSMapping
getTypeInfo
public TypeInfo getTypeInfo()
- Description copied from class:
CharRDBMSMapping
- Accessor for the JDBC type being stored here.
- Overrides:
getTypeInfo
in class CharRDBMSMapping
- Returns:
- JDBC Types.CHAR
getInsertionInputParameter
public java.lang.String getInsertionInputParameter()
- Description copied from class:
RDBMSMapping
- Accessor for the string to put in any retrieval datastore statement for this field.
In RDBMS, this is typically a ? to be used in JDBC statements.
- Overrides:
getInsertionInputParameter
in class ColumnMapping
includeInFetchStatement
public boolean includeInFetchStatement()
- Description copied from class:
RDBMSMapping
- Whether this mapping is included in the fetch statement.
- Overrides:
includeInFetchStatement
in class ColumnMapping
getUpdateInputParameter
public java.lang.String getUpdateInputParameter()
- Description copied from class:
RDBMSMapping
- Accessor for the string to put in any update datastore statements for this field.
In RDBMS, this is typically a ? to be used in JDBC statements.
- Overrides:
getUpdateInputParameter
in class ColumnMapping
Copyright © -2007 . All Rights Reserved.