-
Notifications
You must be signed in to change notification settings - Fork 17
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
[TOOLS-4559] When exporting to local xls files, an error occurs if the data is large. #142
Conversation
…e data is large. http://jira.cubrid.org/browse/TOOLS-4559 - If the data is large, it is displayed as blank and a list of errors is displayed in the 'no support' tab.
@@ -0,0 +1,72 @@ | |||
/* | |||
* Copyright (C) 2009 Search Solution Corporation. All rights reserved by Search Solution. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copyright needs to be modified to '2016 CUBRID Corporation'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the advice, fixed it.
@@ -282,14 +284,25 @@ public int writeData( | |||
|
|||
int index = 0; | |||
for (String val : res) { | |||
sheet.addCell(new jxl.write.Label(index++, total, val)); | |||
if (val.length() > 32767) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about using a fixed constant value as a global variable?
ex) private static final int MAX_RECORD_LENGTH
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the advice, fixed it. (MAX_EXCEL_CELL_LENGTH)
- constant definition
…e data is large. (CUBRID#142) http://jira.cubrid.org/browse/TOOLS-4559 - If the data is large, it is displayed as blank and a list of errors is displayed in the 'no support' tab.
…e data is large. (#142) (#148) http://jira.cubrid.org/browse/TOOLS-4559 - If the data is large, it is displayed as blank and a list of errors is displayed in the 'no support' tab.
http://jira.cubrid.org/browse/TOOLS-4559
Purpose
Implementation