You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by sz...@op.pl on 2004/08/17 21:00:39 UTC
DatabaseQueryAction
Hello ML users!,
I'm trying to use some Cocoon action -
DatabaseQueryAction;
here's piece of code:
<table name="test_mod" alias="test_mod">
<queries>
<query mode="others">SELECT md5(?)</query>
</queries>
<values>
<value name="md5" type="string">
<mode name="request-param" parameter="c"/>
</value>
</values>
</table>
As you see I'm trying to get MD5 code for some parameter.
Effect ?
DEBUG Thread-10/DatabaseAction: query: SELECT md5(?)
DEBUG Thread-10/DatabaseAction: Trying to set column md5 from request-param using getAttribute method
DEBUG Thread-10/DatabaseAction: Setting column md5 [0] test_value
DEBUG Thread-10/DatabaseAction: ====> row no. 0
DEBUG Thread-10/DatabaseAction: Rolling back transaction. Caused by No value specified for parameter 1
I guess it is not used right. Well it's becouse of poor of
documentation and no samples. Even mail archives dont say anything about this action.
I know that there's MD5 input module but there isn't MD5 with RSA
algo impl. in standard JRE.
TIA
--
Best regards,
szefu18
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org