Commit Graph

29 Commits

Author SHA1 Message Date
Mark Paluch
08a2d39380 DATAJDBC-561 - Fix link to code of conduct. 2020-07-28 15:37:58 +02:00
Mark Paluch
3ecfa669b7 DATAJDBC-576 - Polishing.
Consistent spelling of license. Tweak exception propagation. Consistently use asciidoc syntax for code blocks.

Original pull request: #239.
2020-07-17 10:02:22 +02:00
Jens Schauder
a0b5ddad8d DATAJDBC-576 - Control test execution with missing licence via profile.
Running all tests with

```
./mvnw clean install -Pall-dbs
```

or similar now requires an appropriate `container-license-acceptance.txt` to be on the classpath.

In order to ignore the tests that require an explicit license acceptance one may add the maven profile `ignore-missing-license` like so

```
./mvnw clean install -Pall-dbs,ignore-missing-license
```

Original pull request: #239.
2020-07-17 09:19:50 +02:00
Michal Fotyga
5aabf64662 DATAJDBC-509 - Fix findByFirstnameLike @Query example in README.
Original pull request: #198.
2020-03-20 08:35:03 +01:00
Mark Paluch
275f1a13b9 DATAJDBC-391 - Fix typo. 2019-07-10 09:48:29 +02:00
Mark Paluch
938a52cb33 DATAJDBC-391 - Revise readme for a consistent structure. 2019-07-09 11:19:19 +02:00
Greg Turnquist
0baba7ffe9 DATAJDBC-376 - Introduce Jenkins. 2019-06-11 19:49:33 -05:00
Michael Simons
aea39d99c5 DATAJDBC-365 - Fix typos in readme.
Original pull request: #149.
2019-04-23 09:16:32 +02:00
Spring Operator
17128311f4 DATAJDBC-336 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* [ ] http://www.mybatis.org/mybatis-3/logging.html (200) with 1 occurrences could not be migrated:
   ([https](https://www.mybatis.org/mybatis-3/logging.html) result SSLHandshakeException).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://en.wikipedia.org/wiki/Dependency_Injection with 2 occurrences migrated to:
  https://en.wikipedia.org/wiki/Dependency_Injection ([https](https://en.wikipedia.org/wiki/Dependency_Injection) result 200).
* [ ] http://github.com/spring-projects/spring-data-jdbc with 1 occurrences migrated to:
  https://github.com/spring-projects/spring-data-jdbc ([https](https://github.com/spring-projects/spring-data-jdbc) result 200).
* [ ] http://spring.io/blog with 2 occurrences migrated to:
  https://spring.io/blog ([https](https://spring.io/blog) result 200).
* [ ] http://stackoverflow.com/questions/tagged/spring-data-jdbc with 2 occurrences migrated to:
  https://stackoverflow.com/questions/tagged/spring-data-jdbc ([https](https://stackoverflow.com/questions/tagged/spring-data-jdbc) result 200).
* [ ] http://contributor-covenant.org with 1 occurrences migrated to:
  https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301).
* [ ] http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
  https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301).
* [ ] http://docs.spring.io/spring-data/data-commons/docs/current/api/index.html?org/springframework/data/domain/Persistable.html with 1 occurrences migrated to:
  https://docs.spring.io/spring-data/data-commons/docs/current/api/index.html?org/springframework/data/domain/Persistable.html ([https](https://docs.spring.io/spring-data/data-commons/docs/current/api/index.html?org/springframework/data/domain/Persistable.html) result 301).
* [ ] http://docs.spring.io/spring-framework/docs/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-framework/docs/ ([https](https://docs.spring.io/spring-framework/docs/) result 301).
* [ ] http://help.github.com/forking/ with 2 occurrences migrated to:
  https://help.github.com/forking/ ([https](https://help.github.com/forking/) result 301).
* [ ] http://projects.spring.io/spring-data with 2 occurrences migrated to:
  https://projects.spring.io/spring-data ([https](https://projects.spring.io/spring-data) result 301).
* [ ] http://projects.spring.io/spring-framework with 2 occurrences migrated to:
  https://projects.spring.io/spring-framework ([https](https://projects.spring.io/spring-framework) result 301).
* [ ] http://www.springsource.org/download with 1 occurrences migrated to:
  https://www.springsource.org/download ([https](https://www.springsource.org/download) result 302).

Original Pull Request: #133
2019-03-21 10:07:21 +01:00
Jens Schauder
7e0cafebf2 DATAJDBC-258 - Polishing.
Added mssql to the readme as available database for tests.

Original pull request: #98.
2018-11-01 09:29:05 +01:00
Jens Schauder
baa6e7e2e9 DATAJDBC-272 - Polishing.
Formatting in the readme.
Changed name and description of spring-data-relational-parent to match its artifact id.
2018-10-17 12:41:53 +02:00
Mark Paluch
d23c43882b DATAJDBC-272 - Update readme files according to module split. 2018-10-17 12:41:42 +02:00
Jens Schauder
89abfdc567 DATAJDBC-271 - Updated README.
Removed most of the content.
Replaced it with a real short overview and links to more useful information.
Added build status badges.
2018-10-11 15:36:01 +02:00
Jens Schauder
863bf225f6 DATAJDBC-261 - Added link to license.txt in README. 2018-09-12 08:11:44 +02:00
Jens Schauder
1a32e22017 DATAJDBC-206 - Polishing.
Removed single lined table.

Original pull request: #61.
2018-04-17 15:04:57 +02:00
Jens Schauder
0b6354eb47 DATAJDBC-206 - Reflected DATAJDBC-130 in the README.
Original pull request: #61.
2018-04-17 15:04:51 +02:00
Kazuki Shimizu
2089ad7f0d DATAJDBC-206 - Polishing.
Formatting.

Original pull request: #61.
2018-04-17 15:04:42 +02:00
Kazuki Shimizu
01a4bbd745 DATAJDBC-206 - Update README with changes from recent issues.
Covers changes from DATAJDBC-182, DATAJDBC-184, DATAJDBC-178.

Original pull request: #61.
2018-04-17 15:04:00 +02:00
Jens Schauder
cc477f8c89 DATAJDBC-200 - Renamed Events to have an 'Event' suffix.
Original pull request: #60.
2018-04-13 12:06:56 +02:00
Chr1st0ph
5382d3b94e DATAJDBC-198 - Prevent HSQL specific tests to run when a different database profile is selected.
Set active profile on HSQL specific tests to HSQL.

Fixed Readme to properly reflect the need to have a Docker installation.

Original pull request: #59.
2018-04-12 15:30:10 +02:00
Chr1st0ph
d4b2eca43a DATAJDBC-196 - Integration-test-support for MariaDB.
Original pull request: #57.
2018-04-11 09:34:12 +02:00
Chr1st0ph
2898e21f8c DATAJDBC-194 - Polish README.adoc.
Typos, links, grammar and similar fixed.

Original pull request: #56.
2018-04-10 10:11:56 +02:00
Jens Schauder
a2b7699256 DATAJDBC-166 - Allow registration of RowMappers based on result type.
RowMapper can be configured either via the @Query(rowMapperClass = …​.) or by registerign a RowMapperMap bean and register RowMapper per method return type.

                @Bean
                RowMapperMap rowMappers() {
                        return new ConfigurableRowMapperMap() //
                                        .register(Person.class, new PersonRowMapper()) //
                                        .register(Address.class, new AddressRowMapper());
                }

When determining the RowMapper to use for a method the following steps are followed based on the return type of the method:

1. If the type is a simple type no RowMapper is used. Instead the query is expected to return a single row with a single column and a conversion to the return type is applied to that value.

2. The entity classes in the RowMapperMap are iterated until one is found that is a superclass or interface of the return type in question. The RowMapper registered for that class is used. Iterating happens in the order of registration, so make sure to register more general types after specific ones.

If applicable wrapper type like collections or Optional are unwrapped. So a return type of Optional<Person> will use the type Person in the steps above.
2018-03-21 11:37:05 -05:00
Jens Schauder
bc209b1114 DATAJDBC-164 - Add support for basic @Query annotation. 2018-01-26 09:48:43 -06:00
Jens Schauder
ab6da6edff DATAJDBC-156 - Describe available mappings in README.
Includes the major limitations and their rational.
2018-01-26 09:26:20 -06:00
Greg Turnquist
0ef1a63bda DATAJDBC-154 - Polishing. 2017-11-27 11:43:13 -06:00
Jens Schauder
d5193e4418 DATAJDBC-154 - Include some basic getting started documentation in the readme. 2017-11-27 11:27:52 -06:00
Jens Schauder
806bb24ff5 DATAJDBC-123 - MyBatis integration on DbAction level.
If MyBatis-spring is available and a SqlSessionFactory in the Application Context we look for matching mapped sql statements instead of using the default generated SQL.

Introduced DataAccessStrategy as a new abstraction level, operating on a single entity. JdbcEntityOperations only contain operations related to complete Aggregates. Thereby also solving DATAJDBC-132.

Integration tests ending in HsqlIntegrationTest will only get executed using HsqlDb.

Related issue: DATAJDBC-132.
2017-09-19 11:13:42 -05:00
Greg Turnquist
b8fe3c67c0 DATAJDBC-122 - Introduce code of conduct 2017-08-08 08:48:09 +02:00