Skip to content

Commit

Permalink
Merge pull request #30819 from anija-anil/updateECLVersion
Browse files Browse the repository at this point in the history
Overlay created for Issue Fix : 28813
  • Loading branch information
ajaypaul-ibm authored Feb 20, 2025
2 parents 37e1389 + 6c68100 commit 225c890
Show file tree
Hide file tree
Showing 2 changed files with 1,069 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -985,13 +985,13 @@ public void testOLGH28813() throws Exception {
em.persist(US2007);
tx.commit();

List<DemographicInfo> results;
List<Instant> results;

tx.begin();
try {
results = em.createQuery(
"SELECT o FROM DemographicInfo o WHERE (o.publicDebt BETWEEN ?1 AND ?2) ORDER BY o.publicDebt",
DemographicInfo.class)
"SELECT o.collectedOn FROM DemographicInfo o WHERE (o.publicDebt BETWEEN ?1 AND ?2) ORDER BY o.publicDebt",
Instant.class)
.setParameter(1, BigDecimal.valueOf(5000000000000.00))
.setParameter(2, BigDecimal.valueOf(10000000000000.00))
.getResultList();
Expand All @@ -1017,7 +1017,7 @@ public void testOLGH28813() throws Exception {
}

assertEquals(1, results.size());
assertEquals(2007, results.get(0).collectedOn.atZone(EASTERN).get(ChronoField.YEAR));
assertEquals(2007, results.get(0).atZone(EASTERN).get(ChronoField.YEAR));

System.out.println(results.get(0).toString());
}
Expand Down
Loading

0 comments on commit 225c890

Please sign in to comment.