Change stateMachineContext column lentgh

- To fix HSQLDB default hibernate dialect, change
  length to 10K.
- Other real used DB's should really do this in ddl's.
- Fixes #882
This commit is contained in:
Janne Valkealahti
2020-10-17 15:40:19 +01:00
parent 8cb3b40d59
commit 1e68ca7179

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2017-2018 the original author or authors.
* Copyright 2017-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -45,7 +45,7 @@ public class JpaRepositoryStateMachine extends RepositoryStateMachine {
private String state;
@Lob
@Column(name = "state_machine_context")
@Column(name = "state_machine_context", length = 10240)
private byte[] stateMachineContext;
@Override