TIBCOSoftware / jasperreports

JasperReports® - Free Java Reporting Library
https://community.jaspersoft.com/downloads/community-edition/
GNU Lesser General Public License v3.0
1.06k stars 404 forks source link

Pass expected type to getObject() #389

Closed rdicroce closed 1 year ago

rdicroce commented 1 year ago

This change improves support for custom or unusual data types in JDBC drivers. MS SQL Server has a DATETIMEOFFSET type, which mssql-jdbc maps to microsoft.sql.DateTimeOffset by default. The driver also knows how to return a java.time.OffsetDateTime for such columns, but you have to explicitly ask for it.

teodord commented 1 year ago

Thank you for letting us know.