Re: Custom Transformer to handle Timestamp

2009-01-13 Thread con
> 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) >

Re: Custom Transformer to handle Timestamp

2009-01-13 Thread Shalin Shekhar Mangar
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

Custom Transformer to handle Timestamp

2009-01-12 Thread con
: http://www.nabble.com/Custom-Transformer-to-handle-Timestamp-tp21421742p21421742.html Sent from the Solr - User mailing list archive at Nabble.com.