[FMPP] SqlDataLoader
Brought to you by:
ddekany
|
From: Carl <mul...@al...> - 2005-01-24 09:14:36
|
Hello,
Please find as attachement a very simple SqlDataLoader. All the
configuration still need to be written. I've used it for a simple use,
by hardcoding the config data (hugly, but I was in hury).
If it can benefit for anyone, and if somebody feel to write the
configuration code, it would be nice ;-)
This code is totaly free of any right, you could use it as you want.
To use it, you just need to write
<#assign database = pp.loadData('SqlDataLoader') >
and then,
${database.tableName} is a list with all rows of table "tableName"
so you could write :
<#list database.tableName as row>
${row.fieldName}
</#list>
to retrieve your data.
Carl
|