Oracle Error Message
ORA-08002: sequence string.CURRVAL is not yet defined in this session
Reason for the Error
sequence CURRVAL has been selected before sequence NEXTVAL
Solution
select NEXTVAL from the sequence before selecting CURRVAL
ORA-08002: sequence string.CURRVAL is not yet defined in this session
sequence CURRVAL has been selected before sequence NEXTVAL
select NEXTVAL from the sequence before selecting CURRVAL