[jboss-user] [Datasource Configuration] - V8Compatible: How to set it in JBoss?
Francisco Fernandez
do-not-reply at jboss.com
Tue Apr 27 06:20:10 EDT 2010
Francisco Fernandez [http://community.jboss.org/people/fjfdez] replied to the discussion
"V8Compatible: How to set it in JBoss?"
To view the discussion, visit: http://community.jboss.org/message/539744#539744
--------------------------------------------------------------
Hello,
If you use "Jboss + Eclipse + Jboss-Seam + Jboss-Tools" and start your Jboss from Eclipse Server View, you need to add the argument into "Window/Preferences/Java/Installed JREs" and edit the entry you use, then, add argument -Doracle.jdbc.V8Compatible=true into "DefaultVM Arguments" field.
I use obdbc14.jar library with same configuration and working.
With that, all Date fields will use date/time format. If you want use only date format, you must add "@Temporal(TemporalType.DATE)" annotation to desired field.
Regards.
Francisco.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/539744#539744]
Start a new discussion in Datasource Configuration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100427/bea1d504/attachment.html
More information about the jboss-user
mailing list