-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt to query an entity even if no Annotation present on the class. (
#16) * Attempt to query an entity even if no Annotation present on the class. * Update * update version before release
- Loading branch information
1 parent
24f4689
commit a8970b3
Showing
7 changed files
with
84 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ bin/ | |
!**/src/main/**/target/ | ||
!**/src/test/**/target/ | ||
.gradle | ||
*.orig | ||
|
||
### IntelliJ IDEA ### | ||
.idea | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 62 additions & 0 deletions
62
src/test/java/org/viablespark/persistence/NotePersistable.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
/* | ||
* Copyright (c) 2023 the original author or authors. | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and limitations under the License. | ||
*/ | ||
|
||
package org.viablespark.persistence; | ||
|
||
import org.viablespark.persistence.dsl.Named; | ||
|
||
import java.time.LocalDate; | ||
|
||
@Named("note") | ||
public class NotePersistable implements Persistable { | ||
private Key key = Key.None; | ||
|
||
private String note; | ||
private String additional; | ||
|
||
private LocalDate note_date; | ||
|
||
public String getNote() { | ||
return note; | ||
} | ||
|
||
public void setNote(String note) { | ||
this.note = note; | ||
} | ||
|
||
public String getAdditional() { | ||
return additional; | ||
} | ||
|
||
public void setAdditional(String additional) { | ||
this.additional = additional; | ||
} | ||
|
||
public LocalDate getNote_date() { | ||
return note_date; | ||
} | ||
|
||
public void setNote_date(LocalDate note_date) { | ||
this.note_date = note_date; | ||
} | ||
|
||
public Key getRefs() { | ||
return key; | ||
} | ||
|
||
@Override | ||
public void setRefs(Key refs) { | ||
this.key = refs; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters