Hi, I am trying to store a DATETIME field using EJB CMP in JBoss 4.0.2, XDoclet, and MySQL 4. Definition is very straightforward:
/** * @return Returns the m_bidDate. * * @ejb.interface-method view-type = "both" * @ejb.persistence column-name = "bid_date" */ public abstract Date getBidDate(); /** * @ejb.interface-method view-type = "both" */ public abstract void setBidDate(Date date); The issue I have is that I when I set a date and then read it out again, it moves back 1 hour: 17:06:58,343 INFO [STDOUT] Bid date out:Sat Jul 10 00:00:00 PDT 2004 ... 17:07:01,468 INFO [STDOUT] Bid date in:Fri Jul 09 23:00:00 PDT 2004 I checked the query log for my MySQL DB, and it already arrives there wrong: UPDATE project SET bid_date='2004-07-09 23:00:00' WHERE plan_key='9779' Where is this coming from? I have the timezone of all my machines set to PST. Could this be a daylight savings setting? Thanks, Al. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882047#3882047 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882047 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user