CodeQL library for Java/Kotlin
codeql/java-all 4.0.1-dev (changelog, source)
Search

Module Persistence

Provides classes and predicates for working with the JavaEE Persistence API.

Import path

import semmle.code.java.frameworks.javaee.Persistence

Imports

java

Provides all default Java QL imports.

Classes

AccessAnnotation

A @javax.persistence.Access annotation.

AccessTypeAnnotation

A @javax.persistence.AccessType annotation.

AssociationOverrideAnnotation

A @javax.persistence.AssociationOverride annotation.

AssociationOverridesAnnotation

A @javax.persistence.AssociationOverrides annotation.

AttributeOverrideAnnotation

A @javax.persistence.AttributeOverride annotation.

AttributeOverridesAnnotation

A @javax.persistence.AttributeOverrides annotation.

BasicAnnotation

A @javax.persistence.Basic annotation.

CacheableAnnotation

A @javax.persistence.Cacheable annotation.

CollectionTableAnnotation

A @javax.persistence.CollectionTable annotation.

ColumnAnnotation

A @javax.persistence.Column annotation.

ColumnResultAnnotation

A @javax.persistence.ColumnResult annotation.

DiscriminatorColumnAnnotation

A @javax.persistence.DiscriminatorColumn annotation.

DiscriminatorValueAnnotation

A @javax.persistence.DiscriminatorValue annotation.

ElementCollectionAnnotation

A @javax.persistence.ElementCollection annotation.

EmbeddableAnnotation

A @javax.persistence.Embeddable annotation.

EmbeddedAnnotation

A @javax.persistence.Embedded annotation.

EmbeddedIdAnnotation

A @javax.persistence.EmbeddedId annotation.

EntityAnnotation

A @javax.persistence.Entity annotation.

EntityListenersAnnotation

A @javax.persistence.EntityListeners annotation.

EntityResultAnnotation

A @javax.persistence.EntityResult annotation.

EnumeratedAnnotation

A @javax.persistence.Enumerated annotation.

ExcludeDefaultListenersAnnotation

A @javax.persistence.ExcludeDefaultListeners annotation.

ExcludeSuperclassListenersAnnotation

A @javax.persistence.ExcludeSuperclassListeners annotation.

FieldResultAnnotation

A @javax.persistence.FieldResult annotation.

GeneratedValueAnnotation

A @javax.persistence.GeneratedValue annotation.

IdAnnotation

A @javax.persistence.Id annotation.

IdClassAnnotation

A @javax.persistence.IdClass annotation.

InheritanceAnnotation

A @javax.persistence.Inheritance annotation.

JoinColumnAnnotation

A @javax.persistence.JoinColumn annotation.

JoinColumnsAnnotation

A @javax.persistence.JoinColumns annotation.

JoinTableAnnotation

A @javax.persistence.JoinTable annotation.

LobAnnotation

A @javax.persistence.Lob annotation.

ManyToManyAnnotation

A @javax.persistence.ManyToMany annotation.

ManyToOneAnnotation

A @javax.persistence.ManyToOne annotation.

MapKeyAnnotation

A @javax.persistence.MapKey annotation.

MapKeyClassAnnotation

A @javax.persistence.MapKeyClass annotation.

MapKeyColumnAnnotation

A @javax.persistence.MapKeyColumn annotation.

MapKeyEnumeratedAnnotation

A @javax.persistence.MapKeyEnumerated annotation.

MapKeyJoinColumnAnnotation

A @javax.persistence.MapKeyJoinColumn annotation.

MapKeyJoinColumnsAnnotation

A @javax.persistence.MapKeyJoinColumns annotation.

MapKeyTemporalAnnotation

A @javax.persistence.MapKeyTemporal annotation.

MappedSuperclassAnnotation

A @javax.persistence.MappedSuperclass annotation.

MapsIdAnnotation

A @javax.persistence.MapsId annotation.

NamedNativeQueriesAnnotation

A @javax.persistence.NamedNativeQueries annotation.

NamedNativeQueryAnnotation

A @javax.persistence.NamedNativeQuery annotation.

NamedQueriesAnnotation

A @javax.persistence.NamedQueries annotation.

NamedQueryAnnotation

A @javax.persistence.NamedQuery annotation.

OneToManyAnnotation

A @javax.persistence.OneToMany annotation.

OneToOneAnnotation

A @javax.persistence.OneToOne annotation.

OrderByAnnotation

A @javax.persistence.OrderBy annotation.

OrderColumnAnnotation

A @javax.persistence.OrderColumn annotation.

PersistenceContextAnnotation

A @javax.persistence.PersistenceContext annotation.

PersistenceContextsAnnotation

A @javax.persistence.PersistenceContexts annotation.

PersistencePropertyAnnotation

A @javax.persistence.PersistenceProperty annotation.

PersistenceUnitAnnotation

A @javax.persistence.PersistenceUnit annotation.

PersistenceUnitsAnnotation

A @javax.persistence.PersistenceUnits annotation.

PersistentEntity

A RefType with the @Entity annotation that indicates that it can be persisted using a JPA compatible framework.

PostLoadAnnotation

A @javax.persistence.PostLoad annotation.

PostPersistAnnotation

A @javax.persistence.PostPersist annotation.

PostRemoveAnnotation

A @javax.persistence.PostRemove annotation.

PostUpdateAnnotation

A @javax.persistence.PostUpdate annotation.

PrePersistAnnotation

A @javax.persistence.PrePersist annotation.

PreRemoveAnnotation

A @javax.persistence.PreRemove annotation.

PreUpdateAnnotation

A @javax.persistence.PreUpdate annotation.

PrimaryKeyJoinColumnAnnotation

A @javax.persistence.PrimaryKeyJoinColumn annotation.

PrimaryKeyJoinColumnsAnnotation

A @javax.persistence.PrimaryKeyJoinColumns annotation.

QueryHintAnnotation

A @javax.persistence.QueryHint annotation.

SecondaryTableAnnotation

A @javax.persistence.SecondaryTable annotation.

SecondaryTablesAnnotation

A @javax.persistence.SecondaryTables annotation.

SequenceGeneratorAnnotation

A @javax.persistence.SequenceGenerator annotation.

SqlResultSetMappingAnnotation

A @javax.persistence.SqlResultSetMapping annotation.

SqlResultSetMappingsAnnotation

A @javax.persistence.SqlResultSetMappings annotation.

TableAnnotation

A @javax.persistence.Table annotation.

TableGeneratorAnnotation

A @javax.persistence.TableGenerator annotation.

TemporalAnnotation

A @javax.persistence.Temporal annotation.

TransientAnnotation

A @javax.persistence.Transient annotation.

TypeEntityManager

The interface javax.persistence.EntityManager.

TypeQuery

The interface javax.persistence.Query, which represents queries in the Java Persistence Query Language.

UniqueConstraintAnnotation

A @javax.persistence.UniqueConstraint annotation.

VersionAnnotation

A @javax.persistence.Version annotation.