net.sourceforge.domian.specification
Class Specification2JpqlConverter

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

public final class Specification2JpqlConverter
extends java.lang.Object


Constructor Summary
Specification2JpqlConverter()
           
 
Method Summary
static java.util.List<java.lang.String> convert2DeleteStatement(Specification specification, java.util.List<java.lang.String> validTableNameList)
           
static JpqlQueryHolder convertJpaMappedSpecificationType2PreparedJpqlQuery(CompositeSpecification<? extends Entity> specification, java.util.List<java.lang.String> validTableNameList)
          An attempt to convert Entity-type Specification to Java Persistence Query Language (JPQL) expression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Specification2JpqlConverter

public Specification2JpqlConverter()
Method Detail

convertJpaMappedSpecificationType2PreparedJpqlQuery

public static JpqlQueryHolder convertJpaMappedSpecificationType2PreparedJpqlQuery(CompositeSpecification<? extends Entity> specification,
                                                                                  java.util.List<java.lang.String> validTableNameList)
An attempt to convert Entity-type Specification to Java Persistence Query Language (JPQL) expression.

Returns:
HQL string, or null if not applicable

convert2DeleteStatement

public static java.util.List<java.lang.String> convert2DeleteStatement(Specification specification,
                                                                       java.util.List<java.lang.String> validTableNameList)


Copyright © 2006-2010. All Rights Reserved.