public class JpaDefaultNamingStrategy extends Object implements JpaNamingStrategy
| Constructor and Description |
|---|
JpaDefaultNamingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendArgs(StringBuilder requestName,
Object[] args) |
protected String |
getMethodWithClassArgRequestName(Method javaMethod,
Object[] args) |
protected String |
getMethodWithEntityArgRequestName(Method javaMethod,
Object[] args) |
protected String |
getNoArgsRequestName(Method javaMethod) |
protected String |
getOtherRequestName(Method javaMethod,
Object[] args) |
protected String |
getQueryRequestName(Method javaMethod,
Object[] args) |
String |
getRequestName(JpaMethod jpaMethod,
Method javaMethod,
Object[] args)
Implementors must calculate a nonnull String that will get displayed in the JPA section.
|
public String getRequestName(JpaMethod jpaMethod, Method javaMethod, Object[] args)
getRequestName in interface JpaNamingStrategyjpaMethod - A normalization of the method that got called on the EntityManager.
Corresponds with param javaMethod.javaMethod - The method that got called on the EntityManager.
Corresponds with param jpaMethod.args - Nullable, the arguments for javaMethodprotected String getMethodWithClassArgRequestName(Method javaMethod, Object[] args)
protected String getMethodWithEntityArgRequestName(Method javaMethod, Object[] args)
protected void appendArgs(StringBuilder requestName, Object[] args)
Copyright © 2008–2016 Emeric Vernat. All rights reserved.