01 Defects in the use of native JDBC and basic environment configuration

Development environment

jdk1.7.0_72
eclipse:eclipse-3.7-indigo
mysql:mysql5.1

Related Installation Tutorial: Configuring and using the eclipse jdk and Mysql 5.1.70 and Navicat installation tutorial

Project catalog

Project catalog

Create database

  • Create a database named mybatis through Navicat
  • Run sql_table.sql and sql_data.sql files to complete table creation and data import

Insert picture description here

  • sql_table.sql file content
/*
SQLyog

Guess you like

Origin blog.csdn.net/qq_40923413/article/details/108368334