ENTITY - The type whose persistence is managed by this Dao.BUILDER - The type of object that can build an ENTITY instance.public class KeylessDaoImpl<ENTITY,BUILDER> extends AbstractDao<ENTITY,BUILDER>
KeylessDao implementation.
There is no good reason to directly construct this class yourself.
Use a IndirectKeylessDaoBuilder.
connection, sqlBuilder, sqlRunner| Constructor and Description |
|---|
KeylessDaoImpl(Connection connection,
KeylessDaoDescriptor<ENTITY,BUILDER> daoDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
protected List<ChildrenDescriptor<ENTITY,?,BUILDER,?>> |
childrenDescriptors() |
Long |
insert(ENTITY item)
Insert a record into the database.
|
atomicInsert, buildFunction, foldingSelect, fromSingletonList, getColumnCollection, runBigDecimalFunction, runLongFunction, select, select, select, select, select, select, selectDistinct, selectDistinct, selectDistinct, selectOne, selectOne, supplier, tableNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallColumns, dataColumns, joinColumns, joinedSelectStrategies, nonJoinColumns, selectpublic KeylessDaoImpl(Connection connection, KeylessDaoDescriptor<ENTITY,BUILDER> daoDescriptor)
public Long insert(ENTITY item)
KeylessDaoDepending on how the Dao was constucted (whether from a regular
DaoBuilder or an IndirectDaoBuilder)
a particular instance of this class may or may not attempt
to mutate the state of the passed item by setting its primary
key.
insert in interface KeylessDao<ENTITY>insert in class AbstractDao<ENTITY,BUILDER>item - The instance to be inserted.protected List<ChildrenDescriptor<ENTITY,?,BUILDER,?>> childrenDescriptors()
childrenDescriptors in class AbstractDao<ENTITY,BUILDER>Copyright © 2019. All rights reserved.