The problem I'm facing is that the TimeStamp converter is called for Date
fields (java.util.Date) instead of DateConverter.


public class MyClass(){
      private Date myDate;           <-- TimeStamp converter is called for
this field here which incorrect.
      private TimeStamp myTimeStamp;
}





tibi wrote:
> 
> what is the problem you are trying to solve?
> is the timeStamp converter not converting the date input correctly?
> 
> 
> 
> ashan wrote:
>> I have both TimeStamp converter and Date converter specified in
>> xwork-conversion.properties file.
>>
>> But the TimeStamp converter is picked up for both Date and TimeStamp
>> fields.
>> The mysql database has datetime field type for corresponding java Date
>> field.
>>
>> Please help.
>>
>> Thanks,
>> Shan
>>   
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/TimeStamp-converter-and-Date-converter-tp23146986s2369p23153268.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to