Download mybatis sample Free Java Code

Description

Simple example of using MyBatis via annotations with Maven, MySQL.

Source Files

The download file mybatis-sample-master.zip has the following entries.


.gitignore//  w  ww  . j  a  va2s .c o  m
README.txt
fingw.mwb
pom.xml
src/main/java/com/example/mybatis/App.java
src/main/java/com/example/mybatis/TransactionToken.java
src/main/java/com/example/mybatis/TransactionTokenMapper.java
src/main/java/com/generated/mybatis/client/CustomerHasOrderMapper.java
src/main/java/com/generated/mybatis/client/CustomerHasOrderSqlProvider.java
src/main/java/com/generated/mybatis/client/CustomerMapper.java
src/main/java/com/generated/mybatis/client/CustomerSqlProvider.java
src/main/java/com/generated/mybatis/client/OrderHasProductMapper.java
src/main/java/com/generated/mybatis/client/OrderHasProductSqlProvider.java
src/main/java/com/generated/mybatis/client/OrderMapper.java
src/main/java/com/generated/mybatis/client/OrderSqlProvider.java
src/main/java/com/generated/mybatis/client/ProductMapper.java
src/main/java/com/generated/mybatis/client/ProductSqlProvider.java
src/main/java/com/generated/mybatis/model/Customer.java
src/main/java/com/generated/mybatis/model/CustomerExample.java
src/main/java/com/generated/mybatis/model/CustomerHasOrderExample.java
src/main/java/com/generated/mybatis/model/CustomerHasOrderKey.java
src/main/java/com/generated/mybatis/model/Order.java
src/main/java/com/generated/mybatis/model/OrderExample.java
src/main/java/com/generated/mybatis/model/OrderHasProductExample.java
src/main/java/com/generated/mybatis/model/OrderHasProductKey.java
src/main/java/com/generated/mybatis/model/Product.java
src/main/java/com/generated/mybatis/model/ProductExample.java
src/main/resources/Configuration.xml
src/main/resources/generatorConfig.xml
src/main/resources/log4j.xml
src/test/java/com/example/mybatis/AppTest.java

Download

Click the following link to download mybatis-sample-master.zip.

mybatis-sample-master.zip




















Home »
  Java Free Code »
    Database »




Cassandra
CouchDB
Database
Hadoop
HBase
Hibernate
JDBC
JPA
LINQ
MapReduce
Memcached
MongoDB
MyBatis
MySQL
neo4j
Oracle
ORM
Redis
SQL