mirror of
https://github.com/google/nomulus.git
synced 2025-05-22 04:09:46 +02:00
Integrate transaction persistence into JpaTM (#717)
* Integrate transaction persistence into JpaTM Store the serialized transaction whenever we commit from the JPA transaction manager. This change also adds: - The Transaction table. - The TransactionEntity which is stored in it. - Changes to the test infrastructure to register the TransactionEntity for tests where we don't load the nomulus schema. - A new configuration variable to allow us to turn the transaction persistence functionality on and off (default is "off"). * Changes for review. * Incremented sequence number of flyway file
This commit is contained in:
parent
a56713e4be
commit
a802be2a9b
13 changed files with 250 additions and 16 deletions
|
@ -494,6 +494,12 @@ create sequence history_id_sequence start 1 increment 1;
|
|||
tld text not null,
|
||||
primary key (id)
|
||||
);
|
||||
|
||||
create table "Transaction" (
|
||||
id bigserial not null,
|
||||
contents bytea,
|
||||
primary key (id)
|
||||
);
|
||||
create index IDXih4b2tea127p5rb61gje6e1y2 on "BillingCancellation" (registrar_id);
|
||||
create index IDX2exdfbx6oiiwnhr8j6gjpqt2j on "BillingCancellation" (event_time);
|
||||
create index IDXqa3g92jc17e8dtiaviy4fet4x on "BillingCancellation" (billing_time);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue