mirror of
https://github.com/corda/corda.git
synced 2025-03-22 03:55:26 +00:00
ENT-1634 Fix Primary Key generation for node_notary_request_log table (#2855)
Don't assign a value as it's auto generated, remove redundant default value for GeneratedValue strategy.
This commit is contained in:
parent
d7147b7399
commit
f1ac3c39e9
@ -41,8 +41,8 @@ class PersistentUniquenessProvider(val clock: Clock) : UniquenessProvider, Singl
|
||||
@CordaSerializable
|
||||
class Request(
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.AUTO)
|
||||
val id: Int = 0,
|
||||
@GeneratedValue
|
||||
val id: Int? = null,
|
||||
|
||||
@Column(name = "consuming_transaction_id")
|
||||
val consumingTxHash: String,
|
||||
|
Loading…
x
Reference in New Issue
Block a user