|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.groovy.grails.commons.metaclass.AbstractStaticMethodInvocation
org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractStaticPersistentMethod
org.codehaus.groovy.grails.orm.hibernate.metaclass.ExecuteUpdatePersistentMethod
public class ExecuteUpdatePersistentMethod
Allows the execution of update queries such as DML updates eg. Account.executeUpdate( "delete Account"); // deletes all accounts (eek!)
| Field Summary | |
|---|---|
static Pattern |
METHOD_PATTERN
|
| Fields inherited from class org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractStaticPersistentMethod |
|---|
ARGUMENT_FETCH, ARGUMENT_MAX, ARGUMENT_OFFSET, ARGUMENT_ORDER, ARGUMENT_SORT, ORDER_ASC, ORDER_DESC |
| Constructor Summary | |
|---|---|
ExecuteUpdatePersistentMethod(org.hibernate.SessionFactory sessionFactory,
ClassLoader classLoader)
|
|
| Method Summary | |
|---|---|
protected Object |
doInvokeInternal(Class clazz,
String methodName,
Object[] arguments)
|
| Methods inherited from class org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractStaticPersistentMethod |
|---|
getFetchMode, getHibernateTemplate, invoke, populateArgumentsForCriteria |
| Methods inherited from class org.codehaus.groovy.grails.commons.metaclass.AbstractStaticMethodInvocation |
|---|
getPattern, isMethodMatch, setPattern, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Pattern METHOD_PATTERN
| Constructor Detail |
|---|
public ExecuteUpdatePersistentMethod(org.hibernate.SessionFactory sessionFactory,
ClassLoader classLoader)
| Method Detail |
|---|
protected Object doInvokeInternal(Class clazz,
String methodName,
Object[] arguments)
doInvokeInternal in class AbstractStaticPersistentMethod
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||