tags:

views:

28

answers:

1

Hi ,

I have a Mysql datetime column, what should be the corresponding datatype in a java entity bean class for this column?

What would the java-type be for a Mysql tinyint?

+1  A: 
  • For datetime java.sql.Date
  • for tinyint byte

here is the mapping table

Enrique