net.comtor.dao
Class GenericJDBCDaoDescriptor
java.lang.Object
net.comtor.dao.ComtorDaoDescriptor
net.comtor.dao.ComtorJDBCDaoDescriptor
net.comtor.dao.GenericJDBCDaoDescriptor
public class GenericJDBCDaoDescriptor
- extends ComtorJDBCDaoDescriptor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericJDBCDaoDescriptor
public GenericJDBCDaoDescriptor(java.lang.String tableName,
java.lang.Class clazz)
getKey
public ComtorDaoKey getKey(java.lang.Object obj)
- Description copied from class:
ComtorDaoDescriptor
- Returns object key
- Specified by:
getKey
in class ComtorDaoDescriptor
getSequenceQuery
public java.lang.String getSequenceQuery()
- Specified by:
getSequenceQuery
in class ComtorJDBCDaoDescriptor
setSequenceQuery
public void setSequenceQuery(java.lang.String sql)
setForeignKeyValueField
public void setForeignKeyValueField(java.lang.String fieldName)
- Establece que un campo es Llave Foranea del Elemento.
- Parameters:
fieldName
- Nombre del Campo.
setPrimaryKey
public void setPrimaryKey(java.lang.String fieldName)
- Establece que un campo es la Llave Primaria del Elemento.
- Parameters:
fieldName
- Nombre del Campo.