当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
EntityTable (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.ejb.plugins.cmp.jdbc2.schema
Class EntityTable
java.lang.Object
org.jboss.ejb.plugins.cmp.jdbc2.schema.EntityTable
- All Implemented Interfaces:
- Table
- public class EntityTable
- extends Object
- implements Table
todo refactor optimistic locking
- Version:
- $Revision: 1.15.2.1 $
- Author:
- Alexey Loubyansky
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityTable
public EntityTable(JDBCEntityMetaData metadata,
JDBCEntityBridge2 entity,
Schema schema,
int tableId)
throws org.jboss.deployment.DeploymentException
start
public void start()
throws org.jboss.deployment.DeploymentException
- Throws:
org.jboss.deployment.DeploymentException
stop
public void stop()
throws Exception
- Throws:
Exception
appendColumnNames
public StringBuffer appendColumnNames(JDBCCMPFieldBridge2[] fields,
String alias,
StringBuffer buf)
addField
public void addField()
addVersionField
public int addVersionField()
addFkConstraint
public EntityTable.ForeignKeyConstraint addFkConstraint(JDBCCMPFieldBridge2[] fkFields,
EntityTable referenced)
getDataSource
public DataSource getDataSource()
loadRow
public void loadRow(ResultSet rs,
Object pk)
loadRow
public Object loadRow(ResultSet rs)
getRow
public EntityTable.Row getRow(Object id)
hasRow
public boolean hasRow(Object id)
loadRow
public EntityTable.Row loadRow(Object id)
throws SQLException
- Throws:
SQLException
getTableId
public int getTableId()
- Specified by:
getTableId
in interface Table
getTableName
public String getTableName()
- Specified by:
getTableName
in interface Table
createView
public Table.View createView(Transaction tx)
- Specified by:
createView
in interface Table
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.