com.mysema.query.jpa
Class HQLTemplates

java.lang.Object
  extended by com.mysema.query.types.Templates
      extended by com.mysema.query.jpa.JPQLTemplates
          extended by com.mysema.query.jpa.HQLTemplates

public class HQLTemplates
extends JPQLTemplates

HQLTemplates extends JPQLTemplates with Hibernate specific extensions

Author:
tiwe

Field Summary
static HQLTemplates DEFAULT
           
 
Fields inherited from class com.mysema.query.jpa.JPQLTemplates
CAST, DEFAULT_ESCAPE, MEMBER_OF, TYPE
 
Constructor Summary
HQLTemplates()
           
HQLTemplates(char escape)
           
 
Method Summary
 String getExistsProjection()
           
 boolean isEnumInPathSupported()
           
 boolean isSelect1Supported()
           
 boolean isTypeAsString()
           
 boolean wrapConstant(Constant<?> expr)
           
 boolean wrapElements(Operator<?> operator)
           
 
Methods inherited from class com.mysema.query.types.Templates
add, add, getPrecedence, getTemplate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final HQLTemplates DEFAULT
Constructor Detail

HQLTemplates

public HQLTemplates()

HQLTemplates

public HQLTemplates(char escape)
Method Detail

wrapElements

public boolean wrapElements(Operator<?> operator)
Overrides:
wrapElements in class JPQLTemplates

isTypeAsString

public boolean isTypeAsString()
Overrides:
isTypeAsString in class JPQLTemplates

getExistsProjection

public String getExistsProjection()
Overrides:
getExistsProjection in class JPQLTemplates

isSelect1Supported

public boolean isSelect1Supported()
Overrides:
isSelect1Supported in class JPQLTemplates

isEnumInPathSupported

public boolean isEnumInPathSupported()
Overrides:
isEnumInPathSupported in class JPQLTemplates

wrapConstant

public boolean wrapConstant(Constant<?> expr)
Overrides:
wrapConstant in class JPQLTemplates


Copyright © 2007-2012 Mysema Ltd. All Rights Reserved.