You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to be able to have support also for compareTo method (translated to SQL probably to </> operators - they work for most types in DB engines) for datatypes using AttributeConverter and registered by registerAttributeConverterType. As I see in the docs (and from stacktrace :D) currently only equals is supported.
I think it can be assumed that simple comparison operators can be used and it would be great for using rich domain objects (written around single DB column) directly in entities and then in JINQ queries.
The text was updated successfully, but these errors were encountered:
Jinq relies on Hibernate/JPA for its queries, and it's a little unclear whether JPA actually handles comparison operators with AttributeConverters in an intelligent way or not (it might just compare the raw data in the SQL database, which can cause all sorts of unexpected behavior). So I'm hesitant about such a feature.
It would be great to be able to have support also for
compareTo
method (translated to SQL probably to<
/>
operators - they work for most types in DB engines) for datatypes using AttributeConverter and registered byregisterAttributeConverterType
. As I see in the docs (and from stacktrace :D) currently onlyequals
is supported.I think it can be assumed that simple comparison operators can be used and it would be great for using rich domain objects (written around single DB column) directly in entities and then in JINQ queries.
The text was updated successfully, but these errors were encountered: