Code: Select all
SQL> desc cec.messagesservice;
Name Null? Type
----------------------------------------- -------- ----------------------------
DTMESS NOT NULL TIMESTAMP(6)
PRIORITY NOT NULL NUMBER(1)
MESSAGE NOT NULL CLOB
ID NOT NULL NUMBER(20)
STATUS VARCHAR2(20)
Code: Select all
select a.rowid, a.* from cec.messagesservice a ORDER BY priority,ID
There is a Before insert trigger on this table to initialize the id:
Code: Select all
BEGIN
if :new.id is null then
SELECT CEC.SEQMessagesService.NEXTVAL INTO :new.id FROM DUAL;
end if;
END ;In bcb 6, this program worked fine (with an older version of odac)
In bcb2009, using odac 6.80.0.48, when opening form, display works, but clicking on '+' button in navigator to add a record shows the following exception (before typing any value!):
Project Model.exe raised exception class EOraError with message 'ORA-22275: l'indicateur de localisation LOB indiqué n'est pas valide'.
(ORA-22275: invalid LOB locator specified).