OpenLiberty/open-liberty

Test Eclipse JNoSQL provider interoperability with Liberty Provider

Open

#30,016 opened on Oct 30, 2024

View on GitHub
 (0 comments) (0 reactions) (2 assignees)Java (652 forks)auto 404
good first issueteam:Zombie Apocalypse

Repository metrics

Stars
 (1,256 stars)
PR merge metrics
 (PR metrics pending)

Description

Ensure that the Eclipse JNoSQL provider does not attempt to implement and provide a Repository implementation when used in the same application as a Liberty Persistence provider.

@Entity
public class Person {
  @Id
  public long id;
  @Column
  public string name;
}

@Repository(provider="Liberty")
public interface Persons extends BasicRepository<Person, Long> {
}

@Repository(provider="Eclipse JNoSQL")
public interface People extends BasicRepository<Person, Long> {
}

Following the closure of https://github.com/eclipse/jnosql/issues/558 This will need to wait for a new JNoSQL release after this is integrated: https://github.com/eclipse-jnosql/jnosql/pull/696 Also this: https://github.com/eclipse-jnosql/jnosql/pull/702

Changes should be available in 1.1.13 or 1.2

Contributor guide