|Re: looking for solution [message #1044156 is a reply to message #1043776]
||Thu, 18 April 2013 15:00
| Azi Azwady Jamaludin
Registered: October 2012
The first dialog will call the second dialog when user push the button. I'm planning to transfer data in the second dialog which is displayed in tableViewer. When the data selected (i'm using focusCell), the data will be transfer to the first dialog.
I'm implementing FileInputStream, FileOutputStream and using byte to read and write. So far, the data can be transfer but when I look into stacktrace, it trigger exception that this is not a file. I'm ignoring this exception as the data (which is in String type) is transferred. But i'm doubt that this can lead to some issue in the future. So,i'm looking for other solution.
I'm also transferring file which is open by file dialog and I want to put it in the database(mysql). The idea is to transfer the String (file path) to my entity and trigger the mergeEntity (I'm using entity manager) to create a script which will update the database. So far, it works but and now I want to find the solution which mysql can load file based on the given path. I've look at the manuals and it state that I need to call LOAD_FILE.
I'm in doubt as the script (database) require you to put WHERE (eg. where id = 1) as I'm planning to make it available for every column, not just one column (the column is in BLOB datatype which is equal to byte in JAVA, i think).
Here, i'm upload my dialog for review.
AppliQueryDialog is the first dialog and call SearchCaseIDDialog.
Any suggestions is much appreciate
Powered by FUDForum
. Page generated in 0.06462 seconds