|
ImplessDAO is a framework that make it easier to access databases.
ImplessDAO doesn't require any XML configuration file that bothers you.
Instead, ImplessDAO uses Java code including annotations to configure itself so that
most IDEs (like Eclipse) will assist you to detect some errors.
Almost all you have to do to access database is
defining abstract method and giving it the SQL statement to be executed when
the method is called.
Ex.:
public abstract class MyDAO extends AbstractDAO {
@Sql(sql = "insert into car (name) values (${{0:VARCHAR}})")
public abstract int insertRecord(String text);
}
ImplessDAO also provides various ways to customize or bypass default behaviors
selectively. So you can choose the best way to access databases depending on the situation.
ImplessDAO is distributed under the LGPL license.
|