Hi,
I have the following problem with my ADF application developed in JDeveloper 12.1.3:
In my model there are two Entities MeterEO and MeterTypeEO with the following attributes:
MeterEO
| TenantId | BigDecimal | TENANT_ID | NUMBER | |
| MeterCode | String | METER_CODE | VARCHAR2(48) | |
| Type | Integer | TYPE | NUMBER | |
MeterTypeEO
| Id | DBSequence | ID | NUMBER | |
| Vendor | String | VENDOR | VARCHAR2(32) | |
| Type | String | TYPE | VARCHAR2(16) | |
Type in MeterEO references Id in MeterTypeEO.
Appropriate VO from Meter uses a LOV from MeterTypeVO to build a list containing Vendor and Type as selection for the user.
In the ModelTester everything works fine when I try to edit a Meter and select a new type and commit my changes to the database.
On a JSFF it looks quite different. Selection is done by SelectOneChoice with the LOV displaying the List containing of Vendor and Type. From the LOV the appropriate Values are selected for the Type (integer) in Meter, so the User gets a readable text instead a cryptic number. But when I change the value by selecting a new one from the Choice I always get the error "Cannot oracle.jbo.domain.DBSequence to class java.lang.Integer".
Why does it work without problems in the Modeltester but not on the page?


Please see attached screenshots to get it more clear what I mean.
Any hint is appreciated,
Björn