Way Out In EJB
Thursday, January 19, 2006
Convert from java.util.Date to java.sql.Date
use the code like this:
java.util.date utilDate = new java.util.Date();
java.sql.Date sqlDate = new java.sql.Date(date.getTime());
System.out.println(sqlDate);
simple...
posted by vishal @
4:05 AM
0 comments
0 Comments:
Post a Comment
<< Home
About Me
Name:
vishal
View my complete profile
Previous Posts
How To use a finder method returning more than one...
Getting Primary Key Value (Custom Finder Method)
0 Comments:
Post a Comment
<< Home