I am using derby in-memory db in java . And I want to run a sql. My sql string's length is 61671 byte. But I get Java class file format limit(s) exceeded: method:e1 code_length (72447 > 65535) error
. I know the limitation about derby like code limit must be less than 65535 byte. It's ok (class file format limit(s) exceeded)
But now my string' length is just 61671. Why I am getting code_length (72447 > 65535) error ?
How can I fix it?
Thx
my string' length is just 61671. Why I am getting code_length (72447 > 65535) error ?
Because code length and string length are two different things. Your code is too long. Split it.