On Fri, May 4, 2012 at 5:01 PM, Nuwan Bandara <[email protected]> wrote:

>
> Yeah :( had no choice, The driver name is optional in JDBC4, but the
> tomcat datasource IMPL has written making it mandatory. Anjana told that he
> will submit a patch for that. even so, I dont think it will work in our
> OSGI environment.
>
> SO even though its ugly to specify a java class name in a Javascript API,
> we got no other option for now.
>

Nuwan lets write a host object then for MySQL connection specifically and
put that bit inside that object. We can't have Java name visibile in
Jaggery.

Do we have a "server.conf" type thing in addition to per-application
config? In that case we could have a way to configure DB drivers there.
Having some exposure of Java in the server configuration is still criminal
but not a show-stopper as putting it in the API IMO.

Sanjiva.
-- 
Sanjiva Weerawarana, Ph.D.
Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
email: [email protected]; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1
650 265 8311
blog: http://sanjiva.weerawarana.org/

Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to