Ref.: JDBC Driver

Alguém sabe onde posso baixar o JDBC para DB2?

Oi,

ou

http://www.guj.com.br/posts/list/43380.java

PQP!

Tem que ser registrado para baixar isso.

Alguém tem e pode me enviar?

Desde já agradeço.

prsantosbr@gmail.com

[]´s

Oi,

Você tem o banco de dados instalado em algum lugar (para querer o Driver é por que tem)? Na thread que te passei tem indicando a pasta que fica localizado o Driver após a instalação do SGDB.

Não não tenho!

Irei explicar paraque preciso, pois bem!:

Estou desenvolvendo uma classe para ler um arquivo .Shp (SHAPE) para uma aplicação GIS.

Achei um exemplo para isso, porém estou recebendo este erro:

Exemplo:

http://docs.codehaus.org/display/GEOTDOC/Home

É só clicar em “05 SHP2SHP LAB” aqui tem o exemplo que estou testando

Se puder me ajudar, serie muito grato.

[]´s

init:
deps-jar:
compile:
Welcome to GeoTools:2.5.SNAPSHOT
You chose to open this file: EstadoACRE.shp
20/10/2008 13:30:24 org.geotools.arcsde.ArcSDEDataStoreFactory <init>
WARNING: The ESRI ArcSDE Java API seems to not be on your classpath. Please verify that all needed jars are. ArcSDE data stores will not be available.
20/10/2008 13:30:24 org.geotools.data.db2.DB2DataStoreFactory isAvailable
INFO: DB2 driver found: false
Reading content EstadoACRE
Header: the_geom:MultiPolygon,NUMERO:Integer,ANO:Integer,PROCESSO:String,ID:String,AREA_HA:Double,FASE:String,NOME:String,ULT_EVENTO:String,SUBS:String,USO:String,UF:String
20/10/2008 13:34:25 org.geotools.referencing.factory.epsg.ThreadedAccessEpsgFactory isAvailable
WARNING: Unavailable authority factory: European Petroleum Survey Group
org.opengis.referencing.FactoryException: Failed to connect to the EPSG database.
        at org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore(ThreadedEpsgFactory.java:428)
        at org.geotools.referencing.factory.DeferredAuthorityFactory.getBackingStore(DeferredAuthorityFactory.java:132)
        at org.geotools.referencing.factory.BufferedAuthorityFactory.isAvailable(BufferedAuthorityFactory.java:233)
        at org.geotools.referencing.factory.DeferredAuthorityFactory.isAvailable(DeferredAuthorityFactory.java:119)
        at org.geotools.factory.FactoryRegistry.isAvailable(FactoryRegistry.java:667)
        at org.geotools.factory.FactoryRegistry.isAcceptable(FactoryRegistry.java:499)
        at org.geotools.factory.FactoryRegistry$1.filter(FactoryRegistry.java:191)
        at javax.imageio.spi.FilterIterator.advance(ServiceRegistry.java:793)
        at javax.imageio.spi.FilterIterator.<init>(ServiceRegistry.java:787)
        at javax.imageio.spi.ServiceRegistry.getServiceProviders(ServiceRegistry.java:491)
        at org.geotools.factory.FactoryRegistry.getServiceProviders(FactoryRegistry.java:196)
        at org.geotools.referencing.ReferencingFactoryFinder.getFactories(ReferencingFactoryFinder.java:177)
        at org.geotools.referencing.ReferencingFactoryFinder.getCRSAuthorityFactories(ReferencingFactoryFinder.java:452)
        at org.geotools.referencing.DefaultAuthorityFactory.getSupportedCodes(DefaultAuthorityFactory.java:125)
        at org.geotools.referencing.CRS.getSupportedCodes(CRS.java:292)
        at geotoolsPRS.Shp2Shp.getCoordinateReferenceSystem(Shp2Shp.java:134)
        at geotoolsPRS.Shp2Shp.main(Shp2Shp.java:69)

http://docs.codehaus.org/display/GEOTDOC/Home