Commit Graph

21 Commits

Author SHA1 Message Date
Michael Nitschinger
5b6e8764b0 DATACOUCH-43 - Correctly encode non-ASCII characters. 2013-11-12 11:10:58 +01:00
Michael Nitschinger
694b67ae36 DATACOUCH-40 - Make ClusterInfo more reliable on the values returned. 2013-10-16 13:05:11 +02:00
David Harrigan
47a0125642 Some little tidy-ups on the codebase.
-=david=-
2013-10-16 12:52:41 +02:00
David Harrigan
d1779a5d73 DATACOUCH-38 - Can't Deserialize Enum.
Enums, even although they are a simple type, must not use writeSimpleObject
since there is no "handler" in writeSimpleObject for Enums. Instead, we just
drop back to using the built-in ObjectMapper for handling enums.

-=david=-
2013-10-16 12:35:04 +02:00
David Harrigan
fa397759e3 DATACOUCH-37 - Refactor Deprecated JUnit Asserts.
Removed deprecated methods and changed to Hamcrest.

-=david=-
2013-10-16 12:23:17 +02:00
David Harrigan
48385c965a DATACOUCH-16 - Allow View customization through @View annotations.
An initial first attempt at allowing for basic View customization using the
@View annotation.

For now, it does not support "dynamic" finders, such as findByUsername, but
I'm sure it will come shortly aftewards.

Also added in hamcrest library to gradually transistion deprecated JUnit
methods to a better assertion library :-)

-=david=-
2013-10-16 12:01:21 +02:00
Michael Nitschinger
8ade60937a Merge pull request #5 from mzasada/DATACOUCH-27
DATACOUCH-27: Mapping @Id field with MappingCouchbaseConverter
2013-10-10 03:08:29 -07:00
Maciej Zasada
0fa284e534 Merge branch 'master' into DATACOUCH-27
Conflicts:
	.gitignore
2013-10-09 23:12:24 +02:00
David Harrigan
6fd4d925fb DATACOUCH-34 - Can't deserialize long/Long/Date fields.
Catch the attempt to parse a long as an int, then attempt to return a long value.

-=david=-
2013-10-09 16:57:46 +01:00
David Harrigan
0323d1fdba DATACOUCH-36 - Don't allow NULL values to be stored.
It is illegal to store a NULL value as a document. An attempt to do so will
throw an IllegalArgumentException.

-=david=-
2013-10-08 15:51:02 +01:00
Maciej Zasada
c62ad426e3 DATACOUCH-27: Mapping @Id field with MappingCouchbaseConverter
Fixed @Id field rewriting from CouchbaseDocument into domain object.
More info can be found at DATACOUCH-27 JIRA issue.
2013-09-18 23:14:28 +02:00
Michael Nitschinger
ef3ad73268 DATACOUCH-23 - Make tests clean buckets, Import cleanup. 2013-07-26 10:58:45 +02:00
Michael Nitschinger
4511387d8e DATACOUCH-21 - Documentation and Formatting improvements 2013-07-18 12:48:21 +02:00
Michael Nitschinger
ab252f8924 DATACOUCH-6 - Add simple support for XML config 2013-07-17 14:58:51 +02:00
Michael Nitschinger
2ed710cfa2 DATACOUCH-6 - add support for xml-based configurations 2013-07-16 14:17:47 +02:00
Michael Nitschinger
dd9c3eda8c DATACOUCH-17 - Make ops sync & map exceptions 2013-07-16 10:25:36 +02:00
Michael Nitschinger
2332e523b9 DATACOUCH-12: Refactor mapping layer to accomodate complex types.
This changeset is a complete refactor of the mapping layer to make
sure that _class complex type mapping works. It also decouples
the actual JSON mapping and abstracts it into a CouchbaseDocument
mapping. This ensures forward compatibility by potentially swapping
out JSON to a different format.
2013-07-16 07:43:43 +02:00
Michael Nitschinger
870cbac5e8 DATACOUCH-7, DATACOUCH-9 - Implement View support in Template + Repository
This changeset implements basic view support for both the CRUDRepository
and the underlying template imeplementation. Note that customization is
currently missing, we'll provide a @View annotation that lets you
customize behavior.
2013-06-27 14:26:05 +02:00
Michael Nitschinger
afab31ff2f DATACOUCH-11 - Upgrading Jackson to the last stable release 2013-06-03 15:21:13 +02:00
Michael Nitschinger
ab3e087b12 DATACOUCH-4 - Add Apache2 License Headers and @author field. 2013-06-03 13:56:26 +02:00
Oliver Gierke
a0b3335084 DATACOUCH-3 - Renamed base package to org.springframework.data.couchbase. 2013-06-01 11:47:32 +02:00