-
dbcore is a simple framework based on JDBC to execute queries without dealing the details of JDBC. You can have your application access to DB with the following easy steps:
- You write your SQL queries in your java files or XML config file. Just every query has to have a unique name.
- You write some simple mappers that maps your data (ResultSet) to your objects.
- You implement some simple query mappers (IQueryMapper).
- Then you can execute your queries.
- If your query is a select, you can get the results in a Collections or in a cache
-
dbcore has a simple connection pool that developer can set it up easily.
-
dbcore has a cache of PreparedStatements which makes the execution of queries much faster. This feature gives additional performance to your application.
- Please refer to the examples directory to see some usage.