Skip to content

Support to fill on Date with javabeans #18

Closed as not planned
Closed as not planned
@javlaks

Description

@javlaks

It would be possible if you can transform internally the Long value of date to Date?
I did use Apache Commons DbUtils, and it has one feature that is awesome, the ability to create the objects with a BeanProcessor.

This can obtain the data from resultset and fill automatically using javabeans. It detects the data type to fill. And it work fine with all data and other Sql Drivers as MySQL, MariaDB, SqlServer.

But when I use with this library, I obtain an error when transform the Date. The problem is because can't transform the Long value of date to Date. So I need to do manually, but with a lot of fields, this is horrible =S

And sometimes occur problem with the Boolean value using this same technique. I'm not totally sure why this happens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting for feedbackWaiting for a feedback from the issue creator

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions