Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
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
   
   
   
Hongxin Technology & Trade Ltd. of Xiangtan City (abbr, HXTT)

HXTT DBF
sql error while using schema file
Mark Diamond
2006-08-18 15:08:28.0
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.0
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.0
that was the solution. Thank you.
Re:Re:Re:sql error while using schema file
HXTT Support
2006-08-20 23:27:04.0
BTW, please download the latest JDBC3.0 package:)

Search Key   Search by Last 50 Questions




Google
 

Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Email: webmaster@hxtt.com
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap