Many thanks for your response. If I understood correctly, ops is able to catch exceptions by using the event xforms-submit-error. But it isn't able to provide details about the exception happened, so the application isn't able to understand the reason (for example primary key violation or other constrain). Are you suggesting alternative solutions to the QSL processor able to provide a better control?
Regards.
Alessandro
-----Messaggio originale-----
Da: Erik Bruchez [mailto:
[hidden email]] Per conto di Erik Bruchez
Inviato: domenica 6 gennaio 2008 16.10
A:
[hidden email]
Oggetto: Re: [ops-users] Exception hanling
Alessandro,
It depends on how you are accessing MySQL. If you use services implemented with XPL and the SQL processor, and you call these services from XForms, then an exception will cause a 5xx return code to be returned to XForms. This can be caught with xforms-submit-error.
-Erik
On Jan 2, 2008, at 4:09 PM, Vancheri, Alessandro wrote:
> I need to develop an application which use MySQL as storage. Is it
> possible catching the exceptions like primary key violations and so
> on?
>
> Alessandro
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws