org.apache.openjpa.kernel.Query.getCandidateType()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(6.4k)|赞(0)|评价(0)|浏览(164)

本文整理了Java中org.apache.openjpa.kernel.Query.getCandidateType方法的一些代码示例,展示了Query.getCandidateType的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.getCandidateType方法的具体详情如下:
包路径:org.apache.openjpa.kernel.Query
类名称:Query
方法名:getCandidateType

Query.getCandidateType介绍

暂无

代码示例

代码示例来源:origin: org.apache.openejb.patch/openjpa-kernel

public Class getCandidateType() {
  try {
    return _query.getCandidateType();
  } catch (RuntimeException re) {
    throw translate(re);
  }
}

代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa

public Class getCandidateType() {
  try {
    return _query.getCandidateType();
  } catch (RuntimeException re) {
    throw translate(re);
  }
}

代码示例来源:origin: org.apache.openejb.patch/openjpa

public Class getCandidateType() {
  try {
    return _query.getCandidateType();
  } catch (RuntimeException re) {
    throw translate(re);
  }
}

代码示例来源:origin: org.apache.openjpa/openjpa-all

public Class getCandidateType() {
  try {
    return _query.getCandidateType();
  } catch (RuntimeException re) {
    throw translate(re);
  }
}

代码示例来源:origin: org.apache.openjpa/openjpa-kernel

public Class getCandidateType() {
  try {
    return _query.getCandidateType();
  } catch (RuntimeException re) {
    throw translate(re);
  }
}

代码示例来源:origin: org.apache.openjpa/openjpa-all

/**
 * Initialize this instance from the values held in the
 * specified {@link Query}.
 */
public void setFrom(Query query) {
  _language = query.getLanguage();
  _candidate = query.getCandidateType();
  _res = query.getResultType();
  _query = query.getQueryString();
}

代码示例来源:origin: org.apache.openjpa/openjpa-kernel

/**
 * Initialize this instance from the values held in the
 * specified {@link Query}.
 */
public void setFrom(Query query) {
  _language = query.getLanguage();
  _candidate = query.getCandidateType();
  _res = query.getResultType();
  _query = query.getQueryString();
}

代码示例来源:origin: org.apache.openejb.patch/openjpa-kernel

/**
 * Initialize this instance from the values held in the
 * specified {@link Query}.
 */
public void setFrom(Query query) {
  _language = query.getLanguage();
  _candidate = query.getCandidateType();
  _res = query.getResultType();
  _query = query.getQueryString();
}

代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa

/**
 * Initialize this instance from the values held in the
 * specified {@link Query}.
 */
public void setFrom(Query query) {
  _language = query.getLanguage();
  _candidate = query.getCandidateType();
  _res = query.getResultType();
  _query = query.getQueryString();
}

代码示例来源:origin: org.apache.openejb.patch/openjpa

/**
 * Initialize this instance from the values held in the
 * specified {@link Query}.
 */
public void setFrom(Query query) {
  _language = query.getLanguage();
  _candidate = query.getCandidateType();
  _res = query.getResultType();
  _query = query.getQueryString();
}

代码示例来源:origin: org.apache.openejb.patch/openjpa

/**
 * Return a key for the given query, or null if it is not cacheable.
 */
public static QueryKey newInstance(Query q, Object[] args) {
  // compile to make sure info encoded in query string is available
  // via API calls (candidate class, result class, etc)
  q.compile();
  return newInstance(q, false, args, q.getCandidateType(),
    q.hasSubclasses(), q.getStartRange(), q.getEndRange(), null);
}

代码示例来源:origin: org.apache.openjpa/openjpa-all

/**
 * Return a key for the given query, or null if it is not cacheable.
 */
public static QueryKey newInstance(Query q, Object[] args) {
  // compile to make sure info encoded in query string is available
  // via API calls (candidate class, result class, etc)
  q.compile();
  return newInstance(q, false, args, q.getCandidateType(),
    q.hasSubclasses(), q.getStartRange(), q.getEndRange(), null);
}

代码示例来源:origin: org.apache.openejb.patch/openjpa-kernel

/**
 * Return a key for the given query, or null if it is not cacheable.
 */
public static QueryKey newInstance(Query q, Map<Object,Object> args) {
  // compile to make sure info encoded in query string is available
  // via API calls (candidate class, result class, etc)
  q.compile();
  return newInstance(q, false, args, q.getCandidateType(),
    q.hasSubclasses(), q.getStartRange(), q.getEndRange(), null);
}

代码示例来源:origin: org.apache.openejb.patch/openjpa

/**
 * Return a key for the given query, or null if it is not cacheable.
 */
public static QueryKey newInstance(Query q, Map<Object,Object> args) {
  // compile to make sure info encoded in query string is available
  // via API calls (candidate class, result class, etc)
  q.compile();
  return newInstance(q, false, args, q.getCandidateType(),
    q.hasSubclasses(), q.getStartRange(), q.getEndRange(), null);
}

代码示例来源:origin: org.apache.openjpa/openjpa-kernel

/**
 * Return a key for the given query, or null if it is not cacheable.
 */
public static QueryKey newInstance(Query q, Map<Object,Object> args) {
  // compile to make sure info encoded in query string is available
  // via API calls (candidate class, result class, etc)
  q.compile();
  return newInstance(q, false, args, q.getCandidateType(),
    q.hasSubclasses(), q.getStartRange(), q.getEndRange(), null);
}

代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa

/**
 * Return a key for the given query, or null if it is not cacheable.
 */
public static QueryKey newInstance(Query q, Map args) {
  // compile to make sure info encoded in query string is available
  // via API calls (candidate class, result class, etc)
  q.compile();
  return newInstance(q, false, args, q.getCandidateType(),
    q.hasSubclasses(), q.getStartRange(), q.getEndRange());
}

代码示例来源:origin: org.apache.openjpa/openjpa-all

/**
 * Return a key for the given query, or null if it is not cacheable.
 */
public static QueryKey newInstance(Query q, Map<Object,Object> args) {
  // compile to make sure info encoded in query string is available
  // via API calls (candidate class, result class, etc)
  q.compile();
  return newInstance(q, false, args, q.getCandidateType(),
    q.hasSubclasses(), q.getStartRange(), q.getEndRange(), null);
}

代码示例来源:origin: org.apache.openjpa/openjpa-kernel

/**
 * Return a key for the given query, or null if it is not cacheable.
 */
public static QueryKey newInstance(Query q, Object[] args) {
  // compile to make sure info encoded in query string is available
  // via API calls (candidate class, result class, etc)
  q.compile();
  return newInstance(q, false, args, q.getCandidateType(),
    q.hasSubclasses(), q.getStartRange(), q.getEndRange(), null);
}

代码示例来源:origin: org.apache.openejb.patch/openjpa-kernel

/**
 * Return a key for the given query, or null if it is not cacheable.
 */
public static QueryKey newInstance(Query q, Object[] args) {
  // compile to make sure info encoded in query string is available
  // via API calls (candidate class, result class, etc)
  q.compile();
  return newInstance(q, false, args, q.getCandidateType(),
    q.hasSubclasses(), q.getStartRange(), q.getEndRange(), null);
}

代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa

/**
 * Return a key for the given query, or null if it is not cacheable.
 */
public static QueryKey newInstance(Query q, Object[] args) {
  // compile to make sure info encoded in query string is available
  // via API calls (candidate class, result class, etc)
  q.compile();
  return newInstance(q, false, args, q.getCandidateType(),
    q.hasSubclasses(), q.getStartRange(), q.getEndRange());
}

相关文章