Package org.fryske_akademy.jpa
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.
-
ClassDescriptionsuperclass 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).Base for 'readonly' entities in for example webservices.An Exception that tracks the entity that caused the failure, useful for example the combination of EntityListeners and batch operations.Responsible for building where and order by clauses in jpqlStateless, threadsafe builder containing functions for building jpql}.A series of operators supported by this library, encapsulates all intelligence around them.Holder for parameter info used whenbuildinga jpql query.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 used* => %, ? => _, NOTE that this mapping causes all four characters to be interpreted as wildcards in jpql/sql.translation table for wildcardsRevInfo<T>container for revision info for an entity, used inAuditing.getRevisionInfo(java.io.Serializable, Integer, Class)Include this entity in the list of entity classes in your persistence context.class to enable LocalDateTime based querying of auditing information.