Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for Value too long for column EXECUTIONEXCEPTION #19

Merged
merged 2 commits into from
Jan 30, 2023
Merged

fix for Value too long for column EXECUTIONEXCEPTION #19

merged 2 commits into from
Jan 30, 2023

Conversation

amoscatelli
Copy link
Contributor

@amoscatelli amoscatelli commented Jan 30, 2023

@chengfang hi !

I noticed that sometime I get an exception, Value too long for column, probably because the stacktrace is longer.

Without the @lob annotation, max length is 255.
According to the EXECUTION_EXCEPTION_LENGTH_LIMIT, defined also in the jdbc implementation, this limit should be 2048.

I didn't notice this before, can you merge please ?

@chengfang
Copy link
Contributor

chengfang commented Jan 30, 2023

With @lob, is there a way to limit the length of the text value for this EXECUTIONEXCEPTION column? With jdbc job repository, we try to truncate this value to a reasonable limit before saving to the table.

@amoscatelli
Copy link
Contributor Author

Yes, this should do it !

@chengfang chengfang merged commit d857135 into jberet:master Jan 30, 2023
@chengfang
Copy link
Contributor

Thanks @amoscatelli !

@amoscatelli
Copy link
Contributor Author

@chengfang is there an ETA for the next release ?

@chengfang
Copy link
Contributor

I'll try to release it this week.

@chengfang
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants