ibator

    0热度

    5回答

    我有一个sqlMapConfig.xml,它有三个SQLMaps定义在它。 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE sqlMapConfig PUBLIC "-//ibatis.apache.org//DTD SQL Map Config 2.0//EN" "http://ibatis.apache.org/d

    1热度

    1回答

    Firebird数据库支持只读列。计算其值的列,未更新。如果我使用MyBatis Generator将某些表映射为只读列,则在插入或更新表时,我会收到以下错误: org.firebirdsql.jdbc.FBSQLException: GDS Exception. 335544359. attempted update of read-only column。 如何使用MyBatis Genera

    0热度

    4回答

    我想用几个条件执行一个SELECT,使用Ibator生成的Example类。 如上所述here in the usage notes,它很容易使用criteria.andFieldIsSomething()和example.or(example)组成一个WHERE条款与多个OR和AND运营商。 我可以这样写: example.createCriteria().andIntegerIsEqualTo

    0热度

    1回答

    我是iBatis的新手。在我的项目中,我们使用iBatis将Oracle对象保存在Oracle DB中。我有一个ClassA类,它有3列:id,名称和说明。数据将保存在TableA中。 DB中有一个序列来生成此表中id列的值。我们向这个表格写入了如下的插入语句, <insert id="insertTableA" parameterClass="com.ClassA"> <selectK

    3热度

    2回答

    我正在尝试使用iBatis插入一些用户在联系我们窗体中发送的数据。 我正在使用Liferay/Spring MVC/iBatis/MySQL设置,但我认为问题是由iBatis配置引起的。每当我尝试插入数据我看到一个异常的日志: com.ibatis.sqlmap.client.SqlMapException: There is no statement named contactus.ibator