Commit Graph

34 Commits

Author SHA1 Message Date
Oliver Gierke
4e3dfdfd02 DATAJPA-211 - Documented CDI integration.
Added brief section on how to use the CDI extension. Poslished documentation in general: updated copyright year, removed revision history, fixed links to Maven repositories, added missing section ids to create stable links, improved CSS for HTML rendering, improved PDF rendering.
2012-05-16 16:21:49 +02:00
Oliver Gierke
24e4ac8e7b DATAJPA-153 - Fixed typos in reference documentation. 2012-04-15 19:42:45 +02:00
Oliver Gierke
f441087cf4 DATAJPA-180 - Added support for StartingWith, EndingWith, Containing to query creator.
The query derivation mechanism now supports StartingWith, EndingWith and Containing as keywords using the Criteria API's like predicate and massaging the given parameters accordingly. Refactored parameter binding  for CriteriaQuery instances to encapsulate the knowledge of how to massage a parameter based on the type.
2012-04-12 09:39:04 +02:00
Oliver Gierke
046e7f3b09 DATAJPA-188 - Updated query keyword reference.
Included general keyword reference from Spring Data Commons. Updated keyword samples of supported ones.
2012-04-10 19:34:40 +02:00
Oliver Gierke
8b78d0ff60 DATAJPA-164 - Link latest core repository reference documentation. 2012-02-08 23:09:55 +01:00
Oliver Gierke
0aa6aaca2a DATAJPA-73 - Added id to locking section of reference documentation. 2011-12-06 18:59:11 +01:00
Oliver Gierke
c915077074 DATAJPA-73 - Added support for locking.
Repository query methods can now be equipped with a @Lock annotation that carries the LockModeType to be used when executing the query. Beyond that, CRUD methods can be redeclared to carry lock metadata as well.

interface UserRepository extends Repository<User, Long> {
  // CRUD method redeclaration
  @Lock(LockModeType.READ)
  List<User> findAll();

  // Query method
  @Lock(LockModeType.READ)
  List<User> findByLastname(String lastname);
}
2011-12-06 11:12:57 +01:00
Oliver Gierke
e3da457137 DATAJPA-123, DATAJPA-122 - Updated reference documentation.
Added documentation of ClasspathScanningPersistenceUnitPostProcessor to reference documentation.
2011-12-05 17:24:46 +01:00
Oliver Gierke
42b60cf8d4 DATAJPA-132 - Implemented handling of True and False keywords on query creation.
Query derivation mechanism now supports True and False as keywords in finder methods:

class User {
  boolean active;
}

interface UserRepository<User, Long> {
  List<User> findByActiveTrue() ;
}
2011-12-05 14:38:39 +01:00
Oliver Gierke
c134e10727 DATAJPA-117 - Added nativeQuery flag to @Query.
@Query can now be used to execute native queries by setting the nativeQuery flag of the annotation to true. Polished JavaDoc of the @Query annotation. Upgraded EclipseLink dependency to 2.3.1 as we stumble over a NullPointerException otherwise which is fixed in the current one.
2011-12-03 00:34:23 +01:00
Oliver Gierke
eaaad64774 Added missing quote in reference documentation. 2011-11-08 13:28:04 +01:00
Oliver Gierke
a5cb8ee6c0 DATAJPA-54 - Added forCounting() flag to @QueryHints.
The flag defaults to true and allows disabling of QueryHints being applied to the count query additionally triggered for pagination.
2011-09-06 13:47:38 +02:00
Oliver Gierke
ab5aad51d5 DATAJPA-101 - Prepare 1.1.x development line. 2011-09-05 14:34:16 +02:00
Oliver Gierke
4976684e96 DATAJPA-101 - Prepare release of 1.1.0.M1. 2011-09-05 14:20:51 +02:00
Oliver Gierke
0b737586c8 Reference documentation formatting of XMLEditor. 2011-09-05 13:12:29 +02:00
Oliver Gierke
c6045de7ad DATAJPA-80, DATAJPA-91 - Updated reference documentation.
Mention PersistenceExceptionTranslator being activated when using the JPA namespace. Documented custom namespace attributes special to the JPA namespace.
2011-09-05 13:12:14 +02:00
Phil Webb
480901a4ba DATAJPA-88 - Minor improvements to documentation. 2011-08-16 17:40:58 +02:00
Oliver Gierke
9c802c207c Prepare 1.1.0 development. 2011-07-21 20:52:25 +02:00
Oliver Gierke
c2e3984545 Prepare 1.0.0.RELEASE. 2011-07-21 20:28:41 +02:00
Oliver Gierke
3f968c861f Prepare next development iteration. 2011-06-23 10:31:57 +02:00
Oliver Gierke
1d79c1bfeb Prepare 1.0.0.RC1 release.
Updated changelog and Spring Data Commons version to 1.1.0.M2.
2011-06-23 10:21:39 +02:00
Oliver Gierke
53c3cf9230 DATAJPA-38 - Introduced MergingPersistenceUnitManager. 2011-06-13 20:28:50 -07:00
Oliver Gierke
868f3ec5a6 Polished documentation creation. 2011-06-13 17:29:09 -07:00
Oliver Gierke
9023b2e3da DATAJPA-43 - Updated documentation to reflect correct use of JpaSpecificationExecuter. 2011-06-13 17:28:54 -07:00
Oliver Gierke
12706a6c5b DATAJPA-56 - Cover In and NotIn query keywords in reference documentation. 2011-06-13 16:41:14 -07:00
Oliver Gierke
655758da9f Fixed links to VCS and Maven repository in documentation. 2011-04-05 06:16:49 +02:00
Oliver Gierke
8073b34b56 Prepared next development iteration.
Polished deployment information a little.
2011-03-24 18:09:47 +01:00
Oliver Gierke
b2223bd5ef Prepare M2 release. 2011-03-24 17:45:29 +01:00
Oliver Gierke
e5b31d6757 DATAJPA-20 - Fixed invalid JPQL example in reference documentation. 2011-02-14 18:36:02 +01:00
Oliver Gierke
08ccdfd189 Prepared further development. 2011-02-10 17:27:06 +01:00
Oliver Gierke
81619300a6 Prepare M1 release. 2011-02-10 17:26:48 +01:00
Oliver Gierke
81aa0406fc Tweaked the build further in preparation of release.
- create 'distribute' profile to run JavaDoc creation, documentation build and assembly
- tweaked assembly descriptor to include binary and source jar
- added ant-run-plugin and ant build file to trigger S3 upload
- added xi:fallback nodes to use local docbook references if built offline
- added further project metadata
- added CSS and graphics for JavaDoc
- added Bundlor plugin and template.mf
2011-02-10 10:48:28 +01:00
Oliver Gierke
f406c6eada Further minor fixes to reference documentation.
- use pom version as document version
- activate anchor naming after section ids
2011-02-09 19:34:42 +01:00
Oliver Gierke
8d2845c606 DATAJPA-3 - Initial port of Hades reference documentation.
- created Docbook setup (copied from Document project)
- split up Hades documentation into parts and left out what's currently not relevant (extensions, IDE plugin)
- removed sample application part for now
- clearly separated documentation of the general repository implementation from JPA specifics (use the one from Spring Data Commons)
- extracted general namespace configuration into Spring Data Commons
- updated project metadata (repositories, source repo, homepage)
2011-02-09 17:21:06 +01:00