title: Oracle:sequence SEQ_BOARD.CURRVAL is not yet defined in this session
body: <p>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.</p>
  
  <pre><code>&lt;insert id="insert"&gt;
  
      insert into board (bno,title,content,writer) values
  
      ( seq_board.nextval, #{title}, #{content}, #{writer} )
  
  &lt;/insert&gt;
  
  &lt;insert id="addAttach"&gt;
  
      insert into attach (fullName, bno) values 
  
      ( #{fullName}, seq_board.currval )
  
  &lt;/insert&gt;
  </code></pre>
  
  <p>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.</p>
  
  <p>If i click Backspace, I see the board and the file is not uploaded.</p>