Giter VIP home page Giter VIP logo

spring5.0.3-jdbc-example's Introduction

spring5.0.3-jdbc-example

W3c上学习spring课程spring-jdbc部分,自己写的例子,教程上中有个bug,spring5.0.3,public Student getStudent(Integer id) .. 这个直接用有问题,我的例子里解决了

** 编辑器是IDEA2017.3.5 ** 学习W3C教程spring篇章,下的spring-jdbc一节写的例子,https://www.w3cschool.cn/wkspring/iuck1mma.html

** 上面有个函数有问题:StudentJDBCTemplate 类下的方法 public Student getStudent 有问题, ** 我的例子中以解决了 。参照这的public Employee getById(int id) 方法解决的。里https://www.journaldev.com/2593/spring-jdbc-example解决的。

CREATE TABLE user ( id int(11) unsigned NOT NULL AUTO_INCREMENT, name varchar(64) DEFAULT NULL, age int(5) DEFAULT NULL, PRIMARY KEY (id) ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

spring5.0.3-jdbc-example's People

Contributors

zhaochanghui avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.