question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SelectQueryMapper should support LocalDate

See original GitHub issue

Having a simple SQL:

		SelectSeekStep1<Record4<Long, LocalDate, String, BigDecimal>, LocalDate> sql1 = dsl
				.select(booking.ID, booking.BOOKING_DATE, booking.NAME, booking.VALUE)//
				.from(booking)//
				.orderBy(booking.BOOKING_DATE.desc());
		JdbcMapper<Booking> testMapper = JdbcMapperFactory.newInstance()
				.newMapper(Booking.class);		

does deliver results with filled booking_date field, whereas

		SelectQueryMapper<Booking> mapper = SelectQueryMapperFactory.newInstance().newMapper(Booking.class);

delivers an empty field.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
arnaudrogercommented, Apr 15, 2020

that should be fixed in 8.2.2

1reaction
arnaudrogercommented, Mar 19, 2020

will have a look thanks for the report

Read more comments on GitHub >

github_iconTop Results From Across the Web

Release v8.2.2 | SimpleFlatMapper
#710 SelectQueryMapper should support LocalDate. Reminder from 8.0.0. Intellij use wrong classifier Rewrote the release process to remove the classifier as ...
Read more >
How to query JPA LocalDateTime field with a LocalDate value?
To convert the LocalDate parameter in LocalDateTime (but I assume in this case I will see only Objects created at the same exact...
Read more >
Hibernate - Persist Java 8 LocalDate, LocalDateTime and ...
In this article, we will learn how to persist Java 8 LocalDate, ... One of the features added to Hibernate 5 is the...
Read more >
Java Time Types - jOOQ
Users of Java 8 can now specify that the jOOQ code generator should prefer JSR 310 types over their equivalent JDBC types. This...
Read more >
Error when trying to insert a record with a LocalDate field set ...
Sorry if it's not the right support channel for this question but I could not find another one which seemed like a better...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found