当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
PersistentContext (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.ejb.plugins.cmp.jdbc2
Class PersistentContext
java.lang.Object
org.jboss.ejb.plugins.cmp.jdbc2.PersistentContext
- public class PersistentContext
- extends Object
- Version:
- $Revision: 1.4 $
- Author:
- Alexey Loubyansky
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistentContext
public PersistentContext(JDBCEntityBridge2 entity,
EntityTable.Row row)
getFieldValue
public Object getFieldValue(int rowIndex)
setFieldValue
public void setFieldValue(int rowIndex,
Object value)
setPk
public void setPk(Object pk)
throws javax.ejb.DuplicateKeyException
- Throws:
javax.ejb.DuplicateKeyException
isDirty
public boolean isDirty()
setDirty
public void setDirty()
remove
public void remove()
getCMRState
public JDBCCMRFieldBridge2.FieldState getCMRState(int cmrIndex)
setCMRState
public void setCMRState(int cmrIndex,
JDBCCMRFieldBridge2.FieldState state)
loadCachedRelations
public void loadCachedRelations(int cmrIndex,
Cache.CacheLoader loader)
cacheRelations
public void cacheRelations(int cmrIndex,
Cache.CacheLoader loader)
flush
public void flush()
throws SQLException,
javax.ejb.DuplicateKeyException
- Throws:
SQLException
javax.ejb.DuplicateKeyException
nullForeignKey
public void nullForeignKey(EntityTable.ForeignKeyConstraint constraint)
nonNullForeignKey
public void nonNullForeignKey(EntityTable.ForeignKeyConstraint constraint)
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.