On Wed, Mar 25, 2015 at 6:26 PM Torben Barsballe <
[email protected]> wrote:
> On Wed, Mar 25, 2015 at 11:09 AM, Ian Turton <[email protected]> wrote:
>
>> SQL Server on master should be able to pull it's driver via maven by
>> default.
>>
>> Interesting. Right now we are getting:
>
> org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class
> 'com.microsoft.sqlserver.jdbc.SQLServerDriver'
>
> Could this be the wrong class name? If so, the code that generates the
> example fixtures is wrong. Otherwise, I don't know what could be the issue
> here.
>
>
My fixture file looks like:
#This is an example fixture. Update the values and remove the .example
suffix to enable the test
#Fri May 16 13:57:50 BST 2014
#SQL Server MS Driver
; user=geotools
; #port=1433
; password=geotools
; url=jdbc\:sqlserver\://SHEIK\\MS2008R2;DatabaseName=geotools
; #url=jdbc\:sqlserver\://SHEIK:1433;DatabaseName=geotools
; host=SHEIK
; instance=MS2008R2
; database=geotools
; driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
; schema=dbo
; dbtype=sqlserver
#JTDS
user=geotools
#port=1433
password=geotools
#url=jdbc\:sqlserver\://SHEIK:1433;DatabaseName=geotools
url=jdbc:jtds:sqlserver://SHEIK;instance=MS2008R2;DatabaseName=geotools
host=SHEIK
instance=MS2008R2
database=geotools
driver=net.sourceforge.jtds.jdbc.Driver
;schema=geotools
dbtype=jtds-sqlserver
You need either the instance or port line and the url changes accordingly.
If you point me to where the fixture is generated I'll have a go at
changing it if you'd like.
Ian
> Torben
>
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel