> I have tried the sample TrimTransformer and it is working. But can i
>> convert
>> this string to a valid date format.(I am not a java expert..:-( )?
>
>
> I would start by trying something like this:
>
> oracle.jdbc.TIMESTAMP timestamp = (oracle.jdbc.TIMESTAMP)
>
at.(I am not a java expert..:-( )?
I would start by trying something like this:
oracle.jdbc.TIMESTAMP timestamp = (oracle.jdbc.TIMESTAMP)
row.get("your_timestamp_field_name");
row.put("your_timestamp_field_name", timestamp.toJdbc());
>
> --
> View this message in
:
http://www.nabble.com/Custom-Transformer-to-handle-Timestamp-tp21421742p21421742.html
Sent from the Solr - User mailing list archive at Nabble.com.