Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JBO-26018 Entity xx cannot be posted since it has not attribute set

629225Dec 2 2010 — edited Dec 7 2010
I have one simple entity object with 2 columns, created a viewobject based on that

Dragging and Dropping as a af:table on a jspx

Now, I am addding a row using createInsert

I do not touch anything in the row and execute "Commit" opeationbinding, I get this
oracle.jbo.InvalidOperException: JBO-26018: Entity XXXX cannot be posted to the database because it has no attributes set.
	at oracle.jbo.server.OracleSQLBuilderImpl.buildInsertStatement(OracleSQLBuilderImpl.java:2536)
	at oracle.jbo.server.EntityImpl.buildDMLStatement(EntityImpl.java:9908)
	at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:371)
	at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:7990)
	at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6319)
	at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3168)
	at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2976)
	at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2014)
	at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java)
how to fix this?

Thanks,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 4 2011
Added on Dec 2 2010
5 comments
1,317 views