[ http://wso2.org/jira/browse/WSAS-675?page=all ]
sumedha rubasinghe resolved WSAS-675.
-------------------------------------
Resolution: Fixed
> Add namespace capabilities to Data Service complex types
> --------------------------------------------------------
>
> Key: WSAS-675
> URL: http://wso2.org/jira/browse/WSAS-675
> Project: WSO2 WSAS
> Issue Type: Bug
> Environment: any
> Reporter: sumedha rubasinghe
> Assigned To: sumedha rubasinghe
> Fix For: 2.2
>
>
> Code generation fails when result element for two queries contain same
> element name & row name.
> Check following example.
> <query id="oldCustomers">
> <sql>select customerNumber,customerName,phone,city,postalCode from
> customers where customerNumber = ?</sql>
> <result element="Customers" rowName="Customer">
> <element name="customerNumber" column="customerNumber" />
> <element name="customerName" column="customerName" />
> <element name="phone" column="phone" />
> <element name="city" column="city" />
> <element name="postalCode" column="postalCode" />
> </result>
> <param name="customerNumber" sqlType="INTEGER" />
> </query>
> <query id="newCustomers">
> <sql>select customerNumber,customerName,phone,city from customers
> where customerNumber = ?</sql>
> <result element="Customers" rowName="Customer">
> <element name="customerNumber" column="customerNumber" />
> <element name="customerName" column="customerName" />
> <element name="phone" column="phone" />
> <element name="city" column="city" />
> </result>
> <param name="customerNumber" sqlType="INTEGER" />
> </query>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev