This content has been marked as final.
Show 4 replies
-
1. Re: java.sql.Timestamp instead of java.util.Date
fbiaggi Dec 29, 2003 12:48 PM (in response to ereze)Form the standardjbosscmp-jdbc.xml standard mapping:
<java-type>java.util.Date</java-type>
<jdbc-type>TIMESTAMP</jdbc-type>
<sql-type>DATETIME</sql-type>
<!--
| Note that you lose granularity here
| Use a numeric type and store milliseconds if you really need it
-->
If you use a a java.sql.Timestamp (i think) it should work .
Ciao. -
2. Re: java.sql.Timestamp instead of java.util.Date
lekkim Dec 29, 2003 2:09 PM (in response to ereze)For last login time I normally use java.sql.Timestamp in my Entity bean and TIMESTAMP in the database and it works perfectly...
-
3. Re: java.sql.Timestamp instead of java.util.Date
ereze Feb 29, 2004 9:27 AM (in response to ereze)Anybody knows if this issue is fixed in 3.2.3?
-
4. Re: java.sql.Timestamp instead of java.util.Date
pilhuhn Feb 29, 2004 9:42 AM (in response to ereze)What issue exactly?