com.github.drinkjava2.jsqlbox.sqlitem
Class EntityKeyItem
java.lang.Object
com.github.drinkjava2.jsqlbox.sqlitem.EntityKeyItem
- All Implemented Interfaces:
- CustomizedSqlItem
public class EntityKeyItem
- extends Object
- implements CustomizedSqlItem
This EntityKeyItem is used to build a " alias.id1=? and alias.id2=?
..." SQL piece, alias is based on current PreparedSQL's setting
- Since:
- 1.0.0
- Author:
- Yong Zhu
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityKeyItem
public EntityKeyItem(Object entity)
doPrepare
public void doPrepare(PreparedSQL ps)
- Description copied from interface:
CustomizedSqlItem
- Prepare special SQL items
- Specified by:
doPrepare in interface CustomizedSqlItem
- Parameters:
ps - PreparedSQL instance
Copyright © 2018. All rights reserved.