mirror of
https://github.com/corda/corda.git
synced 2025-03-22 20:15:19 +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
|
@CordaSerializable
|
||||||
class Request(
|
class Request(
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue(strategy = GenerationType.AUTO)
|
@GeneratedValue
|
||||||
val id: Int = 0,
|
val id: Int? = null,
|
||||||
|
|
||||||
@Column(name = "consuming_transaction_id")
|
@Column(name = "consuming_transaction_id")
|
||||||
val consumingTxHash: String,
|
val consumingTxHash: String,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user