Yes you are right. This feature was introduced while SPIN templates only supported queries, not updates. I have generalized it now to also support update commands (for 3.5.0).
Thanks, Holger On May 25, 2011, at 11:49 PM, Catrina wrote: > I get an error when trying to convert a sml:updateQuery from one of my > sml:PerformUpdate modules. Is it possible to create a template for > update query and use this template within a SPARQLMotion script? > > Thanks, > Catrina > > STACK TRACE: > > java.lang.reflect.InvocationTargetException > at > org.topbraid.core.change.AbstractChangeEngine.execute(AbstractChangeEngine.java: > 287) > at > org.topbraidcomposer.core.change.TBCChangeEngine.execute(TBCChangeEngine.java: > 172) > at org.topbraidcomposer.core.change.TBCChangeEngine > $1.run(TBCChangeEngine.java:142) > at org.eclipse.jface.operation.ModalContext > $ModalContextThread.run(ModalContext.java:121) > Caused by: org.eclipse.core.commands.ExecutionException: While > executing the operation, an exception occurred > at > org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java: > 519) > at > org.topbraid.core.change.AbstractChangeEngine.execute(AbstractChangeEngine.java: > 273) > ... 3 more > Caused by: java.lang.NullPointerException > at org.topbraidcomposer.spin.actions.ConvertToTemplateStatementAction > $1.execute(ConvertToTemplateStatementAction.java:68) > at > org.topbraid.core.change.ChangeOperation.execute(ChangeOperation.java: > 105) > at > org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java: > 511) > ... 4 more > > -- > You received this message because you are subscribed to the Google > Group "TopBraid Suite Users", the topics of which include TopBraid Composer, > TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/topbraid-users?hl=en -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en
