Skip to content

A simple JAVA framework to access database and map tables to JAVA objects

License

Notifications You must be signed in to change notification settings

elv-reza/myjdbc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dbcore

  • 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:

    1. You write your SQL queries in your java files or XML config file. Just every query has to have a unique name.
    2. You write some simple mappers that maps your data (ResultSet) to your objects.
    3. You implement some simple query mappers (IQueryMapper).
    4. Then you can execute your queries.
    5. 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.

How to use it?

  • Please refer to the examples directory to see some usage.

About

A simple JAVA framework to access database and map tables to JAVA objects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages