<HTML dir=ltr><HEAD><TITLE>[Seasar-user:13029] Re: [S2JDBC]Exception$B;~$N%H%i%s%6%/%7%g%s=hM}(B</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.3268" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText72218 dir=ltr>
<DIV dir=ltr><FONT face="$B#M#S(B $B#P%4%7%C%/(B" color=#000000 size=2>$BJR2,$G$9!#(B</FONT></DIV>
<DIV dir=ltr><FONT face="$B#M#S(B $B#P%4%7%C%/(B" size=2></FONT> </DIV>
<DIV dir=ltr><FONT size=2>>PostgreSQL $B$G$O$=$&$$$&$3$H$O$G$-$J$$$h$&$G$9$M!%(B<BR>>$B0l0U@)Ls0cH?$K$J$C$?;~E@$G%H%i%s%6%/%7%g%s$,(B<BR>>$B%"%\!<%H$5$l$F$7$^$&$h$&$J$N$G!$$^$:$O(B update $B$7$F!$(B<BR>>$B$=$N7k2L$,(B 0 $B7o$@$C$?$i(B insert $B$9$k$h$&$K$7$J$$$H(B<BR>>$B$$$1$J$$$i$7$$!%(B<BR>>int count = jdbcManager.update(employee).execute();<BR>>if (count == 0) {<BR>> jdbcManager.insert(employee).execute();<BR>>}</FONT></DIV><FONT size=2></FONT></DIV>
<P><FONT size=2>$B$J$k$[$I!#$"$j$,$H$&$4$6$$$^$7$?!#(B<BR>$B6/0z$J<BAu$K$J$C$F$7$^$&$H$3$m$G$7$?!#=u$+$j$^$7$?!#(B</FONT><BR></P>
<P>
<HR tabIndex=-1>
</P>
<P><FONT face="MS UI Gothic" size=2><B>From:</B> seasar-user-bounces@ml.seasar.org $BBeM}(B Koichi Kobayashi<BR><B>Sent:</B> 2008/02/24 ($BF|(B) 8:00<BR><B>To:</B> seasar-user@ml.seasar.org<BR><B>Subject:</B> [Seasar-user:13029] Re: [S2JDBC]Exception$B;~$N%H%i%s%6%/%7%g%s=hM}(B<BR></FONT><BR></P>
<DIV>
<P><FONT size=2>$B>.NS(B (koichik) $B$G$9!%(B<BR><BR>Date: Sat, 23 Feb 2008 10:17:50 +0900<BR>From: <ayumu@r.recruit.co.jp><BR>To: <seasar-user@ml.seasar.org><BR>Subject: [Seasar-user:13020] [S2JDBC]Exception$B;~$N%H%i%s%6%/%7%g%s=hM}(B<BR><BR>> $B$"$k%F!<%V%k$K(Binsert$B$7$F!"0l0U@)Ls%(%i!<$@$C$?$i!"(Bupdate$B$9$k$H(B<BR>> $B$$$&$h$&$J=hM}$r9M$($F$$$^$9(B(DB$B$O(BpostgreSQL$B$rMxMQ(B)$B!#(B<BR><BR>PostgreSQL $B$G$O$=$&$$$&$3$H$O$G$-$J$$$h$&$G$9$M!%(B<BR>$B0l0U@)Ls0cH?$K$J$C$?;~E@$G%H%i%s%6%/%7%g%s$,(B<BR>$B%"%\!<%H$5$l$F$7$^$&$h$&$J$N$G!$$^$:$O(B update $B$7$F!$(B<BR>$B$=$N7k2L$,(B 0 $B7o$@$C$?$i(B insert $B$9$k$h$&$K$7$J$$$H(B<BR>$B$$$1$J$$$i$7$$!%(B<BR><BR>int count = jdbcManager.update(employee).execute();<BR>if (count == 0) {<BR> jdbcManager.insert(employee).execute();<BR>}<BR><BR>> $B!Z$&$^$/$$$C$?$h$&$K$_$($k%1!<%9![(B<BR>($BN,(B)<BR>>
$B!Z<ALd![(B<BR>> $B$3$l$GI=LL>e!"$&$^$/F0:n$7$?$h$&$K8+$($F$O$$$k$N$G$9$,!"$3$N<BAuJ}K!$G(B<BR>> $B@5$7$$$b$N$G$7$g$&$+(B<BR><BR>$B$3$l$@$H99?7$@$1$,FHN)$7$?%H%i%s%6%/%7%g%s$K(B<BR>$B$J$C$F$7$^$&$N$G!$JL$N=hM}$GLdBj$,$"$C$?$H$-$K(B<BR>$BA4BN$H$7$F%m!<%k%P%C%/$G$-$J$/$J$j$^$9!%(B<BR><BR><BR>--<BR><component name="koichik"><BR> <property name="fullName">"Koichi Kobayashi"</property><BR> <property name="email">"koichik@improvement.jp"</property><BR> <property name="blog">"<A href="http://d.hatena.ne.jp/koichik">http://d.hatena.ne.jp/koichik</A>"</property><BR></component><BR><BR>_______________________________________________<BR>Seasar-user mailing list<BR>Seasar-user@ml.seasar.org<BR><A href="https://ml.seasar.org/mailman/listinfo/seasar-user">https://ml.seasar.org/mailman/listinfo/seasar-user</A><BR></FONT></P></DIV></BODY></HTML>