com.mysema.query.jpa
Class HibernateSQLSerializer
java.lang.Object
com.mysema.query.support.SerializerBase<SQLSerializer>
com.mysema.query.sql.SQLSerializer
com.mysema.query.jpa.HibernateSQLSerializer
- All Implemented Interfaces:
- Visitor<Void,Void>
public final class HibernateSQLSerializer
- extends SQLSerializer
HibernateSQLSerializer extends the SQLSerializer to extract referenced entity paths and change some
serialization formats
- Author:
- tiwe
Methods inherited from class com.mysema.query.sql.SQLSerializer |
getConstantPaths, getConstants, getTemplates, serialize, serializeForDelete, serializeForInsert, serializeForMerge, serializeForUpdate, serializeUnion, visit, visit, visitOperation |
Methods inherited from class com.mysema.query.support.SerializerBase |
append, getConstantPrefix, getConstantToLabel, getTemplate, handle, handle, handle, serialize, serialize, setAnonParamPrefix, setConstantPrefix, setParamPrefix, toString, visit, visit, visit |
HibernateSQLSerializer
public HibernateSQLSerializer(SQLTemplates templates)
visit
public Void visit(Constant<?> expr,
Void context)
- Specified by:
visit
in interface Visitor<Void,Void>
- Overrides:
visit
in class SQLSerializer
visit
public Void visit(Path<?> path,
Void context)
- Specified by:
visit
in interface Visitor<Void,Void>
- Overrides:
visit
in class SQLSerializer
getEntityPaths
public List<Path<?>> getEntityPaths()
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.