Anyone care to comment on my proposed solution in PR
https://github.com/geotools/geotools/pull/1198
Right now we have to unwrap the connection and use reflection to get at the
user password [1] which is a little nasty...
Would be nice to get this into 14.4 if possible
[1]
https://github.com/B3Partners/brmo/commit/a6e931b5eaa6162a8ea7a4c299a4f8927688de70#diff-aa551afb3bfb750ef0adc717215a4436L103
Thanx, Mark
2016-05-19 14:09 GMT+02:00 Mark Prins (JIRA) <[email protected]>:
> Mark Prins
> <https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?name=mprins>
> *created* an issue
>
> GeoTools <https://osgeo-org.atlassian.net/browse/GEOT> / [image: Bug]
> <https://osgeo-org.atlassian.net/browse/GEOT-5422> GEOT-5422
> <https://osgeo-org.atlassian.net/browse/GEOT-5422>
> jndi fails with jTDS driver
> <https://osgeo-org.atlassian.net/browse/GEOT-5422>
> Issue Type: [image: Bug] Bug
> Affects Versions: 15-RC1, 14.3, 16-beta
> Assignee: Unassigned
> Components: jdbc-sqlserver plugin
> Created: 19/May/16 2:08 PM
> Environment:
>
> no specific environment; off-line test will be provided in PR
> Labels: jndi jtds
> Priority: [image: High] High
> Reporter: Mark Prins
> <https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?name=mprins>
>
> When specifying the jtds *dbtype* in combination with a *schema* and a
> *jndiReferenceName* it will return null instead of a datastore:
>
> jndiProps.put("jndiReferenceName", JNDINAME);
> jndiProps.put("schema", "dbo");
> jndiProps.put("dbtype", "jtds-sqlserver");
> JDBCDataStore dataStore = (JDBCDataStore)
> DataStoreFinder.getDataStore(jndiProps);
>
> specifying sqlserver as *dbtype* you do get a datastore.
>
> some talk about this on the user ML:
> https://sourceforge.net/p/geotools/mailman/message/35089310/
> [image: Add Comment]
> <https://osgeo-org.atlassian.net/browse/GEOT-5422#add-comment> Add Comment
> <https://osgeo-org.atlassian.net/browse/GEOT-5422#add-comment>
>
> This message was sent by Atlassian JIRA (v1000.5.2#72002-sha1:b4422fe)
> [image: Atlassian logo]
>
>
> ------------------------------------------------------------------------------
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data
> untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> _______________________________________________
> GeoTools-Devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
>
--
Disclaimer;
This message is just a reflection of what I thought at the time of sending.
The message may contain information that is not intended for you or that
you don't understand.
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel