Login
Discover
Waves
Communities
Write
Login
Signup
Topics
#
mybatis
Explore topics
#mybatis
Global
Trending
Hot
New
Payout
Muted
Promoted
#mybatis
New
#mybatis
Follow to get notified about new posts with this tag
Get #mybatis by email
Follow
south-man
mybatis
8y
[mybatis] oracle에서 insert 후 리턴값 받기 (selectKey)
mapper XML 파일 < mapper ...> ...... < insert id="insertExample" parameterType="Examples"> < selectKey resultType="int" keyProperty="keyColumn"
$ 0.037
4
fkoryp
cn
9y
mybatis查询数据返回数值类型
<select id="select"resultType="java.lang.Integer" parameterType="java.lang.Integer" > select count(1) from table
$ 0.000
0
fkoryp
cn
9y
MyBatis Generator根据数据库生成实体类
第一步:生成maven项目 第二步:在pom.xml中添加jdbc连接依赖包和mybatis生成实体类的依赖包, <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.6</version>
Discover communities
Explore communities
Create your community