[jboss-dev-forums] [Design of POJO Server] - Re: Datasource Connection Properties using CollectionMetaTyp
scott.stark@jboss.org
do-not-reply at jboss.com
Tue Feb 5 15:40:12 EST 2008
I'm currently fixing this while looking into the missing stats problem, but an issue with the CompositeMetaType for the ds connection properties is that we don't really know what the allowed properties are. Its a function of the driver class. I guess to properly build this set we need to load the java.sql.Driver class for the current driver and call getPropertyInfo(String url, Properties info) to obtain the supported java.sql.DriverPropertyInfo[].
Its a chicken and egg problem though in that unless I have a value for the driver-class property, I don't know what the allowed properties are. In general, its the admin client that would need to do this.
What is jon doing now for these properties?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126749#4126749
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126749
More information about the jboss-dev-forums
mailing list