Hi Samisa,

We checked on this recently, but it seems, for MySQL, giving just the
server url and later giving the database name and retrieving metadata from
JDBC does not work properly. What we did here was, now simply give the
proper error message saying, this is not support in this DBMS.

Cheers,
Anjana.


On Fri, Dec 6, 2013 at 11:51 AM, Amani Soysa <[email protected]> wrote:

> Hi Samisa,
>
> There was a bug in generate data service in the last release .. you need
> to give the jdbc url with the database name[1]. This is fixed for the
> current release I think.
>
>
> [1] - https://wso2.org/jira/browse/DS-806
>
>
> On Fri, Dec 6, 2013 at 11:03 AM, Samisa Abeysinghe <[email protected]>wrote:
>
>> Does it work for MySQL without the DB name? I tried and it did not work,
>> I wonder if I did something wrong.
>>
>> Thanks,
>> Samisa...
>>
>>
>> Samisa Abeysinghe
>>
>> Vice President Training
>>
>> WSO2 Inc.
>> http://wso2.com
>>
>>
>>
>> On Fri, Dec 6, 2013 at 7:52 AM, Anjana Fernando <[email protected]> wrote:
>>
>>> Hi Samisa,
>>>
>>> This depends on the RDBMS you're using, some require you to do so from
>>> the JDBC API, or it is not possible to get the required metadata for the
>>> service generation sometimes.
>>>
>>> Cheers,
>>> Anjana.
>>>
>>>
>>> On Thu, Dec 5, 2013 at 3:52 PM, Samisa Abeysinghe <[email protected]>wrote:
>>>
>>>> and repeat the DB name, when creating the service using that data
>>>> source?
>>>>
>>>> Thanks,
>>>> Samisa...
>>>>
>>>>
>>>> Samisa Abeysinghe
>>>>
>>>> Vice President Training
>>>>
>>>> WSO2 Inc.
>>>> http://wso2.com
>>>>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Anjana Fernando*
>>> Technical Lead
>>> WSO2 Inc. | http://wso2.com
>>> lean . enterprise . middleware
>>>
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Amani Soysa
> Senior Software Engineer
> Mobile: +94772325528
> WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>



-- 
*Anjana Fernando*
Technical Lead
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to