Boa noite a todos.
Eu estou querendo usar o ColdFusion para fazer consultas em tabelas dbf.
A SQL que eu uso no MySQL não esta funcionando quando eu tento retornar os dados que estão nas tabelas dbf.
Alguém tem alguma sugestão de como fazer com que os dados sejam retornados normalmente?
--
--
Você recebeu este e-mail pois está cadastrado na lista ColdFusion Brasil
Para CANCELAR sua assinatura escreva para cfbrasil+u...@googlegroups.com
Para ASSINAR a lista escreva para cfbrasil+...@googlegroups.com
O endereço para ENVIO DE MENSAGENS da lista é cfbr...@googlegroups.com
REGRAS em http://groups.google.com/group/cfbrasil/web/regras-de-boa-convivncia-na-lista
Outras opções disponíveis em http://groups.google.com/group/cfbrasil
--
Obrigado pela atenção.
Sobre exportar o banco, faz muito sentido mas a bronca é que a base é utilizada por um sistema já existente e que roda normalmente.
A ideia de utilizar o ColdFusion é criar alguns relatórios específicos que não são fornecidos por esse sistema.
Sem falar nos gráficos, pdf...
As coisas começaram a dar certo hehehe
Com direito a INNER JOIN, ORDER BY e CIA...
Fonte: http://forums.adobe.com/thread/199462
Nov 25, 2006 6:29 PM in reply to bdee2
First, place DBF_JDBC30.jar in \cfusionmx7\lib and restart CFMX. The jar file will be picked up automatically in this location. I leave WEB-INF and its subdirectories for coldfusion's own use and do not think it wise to place your jar files there. Testing with DBF_JDBC30.jar in WEB-INF/classes, I do not find it shows up in my classpath even if I put it into the classpath inside jvm.config. This is verified when I look at the systeminfo page and settings summary report in CFAdmin. So, place the jar in cfusionmx7/lib and it is picked up automatically. Or put it somewhere else (outside of WEB-INF) and specify it in the java.classpath.
Next from the driver's documentation the class is:
com.hxtt.sql.dbf.DBFDriver
The URL takes the form:
jdbc:dbf:///c:/data
So, I have a foxpro sample database in c:\foxpro\Samples\Northwind. So in CFAdmin I created a DSN as:
name: foxTest
type: other
URL: jdbc:dbf:///C:/foxpro/Samples/Northwind ( Note, I am using java style forward slashes not backslashes per the docs)
driver class: com.hxtt.sql.dbf.DBFDriver
This datasource points to the directory containing the DBF files. It verifies. I can view the data in the tables.
HTH.
De: cfbr...@googlegroups.com [mailto:cfbr...@googlegroups.com] Em nome de Pedro Claudio
Enviada em: quarta-feira, 21 de novembro de 2012 09:28
Para: cfbr...@googlegroups.com
Assunto: Re: [cf-brasil] Consultas em tabelas DBF
Veja as opções JDBC
Para CANCELAR sua assinatura escreva para cfbrasil+unsubscribe