OpenLiberty/open-liberty
Auf GitHub ansehenTest Eclipse JNoSQL provider interoperability with Liberty Provider
Open
#30.016 geöffnet am 30. Okt. 2024
good first issueteam:Zombie Apocalypse
Repository-Metriken
- Stars
- (1.256 Stars)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
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