Skip to content

Commit 0a65ab4

Browse files
committed
chore: added custom repository sample
Signed-off-by: Maximillian Arruda <dearrudam@gmail.com>
1 parent 5469512 commit 0a65ab4

File tree

3 files changed

+30
-1
lines changed

3 files changed

+30
-1
lines changed

mongodb-record/src/main/java/org/jnosql/demo/se/Task.java

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
/*
2+
* Copyright (c) 2022 Contributors to the Eclipse Foundation
3+
* All rights reserved. This program and the accompanying materials
4+
* are made available under the terms of the Eclipse Public License v1.0
5+
* and Apache License v2.0 which accompanies this distribution.
6+
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
7+
* and the Apache License v2.0 is available at http://www.opensource.org/licenses/apache2.0.php.
8+
*
9+
* You may elect to redistribute this code under either of these licenses.
10+
*/
111
package org.jnosql.demo.se;
212

313
import jakarta.nosql.Column;

mongodb-record/src/main/java/org/jnosql/demo/se/TaskApp.java

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
/*
2+
* Copyright (c) 2022 Contributors to the Eclipse Foundation
3+
* All rights reserved. This program and the accompanying materials
4+
* are made available under the terms of the Eclipse Public License v1.0
5+
* and Apache License v2.0 which accompanies this distribution.
6+
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
7+
* and the Apache License v2.0 is available at http://www.opensource.org/licenses/apache2.0.php.
8+
*
9+
* You may elect to redistribute this code under either of these licenses.
10+
*/
111
package org.jnosql.demo.se;
212

313
import jakarta.enterprise.inject.se.SeContainer;

mongodb-record/src/main/java/org/jnosql/demo/se/Tasks.java

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
/*
2+
* Copyright (c) 2022 Contributors to the Eclipse Foundation
3+
* All rights reserved. This program and the accompanying materials
4+
* are made available under the terms of the Eclipse Public License v1.0
5+
* and Apache License v2.0 which accompanies this distribution.
6+
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
7+
* and the Apache License v2.0 is available at http://www.opensource.org/licenses/apache2.0.php.
8+
*
9+
* You may elect to redistribute this code under either of these licenses.
10+
*/
111
package org.jnosql.demo.se;
212

313
import jakarta.data.repository.Delete;
@@ -7,7 +17,6 @@
717
import jakarta.data.repository.Save;
818

919
import java.util.List;
10-
import java.util.Map;
1120

1221
@Repository
1322
public interface Tasks {

0 commit comments

Comments
 (0)