Posted: Wed May 22, 2013 2:30 am Post subject: Broker 8.0.2 Applications and Libraries
Acolyte
Joined: 10 Feb 2002 Posts: 71
I've written a simple procedure in a library:-
Code:
BROKER SCHEMA simple.com
CREATE PROCEDURE OddEven(
IN parm1 INT,
OUT parm2 CHAR)
BEGIN
IF MOD(parm1, 2) = 0 THEN
SET parm2 = 'EVEN123';
ELSE
SET parm2 = 'Odd123';
END IF;
RETURN;
END;
And I've created a simple flow in an Application that calls it.
If I want a flow without errors the Application properties have to reference the library.
When I compile the application into a bar file without "compile and in-line resource" selected it creates a bar with the library inside. This appears to be the one it uses and even if I update the procedure and deploy it by itself the application still used the original one deployed.
How do I deploy just the amended library?
I thought this was all fixed in 8.0.2. Am I doing something wrong or is this not how it works?
So what you're saying is I completely missed the point on version 8 and a library is a logical grouping and type only, rather than a technical improvement. It means I can now call a previously name project "CommonFunctionsLIbrary" CommonFunctions and have it as a Library type.
And the 'compile in-line resources' isn't a choose whether you want to embed the library or leave it as a separate resource for independent deployment. Its a do you want ESQL or cmf in your bar, which I don't really care about.
No wonder its subject to an enhancement request. There was a lot of smoke and mirrors in the 8 announcement that made it look really useful!
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum