saving date and time in a derby database from an ejb module
I can easily save and retrieve a date from an ejb application (creating a derby table with Date as one of the fields - automatically generating the entity class, -creating a session facade bean and creating a client) - but if the date also contains a time the time doesn't seemed to get stored in the table. I used DateFormat df = DateFormat.getDateTimeInstance();
df.parse("15-Jun-2009 14:19:50") in the client
I know the session bean gets the date and time, but when I retrieve the date/time from the table I only get the date - not the time. Does anybody know how to do this or point me to an example which will show me?