本文整理了Java中javax.persistence.Query.getParameter
方法的一些代码示例,展示了Query.getParameter
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.getParameter
方法的具体详情如下:
包路径:javax.persistence.Query
类名称:Query
方法名:getParameter
[英]Get the parameter object corresponding to the declared positional parameter with the given position. This method is not required to be supported for native queries.
[中]获取与具有给定位置的已声明位置参数相对应的参数对象。本机查询不需要支持此方法。
代码示例来源:origin: Impetus/Kundera
@Override
public <T> Parameter<T> getParameter(String arg0, Class<T> arg1)
{
return query.getParameter(arg0, arg1);
}
代码示例来源:origin: Impetus/Kundera
@Override
public Parameter<?> getParameter(String arg0)
{
return query.getParameter(arg0);
}
代码示例来源:origin: Impetus/Kundera
@Override
public Parameter<?> getParameter(int arg0)
{
return query.getParameter(arg0);
}
代码示例来源:origin: Impetus/Kundera
@Override
public <T> Parameter<T> getParameter(int arg0, Class<T> arg1)
{
return query.getParameter(arg0, arg1);
}
代码示例来源:origin: org.evolvis.bsi/kolab-ws
@Override
public Parameter<?>
getParameter(String name)
{
return delegate.getParameter(name);
}
代码示例来源:origin: org.evolvis.bsi/kolab-ws
@Override
public <T> Parameter<T>
getParameter(int position, Class<T> type)
{
return delegate.getParameter(position, type);
}
代码示例来源:origin: de.mhus.lib/mhu-lib-persistence
/** {@inheritDoc} */
@Override
public <E> Parameter<E> getParameter(int position, Class<E> type) {
return query.getParameter(position, type);
}
代码示例来源:origin: de.mhus.lib/mhu-lib-persistence
/** {@inheritDoc} */
@Override
public Parameter<?> getParameter(String name) {
return query.getParameter(name);
}
代码示例来源:origin: de.mhus.lib/mhu-lib-persistence
/** {@inheritDoc} */
@Override
public <E> Parameter<E> getParameter(String name, Class<E> type) {
return query.getParameter(name, type);
}
代码示例来源:origin: org.evolvis.bsi/kolab-ws
@Override
public <T> Parameter<T>
getParameter(String name, Class<T> type)
{
return delegate.getParameter(name, type);
}
代码示例来源:origin: de.mhus.lib/mhu-lib-persistence
/** {@inheritDoc} */
@Override
public Parameter<?> getParameter(int position) {
return query.getParameter(position);
}
代码示例来源:origin: org.evolvis.bsi/kolab-ws
@Override
public Parameter<?>
getParameter(int position)
{
return delegate.getParameter(position);
}
代码示例来源:origin: kumuluz/kumuluzee
@Override
public Parameter<?> getParameter(int position) {
return query.getParameter(position);
}
代码示例来源:origin: org.wildfly/wildfly-jpa
@Override
public Parameter<?> getParameter(String name) {
return underlyingQuery.getParameter(name);
}
代码示例来源:origin: com.kumuluz.ee/kumuluzee-jpa-common
@Override
public Parameter<?> getParameter(int position) {
return query.getParameter(position);
}
代码示例来源:origin: org.actframework/act-jpa-common
@Override
public Parameter<?> getParameter(int position) {
return q().getParameter(position);
}
代码示例来源:origin: org.glassfish.main.common/container-common
public <T> Parameter<T> getParameter(String name, Class<T> type) {
try {
if(callFlowAgent.isEnabled()) {
callFlowAgent.entityManagerQueryStart(EntityManagerQueryMethod.GET_PARAMETER_NAME_TYPE);
}
return queryDelegate.getParameter(name, type);
} finally {
if(callFlowAgent.isEnabled()) {
callFlowAgent.entityManagerQueryEnd();
}
}
}
代码示例来源:origin: org.glassfish.main.common/container-common
public Parameter<?> getParameter(String name) {
try {
if(callFlowAgent.isEnabled()) {
callFlowAgent.entityManagerQueryStart(EntityManagerQueryMethod.GET_PARAMETER_NAME);
}
return queryDelegate.getParameter(name);
} finally {
if(callFlowAgent.isEnabled()) {
callFlowAgent.entityManagerQueryEnd();
}
}
}
代码示例来源:origin: org.glassfish.main.common/container-common
public Parameter<?> getParameter(int position) {
try {
if(callFlowAgent.isEnabled()) {
callFlowAgent.entityManagerQueryStart(EntityManagerQueryMethod.GET_PARAMETER_POSITION);
}
return queryDelegate.getParameter(position);
} finally {
if(callFlowAgent.isEnabled()) {
callFlowAgent.entityManagerQueryEnd();
}
}
}
代码示例来源:origin: org.glassfish.main.common/container-common
public <T> Parameter<T> getParameter(int position, Class<T> type) {
try {
if(callFlowAgent.isEnabled()) {
callFlowAgent.entityManagerQueryStart(EntityManagerQueryMethod.GET_PARAMETER_POSITION_CLASS);
}
return queryDelegate.getParameter(position, type);
} finally {
if(callFlowAgent.isEnabled()) {
callFlowAgent.entityManagerQueryEnd();
}
}
}
内容来源于网络,如有侵权,请联系作者删除!