`
hsyd
  • 浏览: 175025 次
  • 性别: Icon_minigender_1
  • 来自: 淄博
社区版块
存档分类
最新评论

SQL state [null]; error code [17059]; 无法转换为内部表示

阅读更多
数据库里的字段类型与Java里映射该字段属性的类型不能对应转换,例如数据库里字段类型为Varchar2,而Java定义的类型为Long;或者数据库里为Number,而Java定义的对应属性类型为String等等。。。
分享到:
评论
1 楼 kevinhrw 2009-12-02  
不错,就是这个问题

相关推荐

    oracle错误一览表.txt

    oracle 错误一览表 oracle error-code

    Hibernate问题解决

    String hql = "FROM UserInfo u LEFT JOIN FETCH u.role r WHERE r.description = :roleDesc AND u.id IS NOT NULL"; Query query = session.createQuery(hql); query.setString("roleDesc", "role15"); List...

    微软内部资料-SQL性能优化3

    These updates do not constitute a consistent state. This property is often called serializability. For example, a second transaction traversing the doubly linked list mentioned above would see the ...

    db2 错误码 大全

    无法为NULL赋值 - **SQLCODE**: +33101 - **SQLSTATE**: 520 - **描述**: 试图为不允许为NULL的列赋NULL值。 ##### 20. 字符集转换错误 - **SQLCODE**: +33901 - **SQLSTATE**: 569 - **描述**: 在DB2版本2.2及...

    微软内部资料-SQL性能优化5

    In a nonclustered index, the leaf level contains each index key, plus a bookmark that tells SQL Server where to find the data row corresponding to the key in the index. A bookmark can take one of two ...

    jdbc连接oracle

    if (conn==null) { try { conn=DriverManager.getConnection(url,uname,passwd); } catch (SQLException e) { e.printStackTrace(); } } return conn; } public static void main(String[] args) { System...

    odbc c++ 连接数据库

    ODBC是一个中间层,它为应用程序提供了一个统一的API,使得开发者无需关心底层数据库的具体实现,如MySQL、SQL Server或Oracle。ODBC驱动程序管理器负责处理与特定数据库驱动程序的交互。 在C++中使用ODBC,你需要...

    mybatis 报空值异常

    SQL state [99999]; error code [17004]; 无效的列类型: 1111 ``` 这里的 `1111` 是一个 JDBC 类型的代码,这里表示的是未知或者非标准的类型。`JdbcType OTHER` 表示 MyBatis 使用了一个默认的 JDBC 类型来处理该...

    ASP.net面试的一份题目

    10. `string str = null`与`string str = ""`的区别:前者表示空引用,后者表示空字符串,长度为0。 11. 类与结构的异同:类是引用类型,结构是值类型;类支持继承和多态,结构不支持;类默认为public,结构默认为...

    ORACLE数据库API接口函数设计说明.pdf

    int get_error_code(); Cda_Def cda; connection *conn; enum cursor_state { not_opened, opened }; cursor_state state; }; ``` - **成员函数说明**: - `IsOpened`函数用于检查游标是否已打开。 - **...

    Delphi7.1 Update

    * TDataSetProvider generates incorrect SQL in response to a RefreshRecord request in some cases and fails to update all fields properly (Quality Central 4014). * When TDataSetProvider obtains the DB ...

    超级有影响力霸气的Java面试题大全文档

    对象引用实例变量的缺省值为 null,而原始类型实例变量的缺省值与它们的类型有关。 7、String 和StringBuffer的区别  JAVA平台提供了两个类:String和StringBuffer,它们可以储存和操作字符串,即包含多个字符的...

    最全的oracle常用命令大全.txt

    ERROR: ORA-01035: ORACLE 只允许具有 RESTRICTED SESSION 权限的用户使用 6、startup force 强制启动方式 当不能关闭数据库时,可以用startup force来完成数据库的关闭 先关闭数据库,再执行正常启动数据库命令 ...

    arcgis工具

    可以使用NULL关键字来选择那些在指定字段中值为NULL的要素和记录。通常,NULL关键字的前面总有IS或IS NOT。 29.Select by location小结 按位置查找要素的方法 使用按位置选择(Select By Location) 对话框,...

    BobBuilder_app

    You can switch to the SortedDictionary in the code at any time if you wish and it makes no difference to the overall code other than you can remove the sorting in the page splits. I also tried an ...

    ZendFramework中文文档

    9.2.1. 内部(Internals) 9.3. Basic Methods 9.3.1. The current date 9.3.2. Zend_Date by Example 9.3.2.1. Ouput a Date 9.3.2.2. Setting a Date 9.3.2.3. Adding and Subtracting Dates 9.3.2.4. ...

Global site tag (gtag.js) - Google Analytics