`

unsupported data conversion 解决方法

阅读更多

图像存储 unsupported data conversion问题。
原因如下:
microsoft SQL驱动默认支持Blob(图像)及Clob(大型文本数据)的存储,却不能读取,发现需要替换为Microsoft SQL Server(jTDS driver)这个驱动。
解决方法:
jtds-0.6.jar下载:http://prdownloads.sourceforge.net/jtds/jtds-0.6.jar?download
把项目中的驱动换下就行了。

我本人是在MyEclipse上解决的:
在MyEclipse的DB Browser中New个 Database Driver ,
   Driver template:Microsoft SQL Server(jTDS driver)
   Driver name:net.sourceforge.jtds.jdbc.Driver
   Connection url :jdbc:jtds:sqlserver://219.228.230.7:1433/book   (book为数据库名)
   user name :sa
   password:
   Driver jars->add jars->把刚才下的jtds-0.6.jar选中
   勾选Save password复选框。
   修改hibernate.cfg.xml文件中的驱动和URL


本文来自CSDN博客,转载出处:http://blog.csdn.net/fireinjava/archive/2008/02/19/2104536.aspx

分享到:
评论

相关推荐

    Spectral Core Full Convert Enterprise v6.11.0.1683

    It auto-adapts to your data and database engines used and selects the best possible data transfer algorithm for your conversion scenario. You have full control over the database migration and can ...

    C++编码实现截图

    throw new Exception("Only interleaved Images are supported for conversion to Bitmap"); } int imageSize = img.width * img.height; int intStride = (img.width * img.nChannels + 3) & -4; Bitmap bmp ...

    rtklib v2.4.2源代码

    (8) Data format conversion is supported in STRSVR and STR2STR. (9) PPP-AR (ambiguity resolution) is supported. (experimental). (10) Satellite visibility and multipath analysis function is added in ...

    unidac5.3.8src

    RAD Studio XE6 is supported Android in C++Builder XE6 is supported Lazarus 1.2.2 and FPC 2.6.4 is supported SmartFetch mode for TDataSet descendants is added The TUniDataSetOptions....

    Senfore_DragDrop_v4.1

    directory which automates the conversion process. The C++ Builder demo forms are distributed in binary format. 7) If upgrading from a previous version of the Drag and Drop Component Suite, please ...

    Devart UniDAC v5.3.8 Source

    -RAD Studio XE6 is supported -Android in C++Builder XE6 is supported -Lazarus 1.2.2 and FPC 2.6.4 is supported -SmartFetch mode for TDataSet descendants is added -The TUniDataSetOptions....

    OSTOpenFileToolInstall Demo version

    This application runs on all supported configurations and guarantees the highest efficiency of data recovery and file conversion. The success of OST Open File Tool execution does not depend on the PC...

    Wave,MP3,Ogg,FLAC转换

    Audio Components Suite (ACS) is a freeware cross-platform set of components designed to perform different sound-processing tasks.Platforms supported: Windows, LinuxIDEs supported: Delphi 6, 7, Kylix 1...

    Ultra Mobile 3GP Video Converter 绿色

    High-speed encoder ensures smooth conversion of video and audio data. Direct any video files to 3GP format without losing quality. Movie scene spot edit-able. Support various subtitle file Keep ...

    RAPWare EasyCrypt for XE10 (Cracked Dcu)

    With the provided components you get an easy way to hash, protect/unprotect, encrypt/decrypt strings and binary data. Both public/private-key and symmetric key cryptography are supported. It also ...

    linqer_4.6.0.0_trial.exe

    Because LINQ is a part of the C# and VB languages, it is sensitive to data type conversion. Linqer performs required type castings in the produced LINQ statements. It can convert the most usable SQL ...

    DWGdirectX2.7.3

    It is suitable for small utility applications, rendering systems, file conversion, and many other tasks. Built on top of the DWGdirect C++ development environment, DWGdirectX puts stable, powerful, ...

    CH7034B Fulll Datasheet Rev1.25 CH7034B HDTV/VGA/LVDS Encoder

    CH7034B Fulll Datasheet Rev1.25 CH7034B HDTV/VGA/LVDS Encoder Supports multiple output display formats – including Component YPrPb(HDTV), LVDS and analog RGB (VGA) • Three 10-bit high speed DACs • ...

    oracle报错大全(珍藏版)

    #### ORA-00077: Conversion Not Supported 不支持的转换。这可能是由于数据类型不兼容或其他数据转换问题。 #### ORA-00078: Unable to Convert 无法转换。这可能是由于数据类型不兼容或其他数据转换问题。 #### ...

    dlpc3435.pdf

    • MIPI DSI Interface Type 3 (only supported with DLPC3430) – 1-4 lanes, up to 470 Mbps lane speed • Pixel Data Processing: – IntelliBright™ Suite of Image Processing Algorithms – Content ...

    intel integrated performance promitives for intel architecture

    This involves understanding how to properly align data and use the appropriate data types supported by the library. 3. **Integration with Existing Code**: Intel IPP can be integrated with existing ...

    eac3to V3.17

    * fixed: audio delay was incorrect when 1st m2ts part contained no audio data * fixed: very small WAV files were not detected correctly * fixed: "eac3to source.eac3 dest.dts -core" crashed v3.12 * ...

    Oracle错误一览表

    这通常发生在误删除回滚段后,解决方法是重新创建回滚段,并确保在执行事务前其可用。 #### ORA-00035: LICENSE_MAX_USERS less than current users 当当前用户的数量超过许可证允许的最大用户数时,会抛出此错误...

    acpi控制笔记本风扇转速

    Disassembly of raw data buffers with byte initialization data now prefixes each output line with the current buffer offset. Disassembly of ASF! table now includes all variable-length data fields at ...

    解决Python安装cryptography报错问题

    **解决方法:** 对于基于Debian的Linux发行版(如Ubuntu),可以使用以下命令来安装缺失的库: ```bash sudo apt-get install libffi-dev ``` 这将安装 `libffi` 的开发包,其中包括所需的头文件和静态库。 ####...

Global site tag (gtag.js) - Google Analytics