diff --git a/pom.xml b/pom.xml
index a0f10f42..abed2e70 100644
--- a/pom.xml
+++ b/pom.xml
@@ -54,20 +54,6 @@
${couchbase}
-
- cglib
- cglib
- 2.2.2
- test
-
-
-
- junit
- junit
- ${junit}
- test
-
-
org.springframework
spring-test
@@ -110,13 +96,6 @@
true
-
- org.hamcrest
- hamcrest-all
- ${hamcrest}
- test
-
-
diff --git a/src/docbkx/configuration.xml b/src/docbkx/configuration.xml
index 24ddb701..f4539bcb 100644
--- a/src/docbkx/configuration.xml
+++ b/src/docbkx/configuration.xml
@@ -18,7 +18,7 @@
Including the dependency through maven
-
org.springframework.data
spring-data-couchbase
@@ -38,7 +38,7 @@
Using a snapshot version
-
org.springframework.data
spring-data-couchbase
@@ -68,7 +68,7 @@
Extending the AbstractCouchbaseConfiguration
-
Basic XML configuration
-
A simple Document with Fields
-
A Document with Map and List
-
A Document with Map and List - JSON
-
A Document with composed objects
-
A Document with composed objects - JSON
-
A Document with Date and Calendar
-
A Document with Date and Calendar - JSON
-
Custom Converters
- {
A Document with optimistic locking.
-
Validation dependencies
-
javax.validation
validation-api
@@ -423,7 +423,7 @@ public class User {
Validation beans
-
Sample Validation Annotation
-
Spring Data Couchbase - Reference Documentation
- version;
+ &version;
@@ -21,6 +21,19 @@
michael.nitschinger@couchbase.com
+
+ Oliver
+
+ Gierke
+
+
+ Spring Data Project Lead
+
+ Pivotal Software, Inc.
+
+
+ ogierke@gopivotal.com
+
@@ -47,9 +60,26 @@
Reference Documentation
+
+
+
+
+ Appendix
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/docbkx/repository.xml b/src/docbkx/repository.xml
index 8f7795bb..36356079 100644
--- a/src/docbkx/repository.xml
+++ b/src/docbkx/repository.xml
@@ -2,14 +2,14 @@
- Repositories
+ Couchbase repositories
The goal of Spring Data repository abstraction is to significantly reduce the amount of boilerplate code
required to implement data access layers for various persistence stores.
-
+
Configuration
While support for repositories is always present, you need to enable them in general or for a specific
@@ -19,7 +19,7 @@
Annotation-Based Repository Setup
-
XML-Based Repository Setup
-
]]>
-
+
Usage
In the simplest case, your repository will extend the CrudRepository<T, String>, where
@@ -47,7 +47,7 @@ public class Config extends AbstractCouchbaseConfiguration {
A User repository
- {
@@ -135,7 +135,7 @@ public interface UserRepository extends CrudRepository {
An extended User repository
- {
List findAllAdmins();
@@ -150,7 +150,7 @@ public interface UserRepository extends CrudRepository {
a yet unknown parameter, let's cover that next.
-
+
Backing Views
As a rule of thumb, all repository access methods which are not "by a specific key" require a backing view
@@ -168,7 +168,7 @@ public interface UserRepository extends CrudRepository {
The all view map function
-
A custom view map function
-
A parameterized view map function
-
Query a repository method with custom params.
-