/spring

spring + hibernate + Struts2集成,spring + Struts2 + mybatis集成演示

Primary LanguageJava

spring

Join the chat at https://gitter.im/cr2121/spring

spring3 + hibernate4 + struts2 spring3 + mybatis + struts2

when first run this, shall change the database setting in applicationContext-database.xml

<property name="jdbcUrl" value="jdbc:mysql://localhost:3306/world" />
<property name="user" value="root" />
<property name="password" value="123456" />

as your database setting

and run the following command in your mysql

create table student(
id bigint NOT NULL auto_increment,
name VARCHAR(30),
age INT,
primary key (id));