https://github.com/payneteasy/jdbc-proc
jdbc-proc provides mappings from POJOs to stored procedures
https://github.com/payneteasy/jdbc-proc
Last synced: 11 months ago
JSON representation
jdbc-proc provides mappings from POJOs to stored procedures
- Host: GitHub
- URL: https://github.com/payneteasy/jdbc-proc
- Owner: payneteasy
- Created: 2015-09-02T18:33:05.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-10-28T20:07:06.000Z (over 1 year ago)
- Last Synced: 2025-07-23T07:30:27.081Z (about 1 year ago)
- Language: Java
- Homepage:
- Size: 1.32 MB
- Stars: 7
- Watchers: 10
- Forks: 5
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
jdbc-proc provides mappings from POJOs to stored procedures.
### 10 seconds introduction ###
Mapping a stored procedure to Java DAO:
```java
public interface CompanyDao {
@AStoredProcedure( name = "create_company")
void createCompany(Company aCompany);
}
```
[Read more about this example](https://github.com/payneteasy/jdbc-proc/wiki/ExampleCreateCompany)
### Main features ###
* uses mapping specification of JPA with annotations: Entity, Column, OneToOne, ManyToOne, OneToMany, JoinColumn
* creates stored procedures mapping code on the fly
* integrated with [spring framework](http://www.springsource.org) and [Google Guice](https://github.com/google/guice)
For step-by-step instructions, see [Getting Started](https://github.com/payneteasy/jdbc-proc/wiki/GettingStarted) guide
### Supported databases ###
* [MySQL](http://mysql.com) ≥ 5.0
* [MariaDB](https://mariadb.org) ≥ 10.0
* [PostgreSQL](http://postgresql.org)
* [Microsoft SQL Server](http://www.microsoft.com/sqlserver)
### Gratitudes ###
Many thanks to [JProfiler](http://www.ej-technologies.com/products/jprofiler/overview.html)
### Changelog ###
**2022 Nov 25** Added possibility to serialize List input parameters as json string
**2015 Sep 02** Migrated to github
**2013 May 13** Added patched mysql jdbc driver with improved performance [mysql-connector-java-5.1.22-3-bin.jar](https://github.com/payneteasy/jdbc-proc/blob/master/mysql-driver/mysql-connector-java-5.1.22-3-bin.jar?raw=true)
**2011 Nov 02** new version 1.1.1 released. Main feature: added postgresql support
**2011 Nov 01** migrated from svn to git
**2010 May 05** jdbc-proc artifacts are deployed on the Central Repository. Thanks Sonatype!
### They already use jdbc-proc Framework in production environments: ###
* Payneteasy https://payneteasy.com
* Leads Protection System https://lp.systems
* Superfly SSO https://github.com/payneteasy/superfly
* Srvlog Logs Collector https://github.com/payneteasy/srvlog