Skip to content

Commit d9522d0

Browse files
Merge pull request #21 from xdev-software/develop
v1.0.2
2 parents f917f5a + 42f0c64 commit d9522d0

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# 1.0.2
2+
3+
* Added the EclipseStoreCustomRepository which has no methods defined at all.
4+
* EclipseStoreRepository extends the Crud- and PagingAndSorting-Repository (just like the
5+
org.springframework.data.jpa.repository.JpaRepository).
6+
17
# 1.0.1
28

39
* Fix for NullPointerException when storing an entity with Auto-ID and no previous action on the database.

spring-data-eclipse-store/src/main/java/software/xdev/spring/data/eclipse/store/repository/config/EclipseStoreRepositoryConfigurationExtension.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
import org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport;
2727

2828
import software.xdev.spring.data.eclipse.store.repository.interfaces.EclipseStoreCrudRepository;
29+
import software.xdev.spring.data.eclipse.store.repository.interfaces.EclipseStoreCustomRepository;
2930
import software.xdev.spring.data.eclipse.store.repository.interfaces.EclipseStoreListCrudRepository;
3031
import software.xdev.spring.data.eclipse.store.repository.interfaces.EclipseStoreListPagingAndSortingRepositoryRepository;
3132
import software.xdev.spring.data.eclipse.store.repository.interfaces.EclipseStorePagingAndSortingRepositoryRepository;
@@ -82,6 +83,7 @@ protected Collection<Class<?>> getIdentifyingTypes()
8283
{
8384
return List.of(
8485
EclipseStoreRepository.class,
86+
EclipseStoreCustomRepository.class,
8587
EclipseStorePagingAndSortingRepositoryRepository.class,
8688
EclipseStoreListPagingAndSortingRepositoryRepository.class,
8789
EclipseStoreCrudRepository.class,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/*
2+
* Copyright © 2023 XDEV Software (https://xdev.software)
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
package software.xdev.spring.data.eclipse.store.repository.interfaces;
17+
18+
import org.springframework.data.repository.NoRepositoryBean;
19+
import org.springframework.data.repository.Repository;
20+
21+
22+
@NoRepositoryBean
23+
public interface EclipseStoreCustomRepository<T, ID> extends Repository<T, ID>
24+
{
25+
}

0 commit comments

Comments
 (0)