3 changed files with 95 additions and 60 deletions
@ -0,0 +1,27 @@
@@ -0,0 +1,27 @@
|
||||
= Contributor Code of Conduct |
||||
|
||||
As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities. |
||||
|
||||
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, or nationality. |
||||
|
||||
Examples of unacceptable behavior by participants include: |
||||
|
||||
* The use of sexualized language or imagery |
||||
* Personal attacks |
||||
* Trolling or insulting/derogatory comments |
||||
* Public or private harassment |
||||
* Publishing other's private information, such as physical or electronic addresses, |
||||
without explicit permission |
||||
* Other unethical or unprofessional conduct |
||||
|
||||
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. |
||||
|
||||
By adopting this Code of Conduct, project maintainers commit themselves to fairly and consistently applying these principles to every aspect of managing this project. Project maintainers who do not follow or enforce the Code of Conduct may be permanently removed from the project team. |
||||
|
||||
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. |
||||
|
||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting a project maintainer at spring-code-of-conduct@pivotal.io. |
||||
All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. |
||||
Maintainers are obligated to maintain confidentiality with regard to the reporter of an incident. |
||||
|
||||
This Code of Conduct is adapted from the http://contributor-covenant.org[Contributor Covenant], version 1.3.0, available at http://contributor-covenant.org/version/1/3/0/[contributor-covenant.org/version/1/3/0/]. |
||||
@ -0,0 +1,68 @@
@@ -0,0 +1,68 @@
|
||||
= Spring Data JDBC |
||||
|
||||
The primary goal of the http://projects.spring.io/spring-data[Spring Data] project is to make it easier to build Spring-powered applications that use data access technologies. *Spring Data JDBC* offers the popular Repository abstraction based on JDBC |
||||
|
||||
== This is NOT an ORM |
||||
|
||||
Spring Data JDBC does not try to be an ORM. It is not a competitor to JPA. Instead it is more of a construction kit for your personal ORM that you can define the way you like or need it. |
||||
|
||||
This means that it does rather little out of the box. But it offers plenty of places where you can put your own logic, or integrate it with the technology of your choice for generating SQL statements. |
||||
|
||||
== Features |
||||
|
||||
=== CRUD operations |
||||
|
||||
=== Events |
||||
|
||||
== Getting Help |
||||
|
||||
== Quick Start |
||||
|
||||
== Execute Tests |
||||
|
||||
=== Fast running tests |
||||
|
||||
Fast running tests can executed with a simple |
||||
|
||||
[source] |
||||
---- |
||||
mvn test |
||||
---- |
||||
|
||||
This will execute unit tests and integration tests using an in-memory database. |
||||
|
||||
=== Running tests with a real database |
||||
|
||||
To run the integration tests against a specific database you nned to have the database running on your local machine and then execute. |
||||
|
||||
[source] |
||||
---- |
||||
mvn test -Dspring.profiles.active=<databasetype> |
||||
---- |
||||
|
||||
This will also execute the unit tests. |
||||
|
||||
Currently the following _databasetypes_ are available: |
||||
|
||||
* hsql (default, does not need to be running) |
||||
* mysql |
||||
|
||||
=== Run tests with all databases |
||||
|
||||
[source] |
||||
---- |
||||
mvn test -Pall-dbs |
||||
---- |
||||
|
||||
This will execute the unit tests, and all the integration tests with all the databases we currently support for testing. The databases must be running. |
||||
|
||||
== Contributing to Spring Data JDBC |
||||
|
||||
Here are some ways for you to get involved in the community: |
||||
|
||||
* Get involved with the Spring community by helping out on http://stackoverflow.com/questions/tagged/spring-data-jdbc[stackoverflow] by responding to questions and joining the debate. |
||||
* Create https://jira.spring.io/browse/DATAJDBC[JIRA] tickets for bugs and new features and comment and vote on the ones that you are interested in. |
||||
* Github is for social coding: if you want to write code, we encourage contributions through pull requests from http://help.github.com/forking/[forks of this repository]. If you want to contribute code this way, please reference a JIRA ticket as well covering the specific issue you are addressing. |
||||
* Watch for upcoming articles on Spring by http://spring.io/blog[subscribing] to spring.io. |
||||
|
||||
Before we accept a non-trivial patch or pull request we will need you to https://cla.pivotal.io/sign/spring[sign the Contributor License Agreement]. Signing the contributor’s agreement does not grant anyone commit rights to the main repository, but it does mean that we can accept your contributions, and you will get an author credit if we do. If you forget to do so, you'll be reminded when you submit a pull request. Active contributors might be asked to join the core team, and given the ability to merge pull requests. |
||||
@ -1,60 +0,0 @@
@@ -1,60 +0,0 @@
|
||||
|
||||
# Spring Data JDBC |
||||
|
||||
The primary goal of the [Spring Data](http://projects.spring.io/spring-data) project is to make it easier to build Spring-powered applications that use data access technologies. **Spring Data JDBC** offers the popular Repository abstraction based on JDBC |
||||
|
||||
## This is NOT an ORM |
||||
|
||||
Spring Data JDBC does not try to be an ORM. It is not a competitor to JPA. Instead it is more of a construction kit for your personal ORM that you can define the way you like or need it. |
||||
|
||||
This means that it does rather little out of the box. But it offers plenty of places where you can put your own logic, or integrate it with the technology of your choice for generating SQL statements. |
||||
|
||||
## Features ## |
||||
|
||||
### CRUD operations |
||||
|
||||
### Events |
||||
|
||||
## Getting Help ## |
||||
|
||||
## Quick Start ## |
||||
|
||||
## Execute Tests ## |
||||
|
||||
### Fast running tests |
||||
|
||||
Fast running tests can executed with a simple |
||||
|
||||
mvn test |
||||
|
||||
This will execute unit tests and integration tests using an in-memory database. |
||||
|
||||
### Running tests with a real database |
||||
|
||||
To run the integration tests against a specific database you nned to have the database running on your local machine and then execute. |
||||
|
||||
mvn test -Dspring.profiles.active=<databasetype> |
||||
|
||||
This will also execute the unit tests. |
||||
|
||||
Currently the following *databasetypes* are available: |
||||
|
||||
* hsql (default, does not need to be running) |
||||
* mysql |
||||
|
||||
### Run tests with all databases |
||||
|
||||
mvn test -Pall-dbs |
||||
|
||||
This will execute the unit tests, and all the integration tests with all the databases we currently support for testing. The databases must be running. |
||||
|
||||
## Contributing to Spring Data JDBC ## |
||||
|
||||
Here are some ways for you to get involved in the community: |
||||
|
||||
* Get involved with the Spring community by helping out on [stackoverflow](http://stackoverflow.com/questions/tagged/spring-data-jdbc) by responding to questions and joining the debate. |
||||
* Create [JIRA](https://jira.spring.io/browse/DATAJDBC) tickets for bugs and new features and comment and vote on the ones that you are interested in. |
||||
* Github is for social coding: if you want to write code, we encourage contributions through pull requests from [forks of this repository](http://help.github.com/forking/). If you want to contribute code this way, please reference a JIRA ticket as well covering the specific issue you are addressing. |
||||
* Watch for upcoming articles on Spring by [subscribing](http://spring.io/blog) to spring.io. |
||||
|
||||
Before we accept a non-trivial patch or pull request we will need you to [sign the Contributor License Agreement](https://cla.pivotal.io/sign/spring). Signing the contributor’s agreement does not grant anyone commit rights to the main repository, but it does mean that we can accept your contributions, and you will get an author credit if we do. If you forget to do so, you'll be reminded when you submit a pull request. Active contributors might be asked to join the core team, and given the ability to merge pull requests. |
||||
Loading…
Reference in new issue