public class SqlAnnotations extends Object
| Modifier and Type | Method and Description |
|---|---|
static Optional<String> |
getAnnotationValue(Method method,
Function<String,String> resolveSql)
Returns the
value() of the @SqlBatch, @SqlCall, @SqlQuery, or
@SqlUpdate annotation on the given method if declared and non-empty; empty otherwise. |
public static Optional<String> getAnnotationValue(Method method, Function<String,String> resolveSql)
value() of the @SqlBatch, @SqlCall, @SqlQuery, or
@SqlUpdate annotation on the given method if declared and non-empty; empty otherwise.method - the methodvalue()Copyright © 2018. All rights reserved.