Closed dbnex14 closed 1 year ago
You need to remove columnDefinition = "Base64 encoded log data"
. This property is not a comment. If you have more questions, please ask them in our mailing list / Google group
https://groups.google.com/g/h2-database
or use some third-party resource such as StackOverflow.
Thanks, that fixed it
Replacing
@Column(name = "DATA", nullable = false, columnDefinition = "Base64 encoded log data")
@Lob
private byte[] logData;
with
@Column(name = "DATA", nullable = false, columnDefinition = "BLOB")
@Lob
private byte[] logData;
fixed the issue.
I use H2 for a while now for productivity improvement during development and testing and I have found it great so far. However, I have run into an issue that I dont know how to resolve.
My Spring Boot application connects to Oracle and some other databases such as DB2.
In Oracle, I have a table lke this
My @Entity class looks like:
My application.properties file contains settings for data source and hibernate like
When I issue mvn clean install to build project, I gut errors like