摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"xmlns:aop="http://www.spr 阅读全文
posted @ 2012-08-03 15:33 紫韵轩 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 如果出现如下错误,则可能是Hibernate SQL方言 (hibernate.dialect)设置不正确。Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]'last_insert_id' 不是可以识别的函数名。RDBMS方言DB2org.hibernate.dialect.DB2DialectDB2 AS/400org.hibernate.dialect.DB2400DialectDB2 OS390org.hibernate.dialect.DB23 阅读全文
posted @ 2012-08-03 09:20 紫韵轩 阅读(340) 评论(0) 推荐(0) 编辑
摘要: Oracle游标大全SELECT诧句用亍从数据库中查询数据,当在PL/SQL中使用SELECT诧句时,要不INTO子句一起使用,查询的迒回值被赋予INTO子句中的变量,变量的声明是在DELCARE中。SELECT INTO诧法如下:SELECT [DISTICT|ALL]{*|column[,column,...]}INTO (variable[,variable,...] |record)FROM {table|(sub-query)}[alias]WHERE............PL/SQL中SELECT诧句叧迒回一行数据。如果超过一行数据,那举就要使用显式游标(对游标的讨论我们将在后面 阅读全文
posted @ 2012-05-26 01:26 紫韵轩 阅读(280) 评论(0) 推荐(0) 编辑