Re: populate a template based on records in a JDBC ResultSet instance

2009-09-16 Thread satheeshsamiappan
Hi Claude, I found out that using the resultset object itself in VM we will be able to accomplish all our needs that we achieve using java. But looks like if we implement the way you have suggested, the template will look descent. Thanks for the information. satheeshsamiappan wrote: Hi,

Re: populate a template based on records in a JDBC ResultSet instance

2009-09-12 Thread Claude Brisson
On jeu., 2009-09-10 at 04:41 -0700, satheeshsamiappan wrote: Hi, Im working on a POC in velocity. Want to know whether using velocity can we populate a template based on records in a JDBC ResultSet instance?If so kindly provide the link that has document or example. Typically a resultset

populate a template based on records in a JDBC ResultSet instance

2009-09-10 Thread satheeshsamiappan
Hi, Im working on a POC in velocity. Want to know whether using velocity can we populate a template based on records in a JDBC ResultSet instance?If so kindly provide the link that has document or example. Typically a resultset will be put in the VelocityContext. In vm file we have to write the