Fixed
Details
Assignee
Pothys - MitrahSoftPothys - MitrahSoftReporter
Colby AckerfieldColby AckerfieldPriority
NewLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
None
Details
Details
Assignee
Pothys - MitrahSoft
Pothys - MitrahSoftReporter
Colby Ackerfield
Colby AckerfieldPriority
Labels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
None
Created 6 September 2024 at 16:31
Updated 12 November 2024 at 11:28
Resolved 16 September 2024 at 07:45
When a BigDecimal type is handed off to hibernate the type is still specified as BigDecimal but the value has been converted to a string. This results in errors like:
class java.lang.String cannot be cast to class java.math.BigDecimal (java.lang.String and java.math.BigDecimal are in module java.base of loader 'bootstrap')
It appears this is a result of a conversion from BigDecimal to String in:
https://github.com/lucee/Lucee/blob/7da911f591481f57b781cda52ea7a2261b161ba8/core/src/main/java/lucee/runtime/db/SQLCaster.java#L106
More details, stacktrace, and reproducible code example in https://dev.lucee.org/t/lucee-6-upgrade-issue-orm-cannot-cast/14029