Skip to content

Commit 651c82a

Browse files
committed
DATAJDBC-167 Initial project page.
1 parent b2be58e commit 651c82a

File tree

4 files changed

+82
-133
lines changed

4 files changed

+82
-133
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ _site
66
*.sw[op]
77
.project
88
sample-pages
9+
Gem.lock

Gemfile.lock

Lines changed: 0 additions & 129 deletions
This file was deleted.

_config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ gems:
1616
### The following properties will change on a project-by-project basis
1717

1818
# Context path in the remote website (usually /<project>), will be prepended to absolute URLs for static resources
19-
baseurl: /gh-pages
19+
baseurl: /spring-data-jdbc
2020

2121
# Name of the project for display in places like page titles
22-
name: Spring Framework
22+
name: Spring Data JDBC
2323

2424
# ID of the project in the metadata API at spring.io (if this is not a
2525
# valid project ID the javascript widgets in the home page will not work)
26-
project: spring-framework
26+
project: spring-data-jdbc
2727

2828
# Project github URL
29-
github_repo_url: http://github.com/spring-projects/spring-framework
29+
github_repo_url: http://github.com/spring-projects/spring-data-jdbc
3030

3131
# Project forum URL
3232
forum: http://forum.spring.io/forum/spring-projects/container

index.html

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
---
2+
title: Spring Data JDBC
3+
4+
badges:
5+
twitter: SpringData
6+
7+
custom:
8+
- name: Source (GitHub)
9+
url: https://github.com/spring-projects/spring-data-jdbc
10+
icon: github
11+
12+
- name: Issues (JIRA)
13+
url: http://jira.springsource.org/browse/DATAJDBC
14+
icon: tracking
15+
16+
- name: StackOverflow
17+
url: http://stackoverflow.com/questions/tagged/spring-data-jdbc
18+
icon: stackoverflow
19+
20+
---
21+
<!DOCTYPE HTML>
22+
<html lang="en-US">
23+
24+
{% capture parent_link %}
25+
[Spring Data]({{ site.projects_site_url }}/spring-data)
26+
{% endcapture %}
27+
28+
{% capture billboard_description %}
29+
30+
Spring Data JDBC, part of the larger <a href="/spring-data">Spring
31+
Data</a> family, makes it easy to easily implement JDBC based
32+
repositories. This module deals with enhanced support for JDBC based
33+
data access layers. It makes it easier to build Spring-powered
34+
applications that use data access technologies.
35+
36+
{% endcapture %}
37+
38+
{% capture main_content %}
39+
40+
## This is NOT an ORM
41+
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.
42+
43+
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.
44+
45+
## The Aggregate Root
46+
Spring Data repositories are inspired by the repository as described in the book Domain Driven Design by Eric Evans. One consequence of this is that you should have a repository per Aggregate Root. Aggregate Root is another concept from the same book and describes an entity which controls the lifecycle of other entities which together are an Aggregate. An Aggregate is a subset of your model which is consistent between method calls to your Aggregate Root.
47+
48+
Spring Data JDBC tries its best to encourage modelling your domain along these ideas.
49+
50+
## Features
51+
52+
- CRUD operations for simple aggregates with customizable `NamingStrategy`.
53+
- Support for `@Query` annotations.
54+
- Support for MyBatis queries.
55+
- Events.
56+
- JavaConfig based repository configuration by introducing `@EnableJdbcRepositories`.
57+
58+
<span id="quick-start"></span>
59+
60+
## Quick Start
61+
62+
{% include download_widget.md %}
63+
64+
{% endcapture %}
65+
66+
{% capture related_resources %}
67+
68+
## Related Resources
69+
70+
### Sample Projects
71+
72+
* [Spring Data JDBC Examples](https://github.com/spring-projects/spring-data-examples/tree/master/jdbc)
73+
74+
{% endcapture %}
75+
76+
{% include project_page.html %}
77+
</html>

0 commit comments

Comments
 (0)