MentaBean

Compare Revisions

Ignore whitespace Rev 217 → Rev 218

/trunk/src/main/java/org/mentabean/jdbc/AnsiSQLBeanSession.java
2638,16 → 2638,4
return new TableAlias<E>(this, beanManager.getBeanConfig(beanClass), beanClass, prefix);
}
 
@Override
public <E> E createProxy(Class<? extends E> beanClass) {
TableAlias<E> ta = createTableAlias(beanClass);
return ta.proxy();
}
 
@Override
public <E> E createProxy(Class<? extends E> beanClass, String prefix) {
TableAlias<E> ta = createTableAlias(beanClass, prefix);
return ta.proxy();
}
 
}
/trunk/src/main/java/org/mentabean/BeanSession.java
342,21 → 342,4
*/
public <E> TableAlias<E> createTableAlias(Class<? extends E> beanClass, String prefix);
/**
* Return a bean proxy that can be used with a SQLBuilder.
*
* @param beanClass
* @return the bean proxy
*/
public <E> E createProxy(Class<? extends E> beanClass);
/**
* Return a bean proxy that can be used with a SQLBuilder
*
* @param beanClass
* @param prefix
* @return the bean proxy
*/
public <E> E createProxy(Class<? extends E> beanClass, String prefix);
}