mybatis报错:ORA-00911: invalid characte

使用mybatis作为数据库映射层,SQL语句在PL/SQL下运行完全无误,但是写在mapper.xml中进行测试,一直报错。

java.sql.SQLException: ORA-00911: invalid character

搞得我也是很郁闷。后来百度了下,发现,原来是mapper.xml中最后面多了一个分号。唉。。。

时间: 2024-08-02 05:23:22

mybatis报错:ORA-00911: invalid characte的相关文章

mybatis报错Mapped Statements collection does not contain value for com.inter.IOper

首页 > 精品文库 > mybatis报错Mapped Statements collection does not contain value for com.inter.IOper mybatis报错Mapped Statements collection does not contain value for com.inter.IOper 2015-04-09 浏览(52) [摘要:正在顺序挪用IOperation接心中的getAllItems方式时,涌现了以下毛病: Exception

expdp报错ora 39126

11.2.0.2,expdp报错: ORA-39126: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS []ORA-31642: the following SQL statement fails:BEGIN "SYS"."DBMS_CUBE_EXP".SCHEMA_CALLOUT(:1,0,1,'11.02.00.00.00'); END;ORA-06512: at &quo

Mybatis报错:Parameter 'list' not found. Available parameters are [groupList, param1]

GroupDao.java 里面定义的方法: void batchInsertLog(@Param("groupList") List<MktPromotionIntegralLog> groupList); 修改前的GroupMapper.xml <insert id="batchInsertLog" parameterType="java.util.List"> INSERT INTO table (ps_id,goo

Mybatis 报错 There is no getter for property named &#39;***&#39; in &#39;class java.lang.String&#39;

在mapper.xml中 , 如果单参数是String类型 , 且在sql语句中对参数进行了判断 , 如下 when 中的判断 , 如果出现 if 判断也是一样的.都需要把判断中的参数用 _parameter 来代替 ,. 另外orcal中判断字段是否为空需要使用 is null , 同理,判断不为空使用 is not null . 错误查询: <select id = "select" resultMap="ResultMap" parameterType=

GG同步到sqlserver报错一例 Invalid date format

在将Oracle表同步到sqlserver时,在sqlserver端应用数据时,可能会遇到这个报错. 2014-05-17 17:20:24 WARNING OGG-01154 SQL error -2147217887 mapping APPLSYS.FND_FLEX_VALIDATION_RULES to dbo.FND_FLEX_VALIDATION_RULES [SQL error -2147217887 (0x80040e21)] Parameter #: 12 Data Type:

发布报错:Error ITMS-90635 - Invalid Mach-O in bundle - submitting to App store

发布报错:Error ITMS-90635 - Invalid Mach-O in bundle - submitting to App store 昨晚上传项目到AppStore,报了这个错,纳尼!?我早上还能成功上传的,当时判断是晚上网速问题导致的,早上再次试了下,还是一样报错,因为CocoPods导入的框架bitCode不一致导致的,解决方案是在Podfile后面加上 post_install do |installer| installer.pods_project.targets.ea

github添加ssh key报错Key is invalid. Ensure you&#39;ve copied the file correctly

github添加ssh key的时候报错:Key is invalid. Ensure you've copied the file correctly 将秘钥复制粘贴到文本编辑器中,再粘贴复制到 github添加ssh key报错Key is invalid. Ensure you've copied the file correctly

Mysql 报错:#1067 - Invalid default value for &#39;update_time

由于 字段UPDATE_TIME 的字段类型是 timestamp ,默认值是:'0000-00-00 00:00:00' 即:`UPDATE_TIME` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT '更新时间'; 在对这个表进行创建的时候,提示: #1067 - Invalid default value for 'update_time 原因: timestamp有效时间在:1970-01-01 00:00:00 到 20

mybatis报错:A query was run and no Result Maps were found for the Mapped Statement、、Property [login_ip] not found on type [com.thinkgem.jeesite.common.permission.entity.PremissUser]问题解决

今天在做ssm项目的时候出现了: 先是出现 了错误: mybatis报错:A query was run and no Result Maps were found for the Mapped Statement 这是因为Dao.xml中的select标签中必须指定要返回的值的类型(注意:是返回值的单个类型,即如果你是返回一个List<User>的话,需要指定的是User) 具体的这种错误的解决办法见:https://www.cnblogs.com/isme-zjh/p/11757155.h