-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* chore: fix license type * feat: add more spaner ORM samples and tests * fix: fix NPE when table is not exists * fix: fix empty string check if object is null * feat: security provider utils * feat: improve cert loading based on activated security provider * feat: add more SQL samples and tests * feat: allow to check is SQL attribute type is JSON * fix: fix SQL last result set close on pagination * feat: update Couchbase ORM to use SDK 3.x * feat: update Couchbase sample code * chore: remove unused libraries * chore: re-add missing libs * chore: use latest CB SDK
- Loading branch information
Showing
152 changed files
with
2,560 additions
and
1,210 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# Eclipse project files | ||
.dbeaver | ||
.settings | ||
.project | ||
.classpath | ||
|
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
46 changes: 46 additions & 0 deletions
46
jans-orm/core/src/main/java/io/jans/orm/model/AttributeType.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,46 @@ | ||
/* | ||
* Janssen Project software is available under the Apache License (2004). See http://www.apache.org/licenses/ for full text. | ||
* | ||
* Copyright (c) 2020, Janssen Project | ||
*/ | ||
|
||
package io.jans.orm.model; | ||
|
||
/** | ||
* DB Attribute Type | ||
* | ||
* @author Yuriy Movchan Date: 07/04/2022 | ||
*/ | ||
public class AttributeType { | ||
private final String name; | ||
private final String type; | ||
private final Boolean multiValued; | ||
|
||
public AttributeType(String name, String type) { | ||
this(name, type, null); | ||
} | ||
|
||
public AttributeType(String name, String type, Boolean multiValued) { | ||
this.name = name; | ||
this.type = type; | ||
this.multiValued = multiValued; | ||
} | ||
|
||
public Boolean getMultiValued() { | ||
return multiValued; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public String getType() { | ||
return type; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "AttributeType [name=" + name + ", type=" + type + ", multiValued=" + multiValued + "]"; | ||
} | ||
|
||
} |
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
Oops, something went wrong.