On Tue, Jan 19, 2010 at 6:34 AM, Sumedha Rubasinghe <[email protected]>wrote:
> Hi Dmitry, > Rather than us formatting the date/time/datetime, we have plans to let user > control the format by giving the criteria. > I think this is wrong. xml specification defines how a date/time/datetime should serialise. you need to adhere to those standards if we comply with web services. you can use org.apache.axis2.databinding.utils.ConverterUtil for all these conversions. eg: > yy-dd-mm, yyyy-mm-dd > if you going to use SimpleDateformatter for this that will give a huge performance impact. Thanks, Amila. > Thanks, > /sumedha > > > 2010/1/15 Dmitry Lukyanov <[email protected]> > > Great! >> I just found it out that I have to specify xsdType="xs:..." attribute. >> But ... >> >> I was expected that if I specify xsdType="xs:dateTime" the DS server will >> format the date for me. >> But this is not so... >> >> It seems i have to provide datetime formatting on the level of database >> server... >> Not every database developer know how to format dateTime according to w3c >> standards. >> >> I sure you have to take care of date, time, and dateTime formatting >> according to w3c. >> >> Waiting for your feedback. >> -- >> Regards, >> Dmitry >> >> >> --- Original Message --- >> From: Sumedha Rubasinghe <[email protected]> >> To: [email protected], [email protected] >> Date: 15 january, 03:06:33 >> Subject: Re: [Architecture] WSO2 Data Services Server 2.5.0-M1 >> >> > Hi Dmitry, >> > This is already available on 2.2.0 release. :-) .. >> > /sumedha >> > >> > On Fri, Jan 15, 2010 at 12:46 AM, Dmitry Lukyanov <[email protected]> >> wrote: >> > >> > > Hello, >> > > >> > > That's great! >> > > And what about output elements types? >> > > >> > > Like this: >> > > >> > > <query id="getSysUsers"> >> > > <sql>select uid, name from sysusers</sql> >> > > <result element="getSysUsersResponse" rowName="sysUser"> >> > > <element name="id" column="uid" sqlType="INTEGER"/> >> > > <element name="name" column="name" sqlType="STRING" /> >> > > <element name="log-date" column="logdate" sqlType="DATE" >> /> >> > > </result> >> > > </query> >> > > >> > > Regards, >> > > Dmitry >> > > >> > > --- Original Message --- >> > > From: Anjana Fernando <[email protected]> >> > > To: [email protected], [email protected] >> > > Date: 11 january, 15:28:21 >> > > Subject: [Architecture] WSO2 Data Services Server 2.5.0-M1 >> > > >> > > > WSO2 Data Services Server team is pleased to announce the Milestone >> 1 >> > > > (Gobalu) release for Data Services Server 2.5.0 and is ready for QA >> at >> > > > [1]. >> > > > >> > > > New Features >> > > > ======== >> > > > >> > > > # Support for re-using pre-configured data sources - Carbon data >> > > > source component. >> > > > # Support for XSLT mediation. >> > > > # Support for array input types. >> > > > >> > > > Fixes >> > > > === >> > > > >> > > > # JNDI data source fix - https://wso2.org/jira/browse/DS-499 >> > > > >> > > > [1] >> > > >> http://builder.wso2.org/~carbon/dataservices/2.5.0/M1/wso2dataservices-SNAPSHOT.zip<http://builder.wso2.org/%7Ecarbon/dataservices/2.5.0/M1/wso2dataservices-SNAPSHOT.zip> >> > > > >> > > > Cheers, >> > > > Anjana. >> > > > >> > > >> > > _______________________________________________ >> > > Architecture mailing list >> > > [email protected] >> > > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >> > > >> > > > _______________________________________________ > Architecture mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > >
_______________________________________________ Carbon-dev mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
