Hi, On Sun, Nov 21, 2010 at 3:35 PM, Amila Suriarachchi <[email protected]> wrote: > > > On Sun, Nov 21, 2010 at 2:30 PM, Senaka Fernando <[email protected]> wrote: >> >> >> On Sun, Nov 21, 2010 at 2:22 PM, Amila Suriarachchi <[email protected]> >> wrote: >>> >>> >>> On Sun, Nov 21, 2010 at 1:45 PM, Senaka Fernando <[email protected]> wrote: >>>> >>>> Hi all, >>>> >>>> I see the following property in .dbs files >>>> >>>> <property >>>> name="org.wso2.ws.dataservice.protocol">jdbc:mysql://localshot:3306/carbon_db?autoReconnect=true</property> >>>> >>>> Wondering whether the name of this property should be >>>> org.wso2.ws.dataservice.url? >>> >>> Why this ws part as well? should be org.wso2.carbon.dataservice as well. >> >> Yes, good point. That too seems to be redundant. > > Another very small thing. > > In the data source defining GUI there is a required field called data base. > This can be used to select a data base > and GUI generates the driver class name and a sample jdbc url. But if we > select Mysql as the data base here and give a postgress > jdbc url it works as far as we set the driver name and jdbc url correctly. > > It is bit odd that although we set a wrong value to required field it still > works. I am not sure how to fix but some one > may think a better way.
The wizard simply contain that feature as a helper for the user. Even though database field is shown in the wizard, the data service doesn't really have such a field, when those information is filled, only the driver, url etc.. settings are going into the dbs file. So if the user overrides the automatically filled values from the wizard, we cant really tell them not to do it, for example, the database url will anyway have to be changed, we can't be monitoring its format to tell the user, that the database you selected and the url doesn't match, too much overkill, and its simply user's choice to put what ever in those fields. > > thanks, > Amila. >> >> Thanks, >> Senaka. >>> >>> thanks, >>> Amila. >>>> >>>> Thanks, >>>> Senaka. >>>> >>>> -- >>>> Senaka Fernando >>>> Associate Technical Lead & Product Manager - WSO2 G-Reg; >>>> WSO2, Inc.; http://wso2.com >>>> Member; Apache Software Foundation; http://apache.org >>>> >>>> E-mail: senaka AT wso2.com >>>> P: +1 408 754 7388; ext: 51736; M: +94 77 322 1818 >>>> Linked-In: http://www.linkedin.com/in/senakafernando >>>> >>>> Lean . Enterprise . Middleware >>>> >>>> >>>> _______________________________________________ >>>> Carbon-dev mailing list >>>> [email protected] >>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>> >>> >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> [email protected] >>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >> >> >> >> -- >> Senaka Fernando >> Associate Technical Lead & Product Manager - WSO2 G-Reg; >> WSO2, Inc.; http://wso2.com >> Member; Apache Software Foundation; http://apache.org >> >> E-mail: senaka AT wso2.com >> P: +1 408 754 7388; ext: 51736; M: +94 77 322 1818 >> Linked-In: http://www.linkedin.com/in/senakafernando >> >> Lean . Enterprise . Middleware >> >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> > > > _______________________________________________ > Carbon-dev mailing list > [email protected] > https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Anjana Fernando Software Engineer WSO2, Inc.; http://wso2.com lean.enterprise.middleware _______________________________________________ Carbon-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
