Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  Buy Now
  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)

Time format without seconds
Remco Schoen
2009-09-04 02:51:22.0

If I have a time in a format without seconds like 17:45, the driver isn't able to see it as the TIME-type and just returns a LONGVARCHAR. Setting the parameter timeFormat to HH:mm doesn't work as well.

Is this expected behaviour?

Kind regards,

Remco Schoen
Re:Time format without seconds
HXTT Support
2009-09-06 09:46:11.0
Supported. Please download the latest package, which wil utilize timeFormat for date type auto detection now.
Re:Re:Time format without seconds
Remco Schoen
2009-09-08 00:53:01.0
I gave it a try with version 2.2.087 and it still returns a LONGVARCHAR.

BTW the MANIFEST.MF in the zip-file doesn't contain the same information as the one in the jar-file and is pretty useless, because it doesn't contain any version-info:

"Manifest-Version: 1.0
Created-By: 1.6.0-rc (Sun Microsystems Inc.)"
Re:Re:Re:Time format without seconds
HXTT Support
2009-09-08 06:05:57.0
Forget to tell you that you should use timeFormat=hh:mm , not HH:mm.
Re:Re:Re:Re:Time format without seconds
Remco Schoen
2009-09-08 07:00:46.0
The problem came from JUnit-testing without the parameter delayedClose=0. It took old info from one of the other tests.

HH:mm seems to work as well. Are you using the patterns from SimpleDateFormat or do you have your own?
Re:Re:Re:Re:Re:Time format without seconds
HXTT Support
2009-09-08 07:33:14.0
The patterns from SimpleDateFormat

Search Key   Search by Last 50 Questions


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