|
From: Thomas R. <tho...@tr...> - 2005-03-24 13:34:26
|
If you can't set it on the driver level then an AOP proxy or a DataSource wrapper class could intercept the getConnectiona and issue an "alter session set nls_date_format = 'YYYY-MM-DD HH24:MI:SS'" statement before the connection is handed out. Thomas On Mar 24, 2005, at 2:41 AM, Juergen Hoeller wrote: > Does anyone have experiences with date formats on Oracle, in > particular with > specifying the format on the client side (using the thin driver, not > the OCI > driver)? > > See the following (still unanswered) post on the Hibernate forums: > > http://forum.hibernate.org/viewtopic.php?t=940117 > > The application that Jens is referring to there is Spring-based, BTW. > > Juergen > > > > ------------------------------------------------------- > This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon > 2005 > Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows > Embedded(r) & Windows Mobile(tm) platforms, applications & content. > Register > by 3/29 & save $300 > http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > |