Skip to content

建立在spring jdbc 基础上的数据库操作框架。简化spring jdbc调用。支持分布式数据库操作,支持单库jdbc事务

Notifications You must be signed in to change notification settings

chenweidong/halo-query

 
 

Repository files navigation

#一个轻量级orm框架,自动组装ResultSet结果集。 ##底层使用的是spring jdbcTemplate ##目前支持的数据库为mysql,db2 ##mysql,db2测试通过 ##支持分分布式数据库操作,支持单库jdbc事务,支持读写分离(请看database_distribution.md)

##需要注意的是,查询使用的sql,所有被查询的字段都具有别名,例如 ###table=user tableAlias=user_ column=userid alias=user_userid ###table=db.user tableAlias=db_user_ column=userid alias=db_user_userid

##1 query操作方式

#################################################### 2016-6-27 url of query from jsp page https://localhost:8181/halo-query/query/

parameters of sql Use @ and # enclose. For exmaple select * from user where weight <> @87# or ( name like @chenwd# and age in (@chenwd1#,@chenwd2#,@chenwd3#) )

About

建立在spring jdbc 基础上的数据库操作框架。简化spring jdbc调用。支持分布式数据库操作,支持单库jdbc事务

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 56.6%
  • Java 23.7%
  • CSS 15.7%
  • JavaScript 4.0%