Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
  HXTT DBF v7.1
  HXTT Excel v6.1
  HXTT Json v1.0
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  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 Text(CSV)
Time format without seconds
Remco Schoen
2009-09-04 02:51:22
Hello,

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
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
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
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
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
The patterns from SimpleDateFormat

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 | Refund | Sitemap