View arch question
336358Apr 23 2004 — edited May 12 2004I have the following TAR opened : 3673650.994
1. Execute View view1
2. Execute View view2
3. view1.createRow();
4. Print the content of view2;
The following error occurs:
oracle.jbo.AttrValException: JBO-27014: Attribute Deptno in Dept is required
Why does this happen? I thought the row would only be accessible when
1. the rows primary/mandatory attributes have been populated and
2. the row was inserted into a rowset. view/rowset.insertRow().
oracle.jbo.AttrValException: JBO-27014: Attribute Deptno in Dept is required
at
oracle.jbo.server.JboMandatoryAttributesValidator.validate(JboMandatoryAttribute
sValidator.java:87)
at oracle.jbo.server.EntityDefImpl.validate(EntityDefImpl.java:2009)
at oracle.jbo.server.EntityImpl.validateEntity(EntityImpl.java:1305)
at oracle.jbo.server.EntityImpl.validate(EntityImpl.java:1493)
at oracle.jbo.server.DBTransactionImpl.validate(DBTransactionImpl.java:3855)
at
oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1819)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2046)
at mypackage17.Class1.doTest(Class1.java:29)
at mypackage17.Class1.main(Class1.java:20)
Exception in thread "main" Process exited with exit code 1.