sql-to-jdl icon indicating copy to clipboard operation
sql-to-jdl copied to clipboard

String cannot be converted to byte[]

Open edy-ap opened this issue 4 years ago • 4 comments

method org.jooq.Field.eq(byte[]) is not applicable (argument mismatch; java.lang.String cannot be converted to byte[])

https://github.com/Blackdread/sql-to-jdl/blob/96a3a6ecdcdc4fa2e715860f9b4b12ae4424b389/src/main/java/org/blackdread/sqltojava/repository/InformationSchemaRepository.java#L53

edy-ap avatar Apr 20 '20 23:04 edy-ap

please propose a solution, thanks.

I do not see how you get the issue since mysql should use string for the column type or table name

Blackdread avatar Apr 21 '20 00:04 Blackdread

not working with mysql 8.X, i install mysql 5.7 and works

edy-ap avatar Apr 21 '20 00:04 edy-ap

ok thanks. This project was made with mysql 5.7, never tested with 8+. I keep this issue open, maybe I will try to see what can be done to fix that.

Blackdread avatar Apr 21 '20 01:04 Blackdread

I have mysql 8.0.18 and it works. Anyway I will change code to use native sql without generated parts of jooq tables

Blackdread avatar Dec 29 '20 16:12 Blackdread

Do you think this is resolved by the native sql upgrade?

octgsoftware avatar Nov 29 '22 23:11 octgsoftware

Yes indeed

Blackdread avatar Nov 30 '22 17:11 Blackdread