You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Vinaya Tirikkovalluru <vi...@converge.com> on 2008/06/19 18:23:26 UTC

Problems inserting into a oject view

Hi,

 

I have a situation where I need to insert data into an Object view.

I am getting the following error ...

Caused by: com.ibatis.sqlmap.client.SqlMapException: There is no
statement named NECXADM_SUPPLY_OBJVW.abatorgenerated_insert in this
SqlMap.

      at
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.getMappedStatement(
SqlMapExecutorDelegate.java:293)

      at
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.insert(SqlMapExecut
orDelegate.java:429)

      at
com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.insert(SqlMapSessionImpl
.java:82)

      at
org.springframework.orm.ibatis.SqlMapClientTemplate$9.doInSqlMapClient(S
qlMapClientTemplate.java:399)

      at
org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClient
Template.java:209)

      at
org.springframework.orm.ibatis.SqlMapClientTemplate.insert(SqlMapClientT
emplate.java:397)

      at
com.converge.trade.persistent.model.supply.objview.supplyobjvw.SupplyObj
vwDAOImpl.insertSupplyObjvw(SupplyObjvwDAOImpl.java:25)

      at
com.converge.trade.persistent.model.supply.SupplyServiceImpl.insertSuppl
y(SupplyServiceImpl.java:83)

 

I have the NECXADM_SUPPLY_OBJVW.xml file in the SqlMapConfig.xml

 

My (SupplyObjvwDAOImpl.java:25) is 

 

    public void insertSupplyObjvw(SupplyObjvw record) {

 
getSqlMapClientTemplate().insert("NECXADM_SUPPLY_OBJVW.abatorgenerated_i
nsert", record);

    }

 

Please advice

 

Thanks

Vinaya



This electronic message is intended only for the use of the individual(s) or entity(ies) named above and may contain information which is privileged and/or confidential.  If you are not the intended recipient, be aware that any disclosure, copying, distribution, dissemination or use of the contents of this message is prohibited.  If you received this message in error, please notify the sender immediately.