cuba icon indicating copy to clipboard operation
cuba copied to clipboard

Support LocalDateTime in FluentValueLoader

Open belyaev-andrey opened this issue 5 years ago • 2 comments

Now in FluentValueLoader class, we have the following method to specify Date parameters:

com.haulmont.cuba.core.global.FluentValueLoader#parameter(java.lang.String, java.util.Date, javax.persistence.TemporalType)

It may be worth adding overloaded method for LocalDate and other java.time.* classes supported in CUBA.

Environment

  • Platform version: 7.2.4

belyaev-andrey avatar May 07 '20 17:05 belyaev-andrey

@belyaev-andrey why would such methods be required? LocalDate uniquely determines its temporal type -> TemporalType.DATE Could you provide samples of usage?

andreysubbotin avatar Oct 07 '20 13:10 andreysubbotin

Let's postpone it, I should have provided an example and now I don't remember the case.

belyaev-andrey avatar Oct 08 '20 12:10 belyaev-andrey