As i figured out this only happens if i use a DATE type in database.
is there any hint of how to use DATE - types within jboss and CMP ???
I wrote a generic static method to convert between java.util.Date and java.sql.Timestamp. The fields in my CMP Bean is Timestamp, but all my method signatures use java.util.Date. You are safe with this way provided you take nano seconds into account while converting, and that your stored date resolution in the DB is not higher than milliseconds,i.e. if you don't use getdate(), sysdate or the like or always use JBoss to write/update your DB, you'r fine .
Anyone have a more elegant solution?