<br><font size=2 face="sans-serif">$B$R$,MM!#(B</font>
<br>
<br><font size=2 face="sans-serif">customizer.dicon$B%U%!%$%k$r3NG'$7$?$H$3$m!"0J2<$N2U=j$r8m$C$F%3%a%s%H%"%&%H$7$F$$$^$7$?!#(B</font>
<br>
<br><font size=2 face="sans-serif"> <initMethod name="addCustomizer"></font>
<br><font size=2 face="sans-serif"> <arg></font>
<br><font size=2 face="sans-serif"> <component
class="org.seasar.framework.container.customizer.AspectCustomizer"></font>
<br><font size=2 face="sans-serif"> <initMethod
name="addInterceptorName"></font>
<br><font size=2 face="sans-serif">
<arg>"j2ee.requiredTx"</arg></font>
<br><font size=2 face="sans-serif"> </initMethod></font>
<br><font size=2 face="sans-serif"> <property
name="pointcut">"do.*, initialize, prerender"</property></font>
<br><font size=2 face="sans-serif"> </component></font>
<br><font size=2 face="sans-serif"> </arg></font>
<br><font size=2 face="sans-serif"> </initMethod></font>
<br>
<br><font size=2 face="sans-serif">$B%3%a%s%H%"%&%H$r:o=|$7$?$H$3$m!"(Bautocommit$B$O(Boff$B$K$J$j$^$7$?!#(B</font>
<br>
<br><font size=2 face="sans-serif">$B2sEz$"$j$,$H$&$4$6$$$^$7$?!#(B</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>YASUO HIGA <higa@isid.co.jp></b>
</font>
<br><font size=1 face="sans-serif">$BAw?.<T(B: seasar-user-bounces@ml.seasar.org</font>
<p><font size=1 face="sans-serif">2012/11/06 13:39</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">$BJV?.$N:]$K$O(Bseasar-user@ml.seasar.org
$B$X(B<br>
$BJV?.$7$F$/$@$5$$(B</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">$B08@h(B</font></div>
<td><font size=1 face="sans-serif">"seasar-user@ml.seasar.org"
<seasar-user@ml.seasar.org></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">$B7oL>(B</font></div>
<td><font size=1 face="sans-serif">[Seasar-user:21492] Re:
jdbc.dicon$B$K$*$1$k(BPostgreSQL$B$N(BautoCommit$B@_Dj$K$D$$$F(B</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2 face="sans-serif">$B$R$,$G$9!#(B </font>
<br>
<br><font size=2 face="sans-serif">$B%H%i%s%6%/%7%g%s$HO"F0$7$F$$$l$P!"<+F0$G(Bautocommit$B$O(Boff$B$K$J$k$O$:$J$N$G!"(B</font>
<br><font size=2 face="sans-serif">$B$^$:$O!"%H%i%s%6%/%7%g%s$N@_Dj$r8+D>$7$F$_$F$/$@$5$$!#(B</font>
<br>
<hr>
<br><font size=2 face="Tahoma"><b>$B:9=P?M(B:</b> seasar-user-bounces@ml.seasar.org
[seasar-user-bounces@ml.seasar.org] $B$,<!$N?M$NBeM}$GAw?.$7$^$7$?(B:
saraki@pacific-systems.co.jp [saraki@pacific-systems.co.jp]<b><br>
$BAw?.F|;~(B:</b> 2012$BG/(B11$B7n(B6$BF|(B 11:45<b><br>
$B08@h(B:</b> seasar-user@ml.seasar.org<b><br>
$B7oL>(B:</b> [Seasar-user:21491] jdbc.dicon$B$K$*$1$k(BPostgreSQL$B$N(BautoCommit$B@_Dj$K$D$$$F(B</font><font size=3 face="Roman"><br>
</font>
<br><font size=2 face="sans-serif"><br>
$B$O$8$a$^$7$F!#9SLZ$H?=$7$^$9!#(B</font><font size=3 face="Roman">
<br>
</font><font size=2 face="sans-serif"><br>
PostgreSQL + S2Dao + Teeda$B$N3+H/$r$7$F$$$^$9!#(B</font><font size=3 face="Roman">
<br>
</font><font size=2 face="sans-serif"><br>
$BF0:n4D6-(B</font><font size=3 face="Roman"> </font><font size=2 face="sans-serif"><br>
jdk1.6.0_34</font><font size=3 face="Roman"> </font><font size=2 face="sans-serif"><br>
tomcat-6.0.35</font><font size=3 face="Roman"> </font><font size=2 face="sans-serif"><br>
eclipse3.4.2</font><font size=3 face="Roman"> </font><font size=2 face="sans-serif"><br>
Teeda 1.0.12</font><font size=3 face="Roman"> </font><font size=2 face="sans-serif"><br>
S2Dao 1.0.47</font><font size=3 face="Roman"> </font><font size=2 face="sans-serif"><br>
PostgreSQL 9.1.5</font><font size=3 face="Roman"> <br>
</font><font size=2 face="sans-serif"><br>
jdbc.dicon$B$G0J2<$NDL$j(BautoCommit$B$rL58z$K$7$F$$$k$N$G$9$,!"(Bupdate$BJ8$J$I$,<B9T$5$l$F$b<+F0E*$K%3%_%C%H$5$l$F$7$^$$$^$9!#(B</font><font size=3 face="Roman">
<br>
</font><font size=2 face="sans-serif"><br>
<component name="xaDataSource"</font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
class="org.seasar.extension.dbcp.impl.XADataSourceImpl"></font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
<property name="driverClassName"></font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
"org.postgresql.Driver"</font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
</property></font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
<property name="URL"></font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
"jdbc:postgresql://PORTAL_IFRS_IT_DB/test"</font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
</property></font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
<property name="user">"test"</property></font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
<property name="password">"test"</property></font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
<initMethod
name="addProperty"></font><font size=3 face="Roman"> </font><font size=2 face="sans-serif"><br>
<arg>"autoCommit"</arg></font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
<arg>"false"</arg></font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
</initMethod></font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
</component></font><font size=3 face="Roman">
<br>
</font><font size=2 face="sans-serif"><br>
jdbc.dicon$B$G(BautoCommit$B$rL58z$K$9$k$K$O$I$&$7$?$i$h$$$N$G$7$g$&$+!#(B</font><font size=3 face="Roman">
<br>
</font><font size=2 face="sans-serif"><br>
$B$J$*!"(BS2Dao+jdbc.dicon$B$G$O$J$/!"0J2<$NDL$j(BsetAutoCommit$B%a%=%C%I$rL@<(E*$K5-=R$9$k$H(BautoCommit$B$,L58z$K$J$j$^$7$?!#(B</font><font size=3 face="Roman">
<br>
</font><font size=2 face="sans-serif"><br>
try {</font><font size=3 face="Roman"> </font><font size=2 face="sans-serif"><br>
// JDBC$B%I%i%$%P$NEPO?(B</font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
String driver = "org.postgresql.Driver";</font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
// $B%G!<%?%Y!<%9$N;XDj(B</font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
String url = "jdbc:postgresql://PORTAL_IFRS_IT_DB/test";</font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
String user = "test";
//$B%G!<%?%Y!<%9:n@.%f!<%6L>(B</font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
String password = "test";
//$B%G!<%?%Y!<%9:n@.%f!<%6%Q%9%o!<%I(B</font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
Class.forName (driver);</font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
// $B%G!<%?%Y!<%9$H$N@\B3(B</font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
Connection con = DriverManager.getConnection(url,
user, password);</font><font size=3 face="Roman"> </font><font size=2 face="sans-serif"><br>
con.setAutoCommit (false);</font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
Statement stmt = con.createStatement
();</font><font size=3 face="Roman"> </font><font size=2 face="sans-serif"><br>
String sql = "UPDATE m_kanri_kengen
SET update_dt = now() WHERE kanri_kengen_cd = 'G110'";</font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
stmt.executeUpdate(sql);</font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
stmt.close();</font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
con.close();</font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
} catch (SQLException e) {</font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
System.err.println("SQL
failed.");</font><font size=3 face="Roman"> </font><font size=2 face="sans-serif"><br>
e.printStackTrace ();</font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
} catch (ClassNotFoundException ex) {</font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
ex.printStackTrace ();</font><font size=3 face="Roman">
</font><font size=2 face="sans-serif"><br>
}</font><font size=3 face="Roman"> <br>
</font><font size=2 face="sans-serif"><br>
$B0J>e!"59$7$/$*4j$$CW$7$^$9!#(B</font><tt><font size=2>_______________________________________________<br>
Seasar-user mailing list<br>
Seasar-user@ml.seasar.org<br>
</font></tt><a href="https://ml.seasar.org/mailman/listinfo/seasar-user"><tt><font size=2>https://ml.seasar.org/mailman/listinfo/seasar-user<br>
</font></tt></a>
<br>