public class NoneClassStrategy extends AbstractClassStrategy
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ALIAS |
cls| Modifier and Type | Method and Description |
|---|---|
void |
delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm)
Set the where values appropriately to delete the proper instance,
and set all relations on non-secondary tables as updates.
|
java.lang.String |
getAlias()
Return the alias of this strategy.
|
static NoneClassStrategy |
getInstance()
Return the singleton instance.
|
void |
insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm)
Set values for the mapping into the proper rows.
|
void |
setClassMapping(ClassMapping owner)
Set the class mapping using this strategy.
|
void |
update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm)
Set values for the mapping into the proper rows.
|
customLoad, customLoad, customLoad, isPrimaryKeyObjectId, joinSuperclass, supportsEagerSelectcustomDelete, customInsert, customUpdate, initialize, isCustomDelete, isCustomInsert, isCustomUpdate, mapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcustomDelete, customInsert, customUpdate, initialize, isCustomDelete, isCustomInsert, isCustomUpdate, mappublic static final java.lang.String ALIAS
public static NoneClassStrategy getInstance()
public java.lang.String getAlias()
StrategygetAlias in interface StrategygetAlias in class AbstractStrategypublic void setClassMapping(ClassMapping owner)
ClassStrategysetClassMapping in interface ClassStrategysetClassMapping in class AbstractClassStrategypublic void insert(OpenJPAStateManager sm, JDBCStore store, RowManager rm) throws java.sql.SQLException
Strategyinsert in interface Strategyinsert in class AbstractStrategyjava.sql.SQLExceptionpublic void update(OpenJPAStateManager sm, JDBCStore store, RowManager rm) throws java.sql.SQLException
Strategyupdate in interface Strategyupdate in class AbstractStrategyjava.sql.SQLExceptionStrategy.insert(org.apache.openjpa.kernel.OpenJPAStateManager, org.apache.openjpa.jdbc.kernel.JDBCStore, org.apache.openjpa.jdbc.sql.RowManager)public void delete(OpenJPAStateManager sm, JDBCStore store, RowManager rm) throws java.sql.SQLException
Strategydelete in interface Strategydelete in class AbstractStrategyjava.sql.SQLExceptionStrategy.insert(org.apache.openjpa.kernel.OpenJPAStateManager, org.apache.openjpa.jdbc.kernel.JDBCStore, org.apache.openjpa.jdbc.sql.RowManager)Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.