Module Persistence

Import path

semmle.code.java.frameworks.javaee.Persistence

Imports

java

Provides all default Java QL imports.

Classes

AccessAnnotation
AccessTypeAnnotation
AssociationOverrideAnnotation
AssociationOverridesAnnotation
AttributeOverrideAnnotation
AttributeOverridesAnnotation
BasicAnnotation
CacheableAnnotation
CollectionTableAnnotation
ColumnAnnotation
ColumnResultAnnotation
DiscriminatorColumnAnnotation
DiscriminatorValueAnnotation
ElementCollectionAnnotation
EmbeddableAnnotation
EmbeddedAnnotation
EmbeddedIdAnnotation
EntityAnnotation
EntityListenersAnnotation
EntityResultAnnotation
EnumeratedAnnotation
ExcludeDefaultListenersAnnotation
ExcludeSuperclassListenersAnnotation
FieldResultAnnotation
GeneratedValueAnnotation
IdAnnotation
IdClassAnnotation
InheritanceAnnotation
JoinColumnAnnotation
JoinColumnsAnnotation
JoinTableAnnotation
LobAnnotation
ManyToManyAnnotation
ManyToOneAnnotation
MapKeyAnnotation
MapKeyClassAnnotation
MapKeyColumnAnnotation
MapKeyEnumeratedAnnotation
MapKeyJoinColumnAnnotation
MapKeyJoinColumnsAnnotation
MapKeyTemporalAnnotation
MappedSuperclassAnnotation
MapsIdAnnotation
NamedNativeQueriesAnnotation
NamedNativeQueryAnnotation
NamedQueriesAnnotation
NamedQueryAnnotation
OneToManyAnnotation
OneToOneAnnotation
OrderByAnnotation
OrderColumnAnnotation
PersistenceContextAnnotation
PersistenceContextsAnnotation
PersistencePropertyAnnotation
PersistenceUnitAnnotation
PersistenceUnitsAnnotation
PersistentEntity

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

PostLoadAnnotation
PostPersistAnnotation
PostRemoveAnnotation
PostUpdateAnnotation
PrePersistAnnotation
PreRemoveAnnotation
PreUpdateAnnotation
PrimaryKeyJoinColumnAnnotation
PrimaryKeyJoinColumnsAnnotation
QueryHintAnnotation
SecondaryTableAnnotation
SecondaryTablesAnnotation
SequenceGeneratorAnnotation
SqlResultSetMappingAnnotation
SqlResultSetMappingsAnnotation
TableAnnotation
TableGeneratorAnnotation
TemporalAnnotation
TransientAnnotation
TypeEntityManager

The interface javax.persistence.EntityManager.

TypeQuery

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

UniqueConstraintAnnotation
VersionAnnotation