jodd-db/src/main/java/jodd/db/oom/sqlgen/DbEntitySql.java
public DbSqlBuilder find(final Object entity) {
		final String tableRef = createTableRefName(entity);
		return sql().$(SELECT).column(tableRef).$(FROM).table(entity, tableRef).$(WHERE).match(tableRef, entity);
	}
public DbSqlBuilder find(final Object entity) {
		final String tableRef = createTableRefName(entity);
		return sql().$(SELECT).column(tableRef).$(FROM).table(entity, tableRef).$(WHERE).match(tableRef, entity);
	}
public DbSqlBuilder find ( final Object entity ) { final String tableRef = createTableRefName ( entity ) ; return sql ( ) . $ ( SELECT ) . column ( tableRef ) . $ ( FROM ) . table ( entity , tableRef ) . $ ( WHERE ) . match ( tableRef , entity ) ; }
Creates SELECT criteria for the entity matched by non-null values.
Creates SELECT criteria for the entity matched by non - null values .