gov.nih.nci.cagrid.sdkquery4.processor
Class CQL2ParameterizedHQL
java.lang.Object
gov.nih.nci.cagrid.sdkquery4.processor.CQL2ParameterizedHQL
public class CQL2ParameterizedHQL
- extends java.lang.Object
CQL2ParameterizedHQL
Converter utility to turn CQL into HQL using positional parameters
compatible with Hibernate 3.2.0ga for use with caCORE SDK 4
- Version:
- $Id: CQL2ParameterizedHQL.java,v 1.9 2008/02/21 15:57:41 dervin Exp $
- Author:
- David Ervin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TARGET_ALIAS
public static final java.lang.String TARGET_ALIAS
- See Also:
- Constant Field Values
CQL2ParameterizedHQL
public CQL2ParameterizedHQL(DomainTypesInformation typesInfo,
RoleNameResolver roleNameResolver,
boolean caseInsensitive)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
convertToHql
public ParameterizedHqlQuery convertToHql(CQLQuery query)
throws QueryProcessingException
- Converts CQL to parameterized HQL suitable for use with
Hibernate v3.2.0ga and the caCORE SDK version 4.0
- Parameters:
query - The query to convert
- Returns:
- A parameterized HQL Query representing the CQL query
- Throws:
QueryProcessingException