Andrunevchyn

Recent Posts


Recent Comments


Archives


Categories


Meta


Andrunevchyn

notes and issue research


db2

Hibernate: comparing dates

Lets assume we have bean MyBean with field createTime if you execute following code Variable ‘time’ was created and saved so that we can expect log will print “Times are equal true” but actually we’ll see “Times are equal false” When hibernate fetch Date from DB it returns java.sql.Date That’s it If you need such condition you should [...]

Andriy AndrunevchynAndriy Andrunevchyn