The problem is this: I have a personal finance program that will record some important data, including the date of registration and expiration date. The program interfaces are done in Eclipse in SWT
, and I'm using the DateTime
widget, which uses a native windows calendar instance and shows on the program screen.
It turns out that I can not store this format in the database because it does not support any type SQL
, such as Date
or TimeStamp
. I already tried to convert this value to String
and Date
, but it does not accept. Anyone have an idea?
I hope I have made the problem clear without the need to post code, as it is a compatibility problem with SWT
formats with SQL
. If someone uses SWT
or has an idea how to show a summarized calendar on the screen, the user will follow the date of the registration and choose the date of expiration and then save on bank, I appreciate the assistance.