cc.kebei:onion-easy-orm-rdb

easyorm关系型数据库实现,支持h2,Oracle,Mysql,PostgreSQL

License

License

Categories

Categories

ORM Data
GroupId

GroupId

cc.kebei
ArtifactId

ArtifactId

onion-easy-orm-rdb
Last Version

Last Version

3.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

easyorm关系型数据库实现,支持h2,Oracle,Mysql,PostgreSQL

Download onion-easy-orm-rdb

How to add to project

<!-- https://jarcasting.com/artifacts/cc.kebei/onion-easy-orm-rdb/ -->
<dependency>
    <groupId>cc.kebei</groupId>
    <artifactId>onion-easy-orm-rdb</artifactId>
    <version>3.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/cc.kebei/onion-easy-orm-rdb/
implementation 'cc.kebei:onion-easy-orm-rdb:3.0.0'
// https://jarcasting.com/artifacts/cc.kebei/onion-easy-orm-rdb/
implementation ("cc.kebei:onion-easy-orm-rdb:3.0.0")
'cc.kebei:onion-easy-orm-rdb:jar:3.0.0'
<dependency org="cc.kebei" name="onion-easy-orm-rdb" rev="3.0.0">
  <artifact name="onion-easy-orm-rdb" type="jar" />
</dependency>
@Grapes(
@Grab(group='cc.kebei', module='onion-easy-orm-rdb', version='3.0.0')
)
libraryDependencies += "cc.kebei" % "onion-easy-orm-rdb" % "3.0.0"
[cc.kebei/onion-easy-orm-rdb "3.0.0"]

Dependencies

compile (6)

Group / Artifact Type Version
cc.kebei : onion-easy-orm-core jar 3.0.0
cc.kebei : onion-expands-script jar 3.0.0
org.slf4j : slf4j-api jar 1.7.21
commons-beanutils : commons-beanutils jar 1.9.2
com.alibaba : fastjson jar 1.2.28
org.projectlombok : lombok jar 1.16.18

test (7)

Group / Artifact Type Version
com.microsoft.sqlserver » sqljdbc4 jar 4.0
junit : junit jar 4.11
com.h2database : h2 jar 1.4.191
com.oracle : ojdbc14 jar 10.2.0.5.0
mysql : mysql-connector-java jar 5.1.38
org.postgresql : postgresql jar 42.2.2
ch.qos.logback : logback-classic Optional jar 1.1.7

Project Modules

There are no modules declared in this project.

一个orm工具

    //....some code
    Query query = table.createQuery();
   
    //where name=? or name = ?
    query.where("name","张三").or("name","李四").list();

    //where name=? and (name=? or name=?)
    query.where("name","张三")
         .nest("name","李四").or("name","王五").end()
         .list();
    // where name like ?
    query.where().sql("name like ?","张三").list();    

Versions

Version
3.0.0