728x90
<insert id="inserDevcie" parameterClass="device">
<selectKey resultClass="int" keyProperty="device_seq">
SELECT
sq_device_seq.nextval AS device_seq FROM DUAL
</selectKey>
INSERT INTO
tble(device_seq,블라블라블라~~)
VALUES(#device_seq#,블라블라블라~~)
</insert>
요놈 은근 유용한데 말이지..
보면 알듯....ㅎ;
728x90