diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 19a8f48f4..c15e72ddc 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -8,6 +8,10 @@ and this project adheres to https://semver.org/spec/v2.0.0.html[Semantic Version == [Unreleased] +=== Changed + +- Update Jakarta Data to version 1.0.0-M3 + == [1.0.4] - 2023-12-19 === Fixed diff --git a/jnosql-arangodb/src/main/java/org/eclipse/jnosql/databases/arangodb/communication/QueryAQLConverter.java b/jnosql-arangodb/src/main/java/org/eclipse/jnosql/databases/arangodb/communication/QueryAQLConverter.java index 72f8644ed..6c8394a21 100644 --- a/jnosql-arangodb/src/main/java/org/eclipse/jnosql/databases/arangodb/communication/QueryAQLConverter.java +++ b/jnosql-arangodb/src/main/java/org/eclipse/jnosql/databases/arangodb/communication/QueryAQLConverter.java @@ -14,8 +14,8 @@ */ package org.eclipse.jnosql.databases.arangodb.communication; -import jakarta.data.repository.Direction; -import jakarta.data.repository.Sort; +import jakarta.data.Direction; +import jakarta.data.Sort; import org.eclipse.jnosql.communication.TypeReference; import org.eclipse.jnosql.communication.document.Document; import org.eclipse.jnosql.communication.document.DocumentCondition; diff --git a/jnosql-arangodb/src/main/java/org/eclipse/jnosql/databases/arangodb/mapping/ArangoDBDocumentRepositoryProxy.java b/jnosql-arangodb/src/main/java/org/eclipse/jnosql/databases/arangodb/mapping/ArangoDBDocumentRepositoryProxy.java index 6c630bf7b..9d952f1f6 100644 --- a/jnosql-arangodb/src/main/java/org/eclipse/jnosql/databases/arangodb/mapping/ArangoDBDocumentRepositoryProxy.java +++ b/jnosql-arangodb/src/main/java/org/eclipse/jnosql/databases/arangodb/mapping/ArangoDBDocumentRepositoryProxy.java @@ -32,7 +32,7 @@ import static java.util.Collections.emptyMap; import static org.eclipse.jnosql.mapping.core.repository.DynamicReturn.toSingleResult; -class ArangoDBDocumentRepositoryProxy extends AbstractDocumentRepositoryProxy { +class ArangoDBDocumentRepositoryProxy extends AbstractDocumentRepositoryProxy { private final Class typeClass; diff --git a/jnosql-cassandra/src/main/java/org/eclipse/jnosql/databases/cassandra/communication/CassandraQuery.java b/jnosql-cassandra/src/main/java/org/eclipse/jnosql/databases/cassandra/communication/CassandraQuery.java index 9da4a2946..76494e2ee 100644 --- a/jnosql-cassandra/src/main/java/org/eclipse/jnosql/databases/cassandra/communication/CassandraQuery.java +++ b/jnosql-cassandra/src/main/java/org/eclipse/jnosql/databases/cassandra/communication/CassandraQuery.java @@ -16,7 +16,7 @@ */ package org.eclipse.jnosql.databases.cassandra.communication; -import jakarta.data.repository.Sort; +import jakarta.data.Sort; import org.eclipse.jnosql.communication.column.ColumnCondition; import org.eclipse.jnosql.communication.column.ColumnQuery; diff --git a/jnosql-cassandra/src/main/java/org/eclipse/jnosql/databases/cassandra/communication/QueryUtils.java b/jnosql-cassandra/src/main/java/org/eclipse/jnosql/databases/cassandra/communication/QueryUtils.java index 5d82cd147..60ad0252e 100644 --- a/jnosql-cassandra/src/main/java/org/eclipse/jnosql/databases/cassandra/communication/QueryUtils.java +++ b/jnosql-cassandra/src/main/java/org/eclipse/jnosql/databases/cassandra/communication/QueryUtils.java @@ -36,7 +36,7 @@ import com.datastax.oss.driver.api.querybuilder.select.Select; import com.datastax.oss.driver.api.querybuilder.term.Term; import com.datastax.oss.protocol.internal.ProtocolConstants; -import jakarta.data.repository.Sort; +import jakarta.data.Sort; import org.eclipse.jnosql.communication.CommunicationException; import org.eclipse.jnosql.communication.Value; import org.eclipse.jnosql.communication.column.Column; diff --git a/jnosql-couchbase/src/main/java/org/eclipse/jnosql/databases/couchbase/communication/DeleteQueryWrapper.java b/jnosql-couchbase/src/main/java/org/eclipse/jnosql/databases/couchbase/communication/DeleteQueryWrapper.java index e473662bd..4c4bab1c3 100644 --- a/jnosql-couchbase/src/main/java/org/eclipse/jnosql/databases/couchbase/communication/DeleteQueryWrapper.java +++ b/jnosql-couchbase/src/main/java/org/eclipse/jnosql/databases/couchbase/communication/DeleteQueryWrapper.java @@ -14,7 +14,7 @@ */ package org.eclipse.jnosql.databases.couchbase.communication; -import jakarta.data.repository.Sort; +import jakarta.data.Sort; import org.eclipse.jnosql.communication.document.DocumentCondition; import org.eclipse.jnosql.communication.document.DocumentDeleteQuery; import org.eclipse.jnosql.communication.document.DocumentQuery; diff --git a/jnosql-couchbase/src/main/java/org/eclipse/jnosql/databases/couchbase/communication/N1QLBuilder.java b/jnosql-couchbase/src/main/java/org/eclipse/jnosql/databases/couchbase/communication/N1QLBuilder.java index 94faebd29..25c58b7e4 100644 --- a/jnosql-couchbase/src/main/java/org/eclipse/jnosql/databases/couchbase/communication/N1QLBuilder.java +++ b/jnosql-couchbase/src/main/java/org/eclipse/jnosql/databases/couchbase/communication/N1QLBuilder.java @@ -15,7 +15,7 @@ package org.eclipse.jnosql.databases.couchbase.communication; import com.couchbase.client.java.json.JsonObject; -import jakarta.data.repository.Direction; +import jakarta.data.Direction; import org.eclipse.jnosql.communication.TypeReference; import org.eclipse.jnosql.communication.document.Document; import org.eclipse.jnosql.communication.document.DocumentCondition; diff --git a/jnosql-couchbase/src/main/java/org/eclipse/jnosql/databases/couchbase/mapping/CouchbaseDocumentRepositoryProxy.java b/jnosql-couchbase/src/main/java/org/eclipse/jnosql/databases/couchbase/mapping/CouchbaseDocumentRepositoryProxy.java index 2dd2e4632..77bbdcb21 100644 --- a/jnosql-couchbase/src/main/java/org/eclipse/jnosql/databases/couchbase/mapping/CouchbaseDocumentRepositoryProxy.java +++ b/jnosql-couchbase/src/main/java/org/eclipse/jnosql/databases/couchbase/mapping/CouchbaseDocumentRepositoryProxy.java @@ -32,7 +32,7 @@ import static org.eclipse.jnosql.mapping.core.repository.DynamicReturn.toSingleResult; -class CouchbaseDocumentRepositoryProxyextends AbstractDocumentRepositoryProxy { +class CouchbaseDocumentRepositoryProxyextends AbstractDocumentRepositoryProxy { private final Class typeClass; diff --git a/jnosql-couchdb/src/main/java/org/eclipse/jnosql/databases/couchdb/communication/CouchDBDocumentQuery.java b/jnosql-couchdb/src/main/java/org/eclipse/jnosql/databases/couchdb/communication/CouchDBDocumentQuery.java index 1d9bb23b8..cd6f44971 100644 --- a/jnosql-couchdb/src/main/java/org/eclipse/jnosql/databases/couchdb/communication/CouchDBDocumentQuery.java +++ b/jnosql-couchdb/src/main/java/org/eclipse/jnosql/databases/couchdb/communication/CouchDBDocumentQuery.java @@ -16,7 +16,7 @@ */ package org.eclipse.jnosql.databases.couchdb.communication; -import jakarta.data.repository.Sort; +import jakarta.data.Sort; import org.eclipse.jnosql.communication.document.DocumentCondition; import org.eclipse.jnosql.communication.document.DocumentQuery; diff --git a/jnosql-couchdb/src/main/java/org/eclipse/jnosql/databases/couchdb/communication/DeleteQuery.java b/jnosql-couchdb/src/main/java/org/eclipse/jnosql/databases/couchdb/communication/DeleteQuery.java index 938b9fb59..7e4fe0e5b 100644 --- a/jnosql-couchdb/src/main/java/org/eclipse/jnosql/databases/couchdb/communication/DeleteQuery.java +++ b/jnosql-couchdb/src/main/java/org/eclipse/jnosql/databases/couchdb/communication/DeleteQuery.java @@ -16,7 +16,7 @@ */ package org.eclipse.jnosql.databases.couchdb.communication; -import jakarta.data.repository.Sort; +import jakarta.data.Sort; import org.eclipse.jnosql.communication.document.DocumentCondition; import org.eclipse.jnosql.communication.document.DocumentDeleteQuery; import org.eclipse.jnosql.communication.document.DocumentQuery; diff --git a/jnosql-couchdb/src/main/java/org/eclipse/jnosql/databases/couchdb/communication/MangoQueryConverter.java b/jnosql-couchdb/src/main/java/org/eclipse/jnosql/databases/couchdb/communication/MangoQueryConverter.java index 6ce1583f4..2614f318e 100644 --- a/jnosql-couchdb/src/main/java/org/eclipse/jnosql/databases/couchdb/communication/MangoQueryConverter.java +++ b/jnosql-couchdb/src/main/java/org/eclipse/jnosql/databases/couchdb/communication/MangoQueryConverter.java @@ -16,8 +16,8 @@ */ package org.eclipse.jnosql.databases.couchdb.communication; -import jakarta.data.repository.Direction; -import jakarta.data.repository.Sort; +import jakarta.data.Direction; +import jakarta.data.Sort; import jakarta.json.Json; import jakarta.json.JsonArray; import jakarta.json.JsonArrayBuilder; diff --git a/jnosql-elasticsearch/src/main/java/org/eclipse/jnosql/databases/elasticsearch/communication/ElasticsearchDocumentQuery.java b/jnosql-elasticsearch/src/main/java/org/eclipse/jnosql/databases/elasticsearch/communication/ElasticsearchDocumentQuery.java index 67f51deef..ab4a37899 100644 --- a/jnosql-elasticsearch/src/main/java/org/eclipse/jnosql/databases/elasticsearch/communication/ElasticsearchDocumentQuery.java +++ b/jnosql-elasticsearch/src/main/java/org/eclipse/jnosql/databases/elasticsearch/communication/ElasticsearchDocumentQuery.java @@ -14,7 +14,7 @@ */ package org.eclipse.jnosql.databases.elasticsearch.communication; -import jakarta.data.repository.Sort; +import jakarta.data.Sort; import org.eclipse.jnosql.communication.document.DocumentCondition; import org.eclipse.jnosql.communication.document.DocumentDeleteQuery; import org.eclipse.jnosql.communication.document.DocumentQuery; diff --git a/jnosql-hazelcast/src/main/java/org/eclipse/jnosql/databases/hazelcast/mapping/HazelcastRepositoryProxy.java b/jnosql-hazelcast/src/main/java/org/eclipse/jnosql/databases/hazelcast/mapping/HazelcastRepositoryProxy.java index 12ab3d186..5e1d1aeaf 100644 --- a/jnosql-hazelcast/src/main/java/org/eclipse/jnosql/databases/hazelcast/mapping/HazelcastRepositoryProxy.java +++ b/jnosql-hazelcast/src/main/java/org/eclipse/jnosql/databases/hazelcast/mapping/HazelcastRepositoryProxy.java @@ -27,7 +27,7 @@ import static org.eclipse.jnosql.mapping.core.repository.DynamicReturn.toSingleResult; -class HazelcastRepositoryProxy extends AbstractKeyValueRepositoryProxy { +class HazelcastRepositoryProxy extends AbstractKeyValueRepositoryProxy { private final HazelcastTemplate template; diff --git a/jnosql-mongodb/src/main/java/org/eclipse/jnosql/databases/mongodb/communication/MongoDBDocumentManager.java b/jnosql-mongodb/src/main/java/org/eclipse/jnosql/databases/mongodb/communication/MongoDBDocumentManager.java index d285ebc0f..2afedf9c6 100644 --- a/jnosql-mongodb/src/main/java/org/eclipse/jnosql/databases/mongodb/communication/MongoDBDocumentManager.java +++ b/jnosql-mongodb/src/main/java/org/eclipse/jnosql/databases/mongodb/communication/MongoDBDocumentManager.java @@ -22,7 +22,7 @@ import com.mongodb.client.model.Projections; import com.mongodb.client.model.Sorts; import com.mongodb.client.result.DeleteResult; -import jakarta.data.repository.Sort; +import jakarta.data.Sort; import org.bson.BsonDocument; import org.bson.Document; import org.bson.conversions.Bson; diff --git a/jnosql-orientdb/src/main/java/org/eclipse/jnosql/databases/orientdb/communication/OrientDBDocumentQuery.java b/jnosql-orientdb/src/main/java/org/eclipse/jnosql/databases/orientdb/communication/OrientDBDocumentQuery.java index ca7bd2798..88b5e6326 100644 --- a/jnosql-orientdb/src/main/java/org/eclipse/jnosql/databases/orientdb/communication/OrientDBDocumentQuery.java +++ b/jnosql-orientdb/src/main/java/org/eclipse/jnosql/databases/orientdb/communication/OrientDBDocumentQuery.java @@ -14,7 +14,7 @@ */ package org.eclipse.jnosql.databases.orientdb.communication; -import jakarta.data.repository.Sort; +import jakarta.data.Sort; import org.eclipse.jnosql.communication.document.DocumentCondition; import org.eclipse.jnosql.communication.document.DocumentDeleteQuery; import org.eclipse.jnosql.communication.document.DocumentQuery; diff --git a/jnosql-orientdb/src/main/java/org/eclipse/jnosql/databases/orientdb/communication/QueryOSQLConverter.java b/jnosql-orientdb/src/main/java/org/eclipse/jnosql/databases/orientdb/communication/QueryOSQLConverter.java index 0c136c928..80274a902 100644 --- a/jnosql-orientdb/src/main/java/org/eclipse/jnosql/databases/orientdb/communication/QueryOSQLConverter.java +++ b/jnosql-orientdb/src/main/java/org/eclipse/jnosql/databases/orientdb/communication/QueryOSQLConverter.java @@ -17,8 +17,8 @@ import com.orientechnologies.orient.core.id.ORecordId; -import jakarta.data.repository.Direction; -import jakarta.data.repository.Sort; +import jakarta.data.Direction; +import jakarta.data.Sort; import org.eclipse.jnosql.communication.TypeReference; import org.eclipse.jnosql.communication.document.Document; import org.eclipse.jnosql.communication.document.DocumentCondition; diff --git a/jnosql-orientdb/src/main/java/org/eclipse/jnosql/databases/orientdb/mapping/OrientDBDocumentRepositoryProxy.java b/jnosql-orientdb/src/main/java/org/eclipse/jnosql/databases/orientdb/mapping/OrientDBDocumentRepositoryProxy.java index 79557cc11..cda5a08cf 100644 --- a/jnosql-orientdb/src/main/java/org/eclipse/jnosql/databases/orientdb/mapping/OrientDBDocumentRepositoryProxy.java +++ b/jnosql-orientdb/src/main/java/org/eclipse/jnosql/databases/orientdb/mapping/OrientDBDocumentRepositoryProxy.java @@ -32,7 +32,7 @@ import static org.eclipse.jnosql.mapping.core.repository.DynamicReturn.toSingleResult; -class OrientDBDocumentRepositoryProxy extends AbstractDocumentRepositoryProxy { +class OrientDBDocumentRepositoryProxy extends AbstractDocumentRepositoryProxy { private final Class typeClass; diff --git a/jnosql-ravendb/src/main/java/org/eclipse/jnosql/databases/ravendb/communication/DocumentQueryConverter.java b/jnosql-ravendb/src/main/java/org/eclipse/jnosql/databases/ravendb/communication/DocumentQueryConverter.java index 0ab02f47e..d8d4a0f2d 100644 --- a/jnosql-ravendb/src/main/java/org/eclipse/jnosql/databases/ravendb/communication/DocumentQueryConverter.java +++ b/jnosql-ravendb/src/main/java/org/eclipse/jnosql/databases/ravendb/communication/DocumentQueryConverter.java @@ -15,7 +15,7 @@ package org.eclipse.jnosql.databases.ravendb.communication; -import jakarta.data.repository.Sort; +import jakarta.data.Sort; import net.ravendb.client.documents.queries.Query; import net.ravendb.client.documents.session.IDocumentQuery; import net.ravendb.client.documents.session.IDocumentSession; diff --git a/jnosql-ravendb/src/main/java/org/eclipse/jnosql/databases/ravendb/communication/RavenDeleteQuery.java b/jnosql-ravendb/src/main/java/org/eclipse/jnosql/databases/ravendb/communication/RavenDeleteQuery.java index caae3b3a7..252b01b3e 100644 --- a/jnosql-ravendb/src/main/java/org/eclipse/jnosql/databases/ravendb/communication/RavenDeleteQuery.java +++ b/jnosql-ravendb/src/main/java/org/eclipse/jnosql/databases/ravendb/communication/RavenDeleteQuery.java @@ -14,7 +14,7 @@ */ package org.eclipse.jnosql.databases.ravendb.communication; -import jakarta.data.repository.Sort; +import jakarta.data.Sort; import org.eclipse.jnosql.communication.document.DocumentCondition; import org.eclipse.jnosql.communication.document.DocumentDeleteQuery; import org.eclipse.jnosql.communication.document.DocumentQuery; diff --git a/jnosql-solr/src/main/java/org/eclipse/jnosql/databases/solr/communication/DefaultSolrDocumentManager.java b/jnosql-solr/src/main/java/org/eclipse/jnosql/databases/solr/communication/DefaultSolrDocumentManager.java index 5aea1c4bb..d383302c9 100644 --- a/jnosql-solr/src/main/java/org/eclipse/jnosql/databases/solr/communication/DefaultSolrDocumentManager.java +++ b/jnosql-solr/src/main/java/org/eclipse/jnosql/databases/solr/communication/DefaultSolrDocumentManager.java @@ -15,7 +15,7 @@ package org.eclipse.jnosql.databases.solr.communication; -import jakarta.data.repository.Direction; +import jakarta.data.Direction; import org.apache.solr.client.solrj.SolrQuery; import org.apache.solr.client.solrj.SolrQuery.SortClause; import org.apache.solr.client.solrj.SolrServerException; diff --git a/jnosql-solr/src/main/java/org/eclipse/jnosql/databases/solr/mapping/SolrRepositoryProxy.java b/jnosql-solr/src/main/java/org/eclipse/jnosql/databases/solr/mapping/SolrRepositoryProxy.java index 5ebb28b3d..4d5499eb6 100644 --- a/jnosql-solr/src/main/java/org/eclipse/jnosql/databases/solr/mapping/SolrRepositoryProxy.java +++ b/jnosql-solr/src/main/java/org/eclipse/jnosql/databases/solr/mapping/SolrRepositoryProxy.java @@ -31,7 +31,7 @@ import static org.eclipse.jnosql.mapping.core.repository.DynamicReturn.toSingleResult; -class SolrRepositoryProxy extends AbstractDocumentRepositoryProxy { +class SolrRepositoryProxy extends AbstractDocumentRepositoryProxy { private final Class typeClass;