java - Declaring a Date object within the prop tag in application context -


i trying following:

<bean id="somebean" class="path.to.some.class">   <property name="config">     <prop key="startdate"> java.sql date object </prop>   </property> </bean> 

how can instantiate date object within prop tag?

thanks

i don't know why want have instance of java.sql.date - afaik jdbc mapping. if using java.util.date (which suspect are).

then example here works me.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -