Skip to content

SQL Date type handler #24

Description

@ptjuanramos

Hey there,
There is some inconsistency with the Date objects currently, specially in the persistence part.
Imagine the scenario:

  • Reading a file and parsing a field to a java.util.Date object.
  • Insert the date into the database. (HERE IS THE PROBLEM)

The prepare statement object only accepts java.sql.Date and not the java.util.Date, shouldn't BeanIO had a SQLDateTypeHandler class to handle sql.Date classes? Could be really handy...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions