Package org.fryske_akademy.jpa
Interfaces classes to support working with entities, most notably an entity interface, a Param class with support
for syntax in values and value conversion and a JpqlBuilder that facilitates building (dynamic) queries.
a helper class.
-
Interface Summary Interface Description EntityInterface JpqlBuilder Responsible for building where and order by clauses in jpqlParam.Builder.WildcardMapping translation table for wildcards -
Class Summary Class Description AbstractEntity superclass for entities, defines auto generated id (GenerationType.IDENTITY), a version column and a function to check if the entity is transient (not in db yet).AbstractWsEntity Base for 'readonly' entities in for example webservices.FARevisionListener JpaUtil JpqlBuilderImpl Stateless, threadsafe builder containing functions for building jpql}.Param Holder for parameter info used whenbuildinga jpql query.Param.Builder A factory for Param objects, parameter values can be added in two ways: as (the correct) Object => only syntax and wildcard support for String values as a String optionally using a converter => syntax support also for non String values, no wildcard support when converter is usedParam.Builder.DefaultWildcardMapping * => %, ? => _, NOTE that this mapping causes all four characters to be interpreted as wildcards in jpql/sql.RevInfo<T> container for revision info for an entity, used inAuditing.getRevisionInfo(java.io.Serializable, java.lang.Integer, java.lang.Class)RevisionInfo Include this entity in the list of entity classes in your persistence context.TimeView class to enable LocalDateTime based querying of auditing information. -
Enum Summary Enum Description OPERATOR A series of operators supported by this library, encapsulates all intelligence around them.Param.AndOr RevInfo.TYPE -
Exception Summary Exception Description EntityException An Exception that tracks the entity that caused the failure, useful for example the combination of EntityListeners and batch operations. -
Annotation Types Summary Annotation Type Description DefaultJpqlBuilder