{"id":294,"date":"2011-05-19T23:41:32","date_gmt":"2011-05-19T14:41:32","guid":{"rendered":"http:\/\/www.typea.info\/blog\/index.php\/2011\/05\/19\/springsource_tool_suite_spring_mvc_spring_jdbc\/"},"modified":"2011-05-19T23:41:32","modified_gmt":"2011-05-19T14:41:32","slug":"springsource_tool_suite_spring_mvc_spring_jdbc","status":"publish","type":"post","link":"https:\/\/www.typea.info\/blog\/index.php\/2011\/05\/19\/springsource_tool_suite_spring_mvc_spring_jdbc\/","title":{"rendered":"SpringSource Tool Suite \u3067 Spring MVC \u304b\u3089 Spring JDBC\u3092\u5229\u7528\u3057\u305f\u30b3\u30fc\u30c9\u3092\u66f8\u304f"},"content":{"rendered":"<p><iframe style=\"width: 120px; height: 240px\" marginheight=\"0\" src=\"http:\/\/rcm-jp.amazon.co.jp\/e\/cm?lt1=_blank&amp;bc1=FFFFFF&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=typea09-22&amp;o=9&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=ss_til&amp;asins=4797358114\" frameborder=\"0\" marginwidth=\"0\" scrolling=\"no\"><\/iframe>  <\/p>\n<p>&#160;<\/p>\n<p>\u57fa\u672c\u7684\u306b\u3001\u4e0a\u8a18\u306e\u672c\u3092\u53c2\u8003\u306b\u3057\u3064\u3064\u3002<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/index.php\/2011\/05\/16\/springsource_tool_suitests\">SpringSource Tool Suite(STS) \u306e\u5c0e\u5165\uff5e\u7c21\u5358\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u4f5c\u6210<\/a> \u3067\u4f5c\u6210\u3057\u305f\u3001Spring MVC \u306e\u30b9\u30b1\u30eb\u30c8\u30f3\u30a2\u30d7\u30ea\u306b\u3001Spring JDBC \u3092\u5229\u7528\u3057\u305f\u30b3\u30fc\u30c9\u3092\u7d44\u307f\u8fbc\u3093\u3067\u307f\u308b\u3002<\/p>\n<p>Java \u6a19\u6e96\u306e JDBC \u3092\u305d\u306e\u307e\u307e\u4f7f\u3046\u3068\u3001\u4ee5\u4e0b\u306e\u69d8\u306a\u70b9\u304c\u554f\u984c\u306b\u306a\u308b\u3002<\/p>\n<ul>\n<li>Connection,Statement,ResultSet \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u7ba1\u7406\u306a\u3069\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u304c\u5927\u5909\u3002 <\/li>\n<li>\u3059\u3079\u3066\u306e\u4f8b\u5916\u304cSQLException\u3067\u3042\u308b\u305f\u3081\u3001\u4f8b\u5916\u51e6\u7406\u304c\u7169\u96d1\u3002 <\/li>\n<li>Connection \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u53d6\u5f97\u306e\u4ed5\u65b9\u304c\u3044\u308d\u3044\u308d\u3042\u308a\u3001\u74b0\u5883\u306b\u3088\u308a\u8a18\u8ff0\u304c\u5909\u308f\u308b\u3002 <\/li>\n<\/ul>\n<p>Spring JDBC\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3001<\/p>\n<ul>\n<li>Connection \u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u7ba1\u7406\u3092\u884c\u3063\u3066\u304f\u308c\u308b\u3002 <\/li>\n<li>SQLException \u3067\u306f\u306a\u304f\u3001\u6c4e\u7528\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30a2\u30af\u30bb\u30b9\u4f8b\u5916\u304c\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001SQLState\u3092\u8abf\u3079\u305a\u306b\u3001\u4f8b\u5916\u306e\u578b\u306b\u3088\u308b\u51e6\u7406\u304c\u53ef\u80fd\u3002 <\/li>\n<li>Connection \u306e\u53d6\u5f97\u306f\u3001DI\u306b\u3088\u308a\u4e00\u8cab\u3057\u305f\u53d6\u5f97\u65b9\u6cd5\u304c\u63d0\u4f9b\u3055\u308c\u308b\u3002 <\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308b\u3002<\/p>\n<h2>Spring JDBC \u3078\u306e\u53c2\u7167\u8a2d\u5b9a<\/h2>\n<p>Spring Template Project \uff0d Spring MVC Project \u3092\u4f5c\u6210\u3059\u308b\u3068\u3001Spring JDBC \u3078\u306e\u53c2\u7167\u8a2d\u5b9a\u306f\u306a\u3055\u308c\u3066\u3044\u306a\u3044\u3002<\/p>\n<p><a href=\"http:\/\/legacy.techscore.com\/tech\/ApacheJakarta\/Maven\/1.html\">Maven<\/a> \u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3001pom.xml \u306e dependencies \u8981\u7d20\u306b\u3001Spring JDBC \u306e\u8a18\u8ff0\u3092\u8ffd\u52a0\u3059\u308b\u3002<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SpringSourceToolSuiteSpringJDBC_132EE\/spring_jdbc00.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"spring_jdbc00\" border=\"0\" alt=\"spring_jdbc00\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SpringSourceToolSuiteSpringJDBC_132EE\/spring_jdbc00_thumb.jpg\" width=\"206\" height=\"202\" \/><\/a> <\/p>\n<pre class=\"prettyprint linenums\">&lt;dependencies&gt;\r\n    &lt;!-- JDBC --&gt;\r\n    &lt;dependency&gt;\r\n        &lt;groupid&gt;org.springframework&lt;\/groupid&gt;\r\n        &lt;artifactid&gt;spring-jdbc&lt;\/artifactid&gt;\r\n        &lt;version&gt;3.0.0.RELEASE&lt;\/version&gt;\r\n        &lt;scope&gt;compile&lt;\/scope&gt;\r\n    &lt;\/dependency&gt;\r\n&lt;\/dependencies&gt;<\/pre>\n<p>&#160;<\/p>\n<h2>JDBC \u30c9\u30e9\u30a4\u30d0\u306e\u6e96\u5099<\/h2>\n<p><a href=\"https:\/\/www.typea.info\/blog\/index.php\/2011\/05\/15\/db2_ibm_data_studio_sql\">\u6e96\u5099\u3057\u305f\u3001DB2\u306e\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u63a5\u7d9a\u3057\u3066\u307f\u308b\u3002<\/a><\/p>\n<p><a href=\"https:\/\/www-304.ibm.com\/support\/docview.wss?rs=4020&amp;uid=swg27016878\">https:\/\/www-304.ibm.com\/support\/docview.wss?rs=4020&amp;uid=swg27016878<\/a><\/p>\n<p>\u304b\u3089\u3001Driver for JDBC and SQLJ&#160;&#160; \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3001\u89e3\u51cd\u3059\u308b\u3068\u3001db2cc4.jar \u3068\u3046JDBC\u30c9\u30e9\u30a4\u30d0\u304c\u3042\u308b\u306e\u3067\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3002<\/p>\n<h2>Maven\u306e\u30ed\u30fc\u30ab\u30eb\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u767b\u9332<\/h2>\n<p><a href=\"http:\/\/legacy.techscore.com\/tech\/ApacheJakarta\/Maven\/3-2.html#maven-3-1-4\">\u3053\u3053<\/a>\u3092\u53c2\u8003\u306b\u3001\u30ed\u30fc\u30ab\u30eb\u30ea\u30dd\u30b8\u30c8\u30ea\u306bDB2 JDBC4 \u30c9\u30e9\u30a4\u30d0\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u308b\u3002<\/p>\n<pre class=\"prettyprint linenums\">mvn install:install-file -Dfile=&lt;path-to-file&gt;\r\n                         -DgroupId=&lt;group-id&gt;\r\n                         -DartifactId=&lt;artifact-id&gt;\r\n                         -Dversion=&lt;version&gt;\r\n                         -Dpackaging=&lt;packaging&gt;<\/pre>\n<p>\u8a2d\u5b9a\u5024\u306a\u3069\u306f\u9069\u5f53\u3002\u9069\u5f53\u306a\u30d5\u30a9\u30eb\u30c0\u306bJDBC\u30c9\u30e9\u30a4\u30d0\u3092\u7f6e\u304d\u3001path-to-file \u306b\u6307\u5b9a\u3002mvn\u30b3\u30de\u30f3\u30c9\u81ea\u4f53\u306f\u3001STS\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u3088\u308a\u3001C:\\springsource\\maven-2.2.1.RELEASE\\bin \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u305f\u3002<\/p>\n<p>\u5b9f\u884c\u3002<\/p>\n<pre class=\"prettyprint linenums\">&gt;C:\\springsource\\maven-2.2.1.RELEASE\\bin&gt;mvn install:install-file -Dfile=C:\\Users\\piroto\\maven_local_lib\\db2Jcc4.jar -Dgr\r\noupId=db2jcc4 -DartifactId=db2Jcc4 -Dversion=9.7 -Dpackaging=jar -DlocalRepositoryPath=C:\\Users\\piroto\\.m2\\repository\r\n[INFO] Scanning for projects...\r\n[INFO] Searching repository for plugin with prefix: 'install'.\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Building Maven Default Project\r\n[INFO]    task-segment: [install:install-file] (aggregator-style)\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] [install:install-file {execution: default-cli}]\r\n[INFO] Installing C:\\Users\\piroto\\maven_local_lib\\db2Jcc4.jar to C:\\Users\\piroto\\.m2\\repository\\db2jcc4\\db2Jcc4\\9.7\\db2J\r\ncc4-9.7.jar\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD SUCCESSFUL\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 3 seconds\r\n[INFO] Finished at: Thu May 19 22:38:44 JST 2011\r\n[INFO] Final Memory: 4M\/109M\r\n[INFO] ------------------------------------------------------------------------<\/pre>\n<p>\u3081\u3067\u305f\u304f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u305f\u306e\u3067\u3001Spring JDBC\u540c\u69d8\u3001pom.xml \u306b\u8ffd\u8a18\u3002<\/p>\n<pre class=\"prettyprint linenums\">&lt;dependency&gt;\r\n    &lt;groupId&gt;db2jcc4&lt;\/groupId&gt;\r\n    &lt;artifactId&gt;db2jcc4&lt;\/artifactId&gt;\r\n    &lt;version&gt;9.7&lt;\/version&gt;\r\n&lt;\/dependency&gt;<\/pre>\n<p>\u3053\u308c\u3067JDBC\u3092\u4f7f\u3046\u6e96\u5099\u306f\u6574\u3063\u305f\u3002<\/p>\n<h2>\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u30af\u30e9\u30b9\u306e\u5b9f\u88c5<\/h2>\n<p>&#160; DB2\u306e\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306eSTAFF\u30c6\u30fc\u30d6\u30eb\u306e\u5b9a\u7fa9\u3092\u898b\u306a\u304c\u3089\u3001Java \u306e\u30af\u30e9\u30b9\u3092\u4f5c\u6210\u3002<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SpringSourceToolSuiteSpringJDBC_132EE\/spring_jdbc01.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"spring_jdbc01\" border=\"0\" alt=\"spring_jdbc01\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SpringSourceToolSuiteSpringJDBC_132EE\/spring_jdbc01_thumb.jpg\" width=\"378\" height=\"177\" \/><\/a><\/p>\n<pre class=\"prettyprint linenums\">public class Staff {\r\n    private Integer id;\r\n    private String name;\r\n    private Integer dept;\r\n    private String job;\r\n    private Integer years;\r\n    private Double salary;\r\n    private Double comm;\r\n    \r\n    @Override\r\n    public String toString() {\r\n        return String.format(&quot;%d,%s,%d,%s,%d,%f,%f&quot;,\r\n                this.id,\r\n                this.name,\r\n                this.dept,\r\n                this.job,\r\n                this.years,\r\n                this.salary,\r\n                this.comm);\r\n    }\r\n    public Integer getId() {\r\n        return id;\r\n    }\r\n    public void setId(Integer id) {\r\n        this.id = id;\r\n    }\r\n    \r\n       :\r\n}<\/pre>\n<h2>DAO\u30af\u30e9\u30b9\u306e\u4f5c\u6210<\/h2>\n<h3>Staff \u53d6\u5f97\u7528\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9<\/h3>\n<pre class=\"prettyprint linenums\">package info.typea.firstspringmvc.dao;\r\n\r\nimport java.util.List;\r\n\r\nimport org.springframework.dao.DataAccessException;\r\n\r\npublic interface StaffDao {\r\n    List<staff> getStaffList() throws DataAccessException;\r\n}<\/staff><\/pre>\n<h3>Staff \u53d6\u5f97\u306e\u5b9f\u88c5\u30af\u30e9\u30b9<\/h3>\n<pre class=\"prettyprint linenums\">package info.typea.firstspringmvc.dao;\r\n\r\nimport java.sql.ResultSet;\r\nimport java.sql.SQLException;\r\nimport java.util.List;\r\n\r\nimport org.springframework.dao.DataAccessException;\r\nimport org.springframework.jdbc.core.JdbcTemplate;\r\nimport org.springframework.jdbc.core.RowMapper;\r\nimport org.springframework.jdbc.core.support.JdbcDaoSupport;\r\n\r\npublic class StaffDaoImpl extends JdbcDaoSupport implements StaffDao {\r\n\r\n    @Override\r\n    public List<staff> getStaffList() throws DataAccessException {\r\n        RowMapper<staff> rowMapper = new StaffRowWraper();\r\n        return getJdbcTemplate().query(&quot;SELECT * FROM staff&quot;, rowMapper);\r\n    }\r\n\r\n    protected class StaffRowWraper implements RowMapper<staff> {\r\n\r\n        @Override\r\n        public Staff mapRow(ResultSet result, int row) throws SQLException {\r\n            \r\n            Staff staff = new Staff();\r\n            staff.setId(result.getInt(&quot;ID&quot;));\r\n            staff.setName(result.getString(&quot;NAME&quot;));\r\n            staff.setDept(result.getInt(&quot;DEPT&quot;));\r\n            staff.setJob(result.getString(&quot;JOB&quot;));\r\n            staff.setYears(result.getInt(&quot;YEARS&quot;));\r\n            staff.setSalary(result.getDouble(&quot;SALARY&quot;));\r\n            staff.setComm(result.getDouble(&quot;COMM&quot;));\r\n            return staff;\r\n        }\r\n    }\r\n}<\/staff><\/staff><\/staff><\/pre>\n<h2>\u4f9d\u5b58\u6027\u3092\u6ce8\u5165<\/h2>\n<p>\u3053\u306e\u72b6\u614b\u3067\u3001\u3044\u308f\u3086\u308b\u3072\u3068\u3064\u306e\u758e\u7d50\u5408\u72b6\u614b\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u4f9d\u5b58\u6027\u3092\u3061\u3085\u30fc\u306b\u3085\u30fc\u3059\u308b\u3002<\/p>\n<p>\u5b9f\u88c5\u30af\u30e9\u30b9\u306e\u57fa\u5e95\u30af\u30e9\u30b9 JdbcDaoSupport \u306f\u3001DataSource \u306e\u30bb\u30c3\u30bf\u30fc\u3092\u3082\u3063\u3066\u3044\u3066\u3001\u30bb\u30c3\u30c8\u3055\u308c\u305fDataSource \u3092\u5143\u306b\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u5bfe\u3059\u308b\u51e6\u7406\u3092\u884c\u3046\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u3002<\/p>\n<p>root-context.xml \u306e beans \u8981\u7d20\u306e\u4e2d\u306b\u3001dataSource \u3092\u5b9a\u7fa9\u3002\u3053\u3053\u306b\u3001JDBC\u306e\u63a5\u7d9a\u8a2d\u5b9a\u3082\u8a18\u8ff0\u3057\u3066\u304a\u304f\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001DAO\u306e\u5b9f\u88c5\u30af\u30e9\u30b9\u306edataSource \u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u3001\u4e0a\u8a18\u3067\u5b9a\u7fa9\u3057\u305f\u3001DataSource\u3092\u6ce8\u5165\u3002<\/p>\n<pre class=\"prettyprint linenums\">&lt;bean id=&quot;dataSource&quot;\r\n    class=&quot;org.springframework.jdbc.datasource.DriverManagerDataSource&quot;&gt;\r\n    &lt;property name=&quot;driverClassName&quot;&gt;\r\n        &lt;value&gt;com.ibm.db2.jcc.DB2Driver&lt;\/value&gt;\r\n    &lt;\/property&gt;\r\n    &lt;property name=&quot;url&quot;&gt;\r\n        &lt;value&gt;jdbc:db2:\/\/192.168.10.77:50000\/sample&lt;\/value&gt;\r\n    &lt;\/property&gt;\r\n    &lt;property name=&quot;username&quot;&gt;\r\n        &lt;value&gt;db2inst1&lt;\/value&gt;\r\n    &lt;\/property&gt;\r\n    &lt;property name=&quot;password&quot;&gt;\r\n        &lt;value&gt;zzzzz&lt;\/value&gt;\r\n    &lt;\/property&gt;\r\n&lt;\/bean&gt;    \r\n\r\n&lt;bean id=&quot;staffDao&quot;\r\n    class=&quot;info.typea.firstspringmvc.dao.StaffDaoImpl&quot;&gt;\r\n    &lt;property name=&quot;dataSource&quot; ref=&quot;dataSource&quot; \/&gt;\r\n&lt;\/bean&gt;<\/pre>\n<h3>\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u306b\u3001DAO\u3092\u6ce8\u5165<\/h3>\n<p>controllers.xml \u306b\u3001HomeController \u306b \u4eca\u4f5c\u6210\u3057\u305fDAO \u3092\u6ce8\u5165\u3059\u308b\u8a18\u8ff0\u3092\u3059\u308b\u3002<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SpringSourceToolSuiteSpringJDBC_132EE\/sts_jdbc01.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px\" title=\"sts_jdbc01\" border=\"0\" alt=\"sts_jdbc01\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SpringSourceToolSuiteSpringJDBC_132EE\/sts_jdbc01_thumb.jpg\" width=\"263\" height=\"209\" \/><\/a> <\/p>\n<pre class=\"prettyprint linenums\">    &lt;bean id=&quot;homeController&quot;\r\n        class=&quot;info.typea.firstspringmvc.controllers.HomeController&quot;&gt;\r\n        &lt;property name=&quot;staffDao&quot; ref=&quot;staffDao&quot;\/&gt;\r\n    &lt;\/bean&gt;<\/pre>\n<h2>\u4f7f\u3063\u3066\u307f\u308b<\/h2>\n<p><a href=\"https:\/\/www.typea.info\/blog\/index.php\/2011\/05\/16\/springsource_tool_suitests\">\u6700\u521d\u306e\u30b5\u30f3\u30d7\u30eb\u30a2\u30d7\u30ea<\/a>\u3092\u4f5c\u6210\u3057\u305f\u6642\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3067\u3001\u30ed\u30b0\u3092\u5410\u3044\u3066\u3044\u308b\u7b87\u6240\u3092\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u7d50\u679c\u3092\u51fa\u529b\u3059\u308b\u3088\u3046\u306b\u66f8\u304d\u63db\u3048\u308b\u3002<\/p>\n<pre class=\"prettyprint linenums\">package info.typea.firstspringmvc.controllers;\r\n\r\nimport info.typea.firstspringmvc.dao.Staff;\r\nimport info.typea.firstspringmvc.dao.StaffDao;\r\n\r\nimport java.util.List;\r\n\r\nimport org.springframework.stereotype.Controller;\r\nimport org.springframework.web.bind.annotation.RequestMapping;\r\n\r\n@Controller\r\npublic class HomeController {\r\n    private StaffDao staffDao;\r\n    public void setStaffDao(StaffDao staffDao) {\r\n        this.staffDao = staffDao;\r\n    }\r\n    \r\n    @RequestMapping(value=&quot;\/&quot;)\r\n    public String home() {\r\n        \r\n        List<staff> stafflist = this.staffDao.getStaffList();\r\n        \r\n        for (Staff staff : stafflist) {\r\n            System.out.println(staff.toString());\r\n        }\r\n        return &quot;home&quot;;\r\n    }\r\n}<\/staff><\/pre>\n<h2>\u5b9f\u884c<\/h2>\n<p>DB2\u3092\u8d77\u52d5\u3057\u3066\u3001\u5b9f\u884c\u3002<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SpringSourceToolSuiteSpringJDBC_132EE\/spring_jdbc03.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"spring_jdbc03\" border=\"0\" alt=\"spring_jdbc03\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/SpringSourceToolSuiteSpringJDBC_132EE\/spring_jdbc03_thumb.jpg\" width=\"385\" height=\"337\" \/><\/a> <\/p>\n<p>\u53d6\u5f97\u3067\u304d\u305f\uff01<\/p>\n<p>\u3044\u304f\u3064\u306b\u306a\u3063\u3066\u3082\u3001DB\u304b\u3089\u5024\u304c\u3068\u308c\u3066\u304f\u308b\u306e\u306f\u3046\u308c\u3057\u3044\u3082\u3093\u3067\u3059\u306d\u3002<\/p>\n<p><iframe style=\"width: 120px; height: 240px\" marginheight=\"0\" src=\"http:\/\/rcm-jp.amazon.co.jp\/e\/cm?lt1=_blank&amp;bc1=FFFFFF&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=typea09-22&amp;o=9&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=ss_til&amp;asins=4797334223\" frameborder=\"0\" marginwidth=\"0\" scrolling=\"no\"><\/iframe><iframe style=\"width: 120px; height: 240px\" marginheight=\"0\" src=\"http:\/\/rcm-jp.amazon.co.jp\/e\/cm?lt1=_blank&amp;bc1=FFFFFF&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=typea09-22&amp;o=9&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=ss_til&amp;asins=4774123412\" frameborder=\"0\" marginwidth=\"0\" scrolling=\"no\"><\/iframe><iframe style=\"width: 120px; height: 240px\" marginheight=\"0\" src=\"http:\/\/rcm-jp.amazon.co.jp\/e\/cm?lt1=_blank&amp;bc1=FFFFFF&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=typea09-22&amp;o=9&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=ss_til&amp;asins=4798116246\" frameborder=\"0\" marginwidth=\"0\" scrolling=\"no\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#160; \u57fa\u672c\u7684\u306b\u3001\u4e0a\u8a18\u306e\u672c\u3092\u53c2\u8003\u306b\u3057\u3064\u3064\u3002 SpringSource Tool Suite(STS) \u306e\u5c0e\u5165\uff5e\u7c21\u5358\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u4f5c\u6210 \u3067\u4f5c\u6210\u3057\u305f\u3001Spring MVC \u306e\u30b9\u30b1\u30eb\u30c8\u30f3\u30a2\u30d7\u30ea\u306b\u3001Spring JD [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","_veu_custom_css":"","veu_display_promotion_alert":"","vkexunit_cta_each_option":"","footnotes":""},"categories":[46,47,48],"tags":[],"class_list":["post-294","post","type-post","status-publish","format-standard","hentry","category-java-ee","category-spring","category-springsource-tool-suite"],"veu_head_title_object":{"title":"","add_site_title":""},"_links":{"self":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts\/294","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=294"}],"version-history":[{"count":0,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts\/294\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=294"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}