ThinkJava Wiki
a Java ORM framework focusing on simple and rapid development
Status: Abandoned
Brought to you by:
rockydan
Welcome to your wiki!
This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
The wiki uses Markdown syntax.
Relational Mapping) framework focusing on simple and rapid development.
For 'ORM' easily,please download ThinkJava!
It supports most of popular databases like MYSQL, MS
SQLServer,Oracle and so on.
It supports all kinds of cascaded query with easy annotations perfectly! including 'one to one','one to many','many to one' and 'many
to many'.
Its lazy-load rules works well on cascade and any table column.
Cached query is available in the ThinkJava,which base on ehcache.
It has many excellent features:
1.small and rapid.
2.easy to learn.
3.minimum configuration.but if necessary,you can configure it
flexibly too.
4.including easy file uploading and rapid paged query basing on
database dialect.
5.easy to put the web form data to database.
6.supporting all kinds of cascaded query.
7.supporting cached query basing on ehcache.
is very small even you can call it a "java database tools" -_-!.
table User:
Model m=new Model(User.class);//class "User" is a
persistent class corresponding the table "User"
List list=m.where("userId>3").orderBy("userName
asc").list();
m.destroy();
form in a web project,the following code is an example:
User user=new User();
user.setUserName('jack');
Model m=new Model(User.class);
m.add(user);
m.destroy();
use the WebModel to handle a web form data easily:
WebModel wm=new WebModel(User.class);
wm.add();
wm.destroy();
dialect,the following code is an example:
Model m=new Model(User.class);//class "User"
Page p=m.where("userId>3").orderBy(userName
asc").page(pageSize,pageNum);
List list=p.getList();
m.destroy();
are three general methods,they are used very simply like:
m.beginTransaction();
m.commit();
m.rollback();
in the proect named 'thinkjava_example_project'.
from a query:
Model m=new Model(User.class);//class "User" is a
persistent class corresponding the table "User"
RowSet rs=m.where("userId>3").orderBy("userName
asc").select();
m.destroy();
Last edit: rockydan 2015-02-01