Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
  HXTT DBF v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel v6.1
  HXTT Json v1.0
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
  HXTT Word v1.1
  HXTT XML v4.0
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
   
   
   
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)

HXTT DBF
sql error while using schema file
Mark Diamond
2006-08-18 15:08:28
During processing, the first column is processed without error.. when it tries to process the second column I get the following:

Inner: java.sql.SQLException: Failed to define a table view C:\mark\pano\yaho
o\deliverable1\samp3\file4a.csv because its relative table is open.^M
Caused by: java.sql.SQLException: Failed to define a table view C:\mark\pano
\yahoo\deliverable1\samp3\file4a.csv because its relative table is open.^M

jdbc:csv:/c:/mark/pano/yahoo/deliverable1/samp3?schemaFile=schema.sql,,user=,password=,_CSV_Header=false
,_CSV_Separator=\t}
Re:sql error while using schema file
HXTT Support
2006-08-18 18:52:57
It seems that you've opened more than on connection(or statement), and one connection(or statement) is using file4a.csv table, and another new connection (or statement) wish to load CREATE TABLE sqlfor the same table. You can modify your schema file, and add "if not exists" clause to all create table to avoid the collision. For instance,
CREATE TABLE if not exists file4a ...;

That's all.
Re:Re:sql error while using schema file
mark
2006-08-20 23:24:29
that was the solution. Thank you.
Re:Re:Re:sql error while using schema file
HXTT Support
2006-08-20 23:27:04
BTW, please download the latest JDBC3.0 package:)

Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap