OpenLiberty/open-liberty
Vedi su GitHubTest Eclipse JNoSQL provider interoperability with Liberty Provider
Open
#30.016 aperta il 30 ott 2024
good first issueteam:Zombie Apocalypse
Metriche repository
- Star
- (1256 star)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
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