| 程序包 | 说明 |
|---|---|
| cn.xphsc.jpamapper.core.executor | |
| cn.xphsc.jpamapper.core.jdbc | |
| cn.xphsc.jpamapper.core.repository |
| 构造器和说明 |
|---|
SQLExecutor(LambdaSupplier<org.springframework.data.jpa.repository.support.SimpleJpaRepository> jpaRepository,
javax.persistence.EntityManager entityManager,
UpdateSQL updateSQL) |
| 限定符和类型 | 方法和说明 |
|---|---|
static UpdateSQL |
UpdateSQL.build() |
UpdateSQL |
UpdateSQL.parameters(Object parameters)
parameters any JavaBean or POJO or Map or Object[]{}
|
UpdateSQL |
UpdateSQL.SET(String... sets) |
UpdateSQL |
UpdateSQL.SET(String sets) |
UpdateSQL |
UpdateSQL.UPDATE(String table) |
UpdateSQL |
UpdateSQL.WHERE(String... conditions) |
UpdateSQL |
UpdateSQL.WHERE(String conditions) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
SimpleRepository.update(UpdateSQL updateSQL) |
int |
BaseRepository.update(UpdateSQL updateSQL)
UpdateSQL as a SQL update string
|
Copyright © 2022. All rights reserved.