Skip to content
István Pató edited this page Dec 22, 2013 · 8 revisions

EasyDao is a lightweight, fast and flexible model and Dao code generator. Written in Java, generate Java POJO and Dao from database. There is no heavy weight technologies (Hibernate, JPA, etc.) and no needs other tools or jars.

How does it work?

If you start EasyDao, it generates Java source codes (model and Dao) from a database, and creates a jar file. Before you start it, you have to set configuration, at least database connection. That's all!

What you get?

Generated jar file contains you database models and Daos. One database table will be represented by one Model class, and one Dao class.

For example INV_CUSTOMER table will be a Customer.java and a CustomerDao.java. Customer.java maps table fields to Java members, for example: CUS_NAME as VARCHAR2(80) will be:

    private String name;

and of course you get getters and setters.

This jar will be the dependency of your application.

How to use it?

Convention and Configuration

What is the concept?