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:
szymonsztuka 2018-03-21 09:41:50 +00:00 committed by GitHub
parent d7147b7399
commit f1ac3c39e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,