mybatis-pe

Mybatis proxy expand

License

License

Categories

Categories

MyBatis Data ORM
GroupId

GroupId

com.github.lftao
ArtifactId

ArtifactId

mybatis-pe
Last Version

Last Version

0.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

mybatis-pe
Mybatis proxy expand
Project URL

Project URL

https://github.com/lftao/mybatis-pe
Source Code Management

Source Code Management

https://github.com/lftao/mybatis-pe

Download mybatis-pe

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.lftao/mybatis-pe/ -->
<dependency>
    <groupId>com.github.lftao</groupId>
    <artifactId>mybatis-pe</artifactId>
    <version>0.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.lftao/mybatis-pe/
implementation 'com.github.lftao:mybatis-pe:0.0.1'
// https://jarcasting.com/artifacts/com.github.lftao/mybatis-pe/
implementation ("com.github.lftao:mybatis-pe:0.0.1")
'com.github.lftao:mybatis-pe:jar:0.0.1'
<dependency org="com.github.lftao" name="mybatis-pe" rev="0.0.1">
  <artifact name="mybatis-pe" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.lftao', module='mybatis-pe', version='0.0.1')
)
libraryDependencies += "com.github.lftao" % "mybatis-pe" % "0.0.1"
[com.github.lftao/mybatis-pe "0.0.1"]

Dependencies

compile (5)

Group / Artifact Type Version
org.springframework : spring-context jar 4.2.5.RELEASE
org.springframework : spring-jdbc jar 4.2.5.RELEASE
org.mybatis : mybatis-spring jar 2.0.1
org.mybatis : mybatis jar 3.5.1
org.slf4j : slf4j-log4j12 jar 1.7.21

Project Modules

There are no modules declared in this project.

Mybatis-pe

Mybatis proxy expand

<dependency>
	<groupId>com.github.lftao</groupId>
	<artifactId>mybatis-pe</artifactId>
	<version>0.0.1</version>
</dependency>
 
<bean id="sqlSessionFactory" class="com.lftao.mybatis.support.SqlSessionFactoryBean">
	<property name="dataSource" ref="dataSource" />
	<property name="mapperLocations" value="classpath*:com/javatao/*/dao/*.xml" />
	<property name="tableMapping" value="classpath*:com/javatao/*/entity/*.xml" />
</bean>

<bean class="org.mybatis.spring.mapper.MapperScannerConfigurer">
	<property name="basePackage" value="com.javatao.*.dao" />
	<property name="mapperFactoryBeanClass" value="com.lftao.mybatis.support.MapperBeanPrpxy" />
</bean>

Mapping.xml

<class name="com.javatao.mybatis.entity.Demo" table="tb_demo">
	<id property="id" column="id" />
	<property name="namex" column="name" />
</class>

interface

public interface DemoDao extends DaoInterface{

}

Versions

Version
0.0.1