org.ibatis.persist.criteria.From Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jbatis Show documentation
Show all versions of jbatis Show documentation
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;
/**
* Represents a bound type, usually an entity that appears in the from clause.
*
* @param
* the source type
* @param
* the target type
*
* @since iBatis Persistence 1.0
*/
public interface From {
/**
* Create an inner join to the specified attribute.
*
* @param attribute
* the attribute for the target of the join
* @return the resulting join
* @throws IllegalArgumentException
* if attribute of the given name does not exist
*/
Join join(From from);
/**
* Create a join to the specified attribute using the given join type.
*
* @param attribute
* the attribute for the target of the join
* @param jt
* join type
* @return the resulting join
* @throws IllegalArgumentException
* if attribute of the given name does not exist
*/
Join join(From from, JoinType jt);
}