public class ParamNameResolver extends Object
Constructor and Description |
---|
ParamNameResolver(Configuration config,
Method method) |
Modifier and Type | Method and Description |
---|---|
Object |
getNamedParams(Object[] args)
A single non-special parameter is returned without a name.
Multiple parameters are named using the naming rule. In addition to the default names, this method also adds the generic names (param1, param2, ...). |
String[] |
getNames()
Returns parameter names referenced by SQL providers.
|
public ParamNameResolver(Configuration config, Method method)
public String[] getNames()
Copyright © 2009–2017 MyBatis.org. All rights reserved.