Sometimes less is more.
We are using Hibernate and one of the tables uses a Date field to store information on what Oracle calls ‘point in time’ – the date and time of an event. The table column was mapped to an object property specifying the property type as “date”. For some reason, that caused the application to only read and write the date part of the ‘point in time’ instead of both the date and the time.
Example:
<property name=”postDate” column=”POST_DATE” not-null=”true” type=”date” />
Thanks to the last comment in this post, I found out that if you remove the explicit type from the Hibernate mapping, the table will be read and written to with both the date and the time.
Example:
<property name=”postDate” column=”POST_DATE” not-null=”true”/>
Author: yuval
Tech Target is a spammer
I am a reader of the ServerSide.com – THE resource for Java development information.
Still, after registering ages ago to the site and the utter collapse of the 1and1.com (my email provider) spam filter (which still does not work) I started getting tons of email from the ServerSide.com’s parent company, TechTarget about things I care less and absolutely not about. Their unsubscribe link takes you to a page that tells you that you are unsubscribed. It even sends you an email to confirm it. And then you still get their annoying invitations to events and conferences that they organize which I naturally do not want to get.
So Tech Target now counts officially as a spammer.
Bad karma unto you, Tech Target. You suck.
No offense to men practicing nursing. I admire you.
I just find it absurd that the people who are nice enough to send me free subscriptions to really cool magazines (Dr. Dobbs Journal, PC Magazine, to name two) think that if I like computers I will be interested in something like ‘Men in Nursing’ or magazines about fishing, yachting or the chemical industry. Like, I appreciate it, but isn’t it time to sharpen the focus of your data extraction script? People who work with computers are not necessarily into nursing.