Package google.registry.persistence
-
Interface Summary Interface Description PersistenceComponent Dagger component to provideEntityManagerFactory
instances. -
Class Summary Class Description EntityCallbacksListener A listener class to invoke entity callbacks in cases where Hibernate doesn't invoke the callback as expected.HibernateSchemaExporter Utility class to export DDL script for givenEntity
classes.JpaRetries Helpers for identifying retriable database operations.NomulusNamingStrategy Nomulus naming strategy for Hibernate ORM.NomulusPostgreSql Information about Nomulus' Cloud SQL PostgreSql instance.NomulusPostgreSQLDialect Nomulus mapping rules for column types in Postgresql.NoopJpaEntityScanner A do-nothingScanner
for Hibernate that works around bugs in Hibernate's default implementation.PersistenceModule Dagger module class for the persistence layer.PersistenceXmlUtility Utility class that provides methods to manipulate persistence.xml file.VKey<T> VKey is an abstraction that encapsulates the key concept. -
Enum Summary Enum Description PersistenceModule.JpaTransactionManagerType Types ofJpaTransactionManagers
.PersistenceModule.TransactionIsolationLevel Transaction isolation levels supported by Cloud SQL (mysql and postgresql). -
Annotation Types Summary Annotation Type Description IsolationLevel Indicates whichPersistenceModule.TransactionIsolationLevel
that aTransactionalFlow
show run at.PersistenceModule.BeamJpaTm Dagger qualifier forJpaTransactionManager
used inside BEAM pipelines.PersistenceModule.BeamReadOnlyReplicaJpaTm Dagger qualifier forJpaTransactionManager
used inside BEAM pipelines that uses the read-only Postgres replica if one is configured (otherwise it uses the standard DB).PersistenceModule.DefaultHibernateConfigs Dagger qualifier for the default Hibernate configurations.PersistenceModule.NomulusToolJpaTm Dagger qualifier forJpaTransactionManager
used for Nomulus tool.PersistenceModule.ReadOnlyReplicaJpaTm Dagger qualifier forJpaTransactionManager
that uses the read-only Postgres replica if one is configured (otherwise it uses the standard DB).PersistenceModule.SchemaManagerConnection Dagger qualifier for JDBCConnection
with schema management privilege.WithVKey Annotation forEntity
that can be saved as a foreign key in the form of aVKey
in another table.