您的位置:首页 > 其它

Hitis V1.3.0[Hibernate-ibatis]

2012-04-07 11:28 211 查看
Hitis V1.3.0

(1)在ibatis中,不能取得实际执行的sql,也不能取得实际执行的sql所需要的参数数组,而Hitis可以

(2)在ibaits中,不能在逻辑节点写入像"大于号"这样的特殊字符,因为,它是基于xml的,而Hitis可以,Hitis很像html,可以在逻辑节点直接写“特殊字符”

(3)在ibatis中,也须90%的情况下,你用的是其强大的“动态组装sql”,而Hitis只取其这一项强大的功能,完全没有什么操作database的代码

(4)在Hitis中,你可以与spring无缝集成,借助于JdbcTemplate,你可以快速封装出自己的dao层

(5)在ibatis中,想做物理分页,你必须在写一个列表sql,还要写一个90%一样的总页数的sql,不仅如此,你还要在列表sql外包上一层分页sql代码,你不觉得麻烦吗?但Hitis,直接返回给你实际执行的sql和paramters数组,你想封装分页,还不是轻而易举的事

(6)在ibatis中,也许你看不懂其代码,看不懂其设置模式,但Hitis,会让你看的很轻松,很明白,你想怎么改,就怎么改...

(7)在ibatis中,会依赖这样那样的jar包,虽然不多,但总有几个吧,但Hitis,不依赖任何第三方jar包

(8)在Hitis中,...,你不心动吗?不想试用一下吗?试试用吧,永久开源的,放心用吧...

New Features In Hitis V1.3.0

1:fixed some bugs

2:in current and future version, there will be no tag: <select/>, <insert/>, <update/>, <delete/>

all tags were unified to one tag:<st/>

3:update the method: Map to Pojo

add support for BigDecimal

4:add a new property for all logic tag:<xxx must="true"/>

must which is property of all logic node means:

do not check value for nodes:<nu/>, <nn/>

value must not null for nodes:<ep/>, <np/>, <eq/>, <ne/>, <le/>, <lt/>, <ge/>, <gt/>

value must not null and size of ((List)value) must not greater than 0 for nodes:<ls/>

5:add new logic tag:

<le/>, <ge/>

6:change all tag name to shorter name, do'not support longer name. more detail to see:

short name mapping table

----------------------------------------

statement -- st

notnull -- nn, null -- nu

notempty -- np, empty -- ep

notequal -- ne, equal -- eq

lessequal -- le, lessthan -- lt

greaterequal-- ge, greater -- gt

list -- ls

下载地址

https://github.com/collonn/Hitissrc中有个org.hitis.usage包,其下有使用说明 和示例步骤
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: