Skip to content

Commit

Permalink
feat: update package name
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Santana <[email protected]>
  • Loading branch information
otaviojava committed Dec 15, 2024
1 parent 0909d53 commit ffbf44d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@
* Otavio Santana
* Alessandro Moscatelli
*/
package org.eclipse.jnosql.databases.mongodb.mapping;
package org.eclipse.jnosql.databases.mongodb.integration;

import jakarta.nosql.Column;
import jakarta.nosql.Entity;
import jakarta.nosql.Id;

import java.util.UUID;

public record Book(@Id UUID id, @Column String title, @Column String author) {
@Entity
public record MongoDBBook(@Id UUID id, @Column String title, @Column String author) {
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
import org.eclipse.jnosql.communication.semistructured.Element;
import org.eclipse.jnosql.databases.mongodb.communication.MongoDBDocumentManager;
import org.eclipse.jnosql.mapping.core.Converters;
import org.eclipse.jnosql.mapping.core.spi.EntityMetadataExtension;
import org.eclipse.jnosql.mapping.document.DocumentTemplate;
import org.eclipse.jnosql.mapping.document.spi.DocumentExtension;
import org.eclipse.jnosql.mapping.metadata.EntitiesMetadata;
import org.eclipse.jnosql.mapping.metadata.EntityMetadata;
import org.eclipse.jnosql.mapping.reflection.Reflections;
import org.eclipse.jnosql.mapping.core.spi.EntityMetadataExtension;
import org.eclipse.jnosql.mapping.semistructured.EntityConverter;
import org.eclipse.jnosql.mapping.semistructured.EventPersistManager;
import org.jboss.weld.junit5.auto.AddExtensions;
Expand Down Expand Up @@ -243,5 +243,4 @@ void shouldReturnErrorOnCountByFilterMethod() {
assertThrows(NullPointerException.class, () -> template.count((Class<Person>) null, filter));
assertThrows(NullPointerException.class, () -> template.count(Person.class, null));
}

}

0 comments on commit ffbf44d

Please sign in to comment.