I ve found in Oracle log strange thing (I hope that I properly understand log), Hibernate prepare statment does not work because is interapted by Select hibernate_sequence.nextval from dual. Am I right?
PARSING IN CURSOR #2 len=43 dep=0 uid=21 oct=3 lid=21 tim=1072462779309174 hv=2476267719 ad='
1761118'
select hibernate_sequence.nextval from dual
END OF STMT
PARSE #2:c=0,e=80,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=4,tim=1072462779309166
EXEC #2:c=0,e=55,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=4,tim=1072462779309341
FETCH #2:c=0,e=141,p=0,cr=3,cu=0,mis=0,r=1,dep=0,og=4,tim=1072462779310949
STAT #2 id=1 cnt=1 pid=0 pos=1 obj=0 op='SEQUENCE '
STAT #2 id=2 cnt=1 pid=1 pos=1 obj=222 op='TABLE ACCESS FULL DUAL '
=====================
PARSING IN CURSOR #2 len=126 dep=0 uid=21 oct=2 lid=21 tim=1072462779314861 hv=3931213320 ad=
'1737688'
insert into EXCHANGE_RATE (CODE, VALID_FROM, VALID_TILL, EXCHANGE_RATE, NEW, EXCHANGE_RATE_ID
) values (:1, :2, :3, :4, :5, :6)
END OF STMT
PARSE #2:c=0,e=68,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=4,tim=1072462779314853
EXEC #2:c=0,e=200,p=0,cr=1,cu=5,mis=0,r=1,dep=0,og=4,tim=1072462779315190
=====================
PARSING IN CURSOR #2 len=43 dep=0 uid=21 oct=3 lid=21 tim=1072462779318905 hv=2476267719 ad='
1761118'
select hibernate_sequence.nextval from dual
END OF STMT
PARSE #2:c=0,e=71,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=4,tim=1072462779318898
EXEC #2:c=0,e=51,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=4,tim=1072462779319068
FETCH #2:c=0,e=93,p=0,cr=3,cu=0,mis=0,r=1,dep=0,og=4,tim=1072462779320638
STAT #2 id=1 cnt=1 pid=0 pos=1 obj=0 op='SEQUENCE '
STAT #2 id=2 cnt=1 pid=1 pos=1 obj=222 op='TABLE ACCESS FULL DUAL '
=====================
PARSING IN CURSOR #2 len=126 dep=0 uid=21 oct=2 lid=21 tim=1072462779323941 hv=3931213320 ad=
'1737688'
insert into EXCHANGE_RATE (CODE, VALID_FROM, VALID_TILL, EXCHANGE_RATE, NEW, EXCHANGE_RATE_ID
) values (:1, :2, :3, :4, :5, :6)
END OF STMT
PARSE #2:c=0,e=67,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=4,tim=1072462779323933
EXEC #2:c=0,e=238,p=0,cr=1,cu=5,mis=0,r=1,dep=0,og=4,tim=1072462779324309
|