fr.paris.lutece.plugins.stock.utils.jpa
Class StockJPAUtils

java.lang.Object
  extended by fr.paris.lutece.plugins.stock.utils.jpa.StockJPAUtils

public final class StockJPAUtils
extends java.lang.Object

JPA Utils methods


Field Summary
static java.lang.String LIKE_ENCLOSING
          Percent for LIKE queries
static java.lang.String SEQUENCE_TABLE_NAME
          Name of the sequence table
 
Method Summary
static java.lang.String buildCriteriaLikeString(java.lang.String strToEnclose)
          Encloses string with percent "%"
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEQUENCE_TABLE_NAME

public static final java.lang.String SEQUENCE_TABLE_NAME
Name of the sequence table

See Also:
Constant Field Values

LIKE_ENCLOSING

public static final java.lang.String LIKE_ENCLOSING
Percent for LIKE queries

See Also:
Constant Field Values
Method Detail

buildCriteriaLikeString

public static java.lang.String buildCriteriaLikeString(java.lang.String strToEnclose)
Encloses string with percent "%"

Parameters:
strToEnclose - string to enclose
Returns:
"%" + strToEnclose + "%"


Copyright © 2011 Mairie de Paris. All Rights Reserved.