本文整理了Java中net.java.ao.Query.resolvePrimaryKey
方法的一些代码示例,展示了Query.resolvePrimaryKey
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.resolvePrimaryKey
方法的具体详情如下:
包路径:net.java.ao.Query
类名称:Query
方法名:resolvePrimaryKey
暂无
代码示例来源:origin: net.java.dev.activeobjects/activeobjects-core
protected <K> String toSQL(EntityInfo<? extends RawEntity<K>, K> entityInfo, DatabaseProvider provider, TableNameConverter converter, boolean count) {
if (this.tableType == null && table == null) {
this.tableType = entityInfo.getEntityType();
}
resolvePrimaryKey(entityInfo.getPrimaryKey());
return provider.renderQuery(this, converter, count);
}
代码示例来源:origin: net.java.dev.activeobjects/activeobjects
protected <K> String toSQL(EntityInfo<? extends RawEntity<K>, K> entityInfo, DatabaseProvider provider, TableNameConverter converter, boolean count) {
if (this.tableType == null && table == null) {
this.tableType = entityInfo.getEntityType();
}
resolvePrimaryKey(entityInfo.getPrimaryKey());
return provider.renderQuery(this, converter, count);
}
代码示例来源:origin: net.java.dev.activeobjects/activeobjects-core
EntityInfo<T, K> entityInfo = resolveEntityInfo(type);
query.resolvePrimaryKey(entityInfo.getPrimaryKey());
String selectField = entityInfo.getPrimaryKey().getName();
代码示例来源:origin: net.java.dev.activeobjects/activeobjects
EntityInfo<T, K> entityInfo = resolveEntityInfo(type);
query.resolvePrimaryKey(entityInfo.getPrimaryKey());
String selectField = entityInfo.getPrimaryKey().getName();
代码示例来源:origin: net.java.dev.activeobjects/activeobjects
query.resolvePrimaryKey(entityInfo.getPrimaryKey());
代码示例来源:origin: net.java.dev.activeobjects/activeobjects-core
query.resolvePrimaryKey(entityInfo.getPrimaryKey());
代码示例来源:origin: net.java.dev.activeobjects/activeobjects
EntityInfo<T, K> entityInfo = resolveEntityInfo(type);
query.resolvePrimaryKey(entityInfo.getPrimaryKey());
代码示例来源:origin: net.java.dev.activeobjects/activeobjects-core
EntityInfo<T, K> entityInfo = resolveEntityInfo(type);
query.resolvePrimaryKey(entityInfo.getPrimaryKey());
内容来源于网络,如有侵权,请联系作者删除!