All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ibatis.persist.criteria.CommonAbstractCriteria Maven / Gradle / Ivy

Go to download

The jBATIS persistence framework will help you to significantly reduce the amount of Java code that you normally need to access a relational database. iBATIS simply maps JavaBeans to SQL statements using a very simple XML descriptor.

The newest version!
package org.ibatis.persist.criteria;

/**
 * The CommonAbstractCriteria interface defines functionality 
 * that is common to both top-level criteria queries and subqueries as 
 * well as to update and delete criteria operations.
 * It is not intended to be used directly in query construction.
 *
 * 

Note that criteria queries and criteria update and delete operations * are typed differently. * Criteria queries are typed according to the query result type. * Update and delete operations are typed according to the target of the * update or delete. * * @since iBatis Persistence 1.0 */ public interface CommonAbstractCriteria { /** * Create a subquery of the query. * @param type the subquery result type * @return subquery */ Subquery subquery(Class type); /** * Return the predicate that corresponds to the where clause * restriction(s), or null if no restrictions have been * specified. * @return where clause predicate */ Predicate getRestriction(); }