net.sourceforge.domian.specification
Class Specification2HqlConverter

java.lang.Object
  extended by net.sourceforge.domian.specification.Specification2HqlConverter

public final class Specification2HqlConverter
extends java.lang.Object

HQL will be a fall-back from JPQL...


Constructor Summary
Specification2HqlConverter()
           
 
Method Summary
static java.lang.String convertSpecification2HqlQuery(Specification<? extends Entity> specification)
          An attempt to convert Entity-type Specification to polymorphic-friendly Hibernate Query language (HQL) query expression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Specification2HqlConverter

public Specification2HqlConverter()
Method Detail

convertSpecification2HqlQuery

public static java.lang.String convertSpecification2HqlQuery(Specification<? extends Entity> specification)
An attempt to convert Entity-type Specification to polymorphic-friendly Hibernate Query language (HQL) query expression.

Returns:
an HQL query expression string


Copyright © 2006-2010. All Rights Reserved.