I have an error in my development with java,oracle but I have not been able to solve it for hours. This is a query code.
<insert id="insert">
insert into board (bno,title,content,writer) values
( seq_board.nextval, #{title}, #{content}, #{writer} )
</insert>
<insert id="addAttach">
insert into attach (fullName, bno) values
( #{fullName}, seq_board.currval )
</insert>
In the board table, the data is stored well. If i write a file with a file attached to the board, a 500 error page appears.
If i click Backspace, I see the board and the file is not uploaded.