Object library vs. Database stored form

Hello,
I am currently working on a system that was converted from forms 3.0 to 5.0 They used a form stored in the database as their referencing form. I am trying to convince them to do away with this methodology but seem to be coming up short on reasons why the OLB is better. Any assistance would be greatly appreciated. Thanks in advace, if you could email me [email protected] I would appreciate it.
Danny

To keep everyone happy I will port my reply and email ;-)
Check out <NOTE:66373.1> from metalink
Regards
Grant Ronald
null

Similar Messages

  • Do we need to include OLB (object library file) in production form path?

    Hi,
    I would like to ask if a form being compiled that consist of record group defined in object library file (olb), do we need to release the OLB to production form path as well?

    That depends on how you deploy your compiled Forms (.fmx) files to your production environment and how you copy the objects from the object library (OLB) into your forms. If you subclass the objects (the recommended method) rather than copy them, then the source OLB must be deployed so the source objects are found during the compilcation process.
    If you deploy only the compiled executable (.fmx) files, the OLB source files do not have to be deployed to production.
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Standard object library stndrd20.olb for Forms 6i

    I am looking for standard object library stndrd20.olb, which comes with forms 6i. Anyone can tell me where I can find or download it? Also I need PL/SQL library calendar.pll.

    It's on the Forms And Reports Demos CD

  • Subclass the webutil.olb object library

    Hello,
    please can anybody show me how to subclass an objectgroup in the designer 9i.
    I want to add the webutil.olb in somme module, but it doesn't work, and it attached only the original qmsolb65.olb. The STOLB is set to qmsolb65.olb and I add webutil.olb, but it doesn't work.
    Thank you

    A suggestion: try to specify the object library in the Generate Form dialog directly. Also set the object group of WebUtil with pref OLBLST.
    regards,
    Harm

  • Application Object Library

    Hi,
    Can anyone give the exact definition of what AOL is?
    And what all setups comes under AOL?
    Thanks in Advance.

    You can find the list of Oracle Application Object Library (FND) database objects by using the following query:
    SQL> select owner, object_type, object_name
    from dba_objects
    where object_name like 'FND%';FND files can be located under $FND_TOP.
    For more details about Oracle Application Object Library (FND), refer to [Oracle Applications Concepts|http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/11iconcepts.pdf] Manual.

  • How to Create .OLB (Object Library)

    I am trying to create object library but i dont i how create them. Please
    give step by step guidance to create it.

    Hello,
    Click the Object Library noed in the Forms Builder's Object Navigator. Then click the + (plus) button.
    Open the new library.
    Create the necessary objects in the form module, then drag them to the library window.
    Francois

  • Rename Object Library Orphans Dependant Forms

    Hi.
    We are using Forms 6i, and we LOVE object libraries. We have a canned product that we customize for clients. Each client has their own naming standards, and so we end up changing the name of our object library.
    I was wondering if there was a technique of being able to do this so that each form that is subclassed off of it is automatically updated.
    I have tried converting form to text and updating references to OLB. However, there are still references back to the OLB... Doing this manually would be a very exasperating task.
    Any comments would be appreciated!!!!

    module_type=library is used to compile pll files. It's not for fmb files.
    First, see if you can open and compile your library fmb file in Forms Builder.There is no problem compiling the library form. I even ran it to create an .fmx
    Then open a regular fmb file and see if you can compile.If by regular you mean a fmb that uses the library then the results are in my original post. Compiling a fmb that does not use the library works fine.
    Where in the dependent forms is the property that says to load these objects from the library.An object has the Subclass Information propety set.Not sure what this means. What I need is a way of looking at whatever property is saying 'look for these objects in this form located in the filesystem/database'. Can I do this in Form Builder?
    Does 6.0 support library forms? Do they have to be compiled into special form such as .pllA pll is a library for procedures. A library fmb has objects (blocks, items, LOV's etc.). You can also have procedures in >a fmb library, but it is better to move them to a pll library.I don't care what way it's done so long as I get something that works
    Why does the compiler want to access the database..To compile you have to be connected to the database to check the tables, stored procedures etc.
    module_type=library is used to compile pll files. It's not for fmb files.
    First, see if you can open and compile your library fmb file in Forms Builder.
    Then open a regular fmb file and see if you can compile.What system tables and procedures does it need to access for a library form that uses file access?

  • Form Builder 6.0 object library

    Hello,
    I created an object library in Form Builder 6.0, which I have
    used to develop two forms.
    The other member of my team wishes to use the same object
    library. When she loads it from my directory, it loads OK, but
    when she subclasses any of her objects nothing happens. I can
    see the red arrow on the object indicating that it was
    subclassed but the changes are not registered on the layout
    editor nor the form when it runs.
    Can anyone help?
    null

    double click the read arrow and it should turn black. A black
    arrow is a sub-classed item with the sub-class applied, red
    indicates sub-classed item with the sub-class not applied.
    Rasheed Ghany (guest) wrote:
    : Hello,
    : I created an object library in Form Builder 6.0, which I have
    : used to develop two forms.
    : The other member of my team wishes to use the same object
    : library. When she loads it from my directory, it loads OK, but
    : when she subclasses any of her objects nothing happens. I can
    : see the red arrow on the object indicating that it was
    : subclassed but the changes are not registered on the layout
    : editor nor the form when it runs.
    : Can anyone help?
    null

  • Calling database stored  function from Entity Object

    Hi,
    I want to call a database stored function from create() method of Entity Object.
    Database function returns some value.
    Can anybody suggest me some way to do it.

    You can try the following:
    make a String whit your function call, I dont know if this is the correct SQL syntax for a function, it should be for a stored procedure.
    String call = "begin; callyourfunction; end;"
    PreparedStatement ps = getDBTransaction().createPreparedStatement(call,0);
    ps.execute();
    ResultSet rs = ps.getResultSet();
    You can now read the data from the function from the rowset.
    Be sure to cleanup the PreparedStatement when your done whit it to avoid open database connections.
    ps.close();ps=null;

  • 10g Forms - 11g Forms with Object Library and PLLs

    Hey All,
    Our organization is working towards converting our existing Forms 10g architecture to 11g / Weblogic. I'm currently attempting to get the 11g Developers suite working locally, and hit a bit of a snag.
    I'm using Windows XP Prof SP3.
    Here is what I have working:
    * I got the correct version of WLS installed
    * I got the Dev suite itself installed
    * I can start and run WLS
    * I can open form builder, create a simple form, run it, it works.
    Here is where I am stuck:
    I am trying to get our existing 10g forms to compile and run under the 11g architecture. These forms were all developed using smart classes in an object library and all call various PLSQL procedures in a PLL file.
    I've done the following:
    * Recompiled all PLLs and menu modules using 11g compiler binaries
    * Made sure the FORMS_PATH registry key included where my PLX, OLB and FMX files are (under the correct, HOME key, I hope).
    * changed default.env file so FORMS_PATH points to where my PLX , OLB and FMX files are
    However, when I try to run any of the forms, I get the following error immediately :
    "FRM-93652: The runtime process has terminated abnormally.
    Contact your administrator.
    Details....
    Forms Session ID is formsapp.1"
    And in the trace file, there isn't much helpful information:
    Last Trigger FORM/BLOCK/FIELD: AIS_WELCOME.<NULL>.<NULL>
    Last Trigger: PRE-FORM - (In Progress)
    --- Call Stack Trace ---
    EnumerateLoadedModules64 failed with error -1073741819
    calling call entry argument values in hex
    location type point (? means dubious value)
    EnumerateLoadedModules64 failed with error -1073741819
    01571C5E 00000000
    015714A4 CALLrel 01571870 314E9E8 314ADA4
    0157151D CALLrel 015713BC 314E9E8 314EA28 3 12BB4C
    12BB48
    014B131F CALLrel 015714FC 314E9E8 314EA28 3 314EA94
    12BD28
    014A20F5 CALLrel 014B112C 314E9E8
    014797FE CALLrel 014A1E1C 314E9E8 1 0
    665F1DEE CALLrel 66614E06 2E4C6F4 314E9E8 0 80000400
    80000040 100000
    6611B066 CALLrel 6619E0FC 24E3CF0 32105D8 2E44D10
    2E13B64 0 6611A492
    00000001 CALL??? 00000000
    --- End of Call Stack Trace ---
    Since I can create forms from scratch, it has SOMETHING to do with the subclassing / Object Library or the PLL/PLX. Can anyone give me any clues or hints? Is there any more tracing or logging I can turn on to get a better clue of the problem?
    Thanks!

    * ***NEVERMIND*** *
    I figured it out. I missed one of the the PLX files, and it was not recompiled under 11g. It is working now! Sorry to gum up the forum!

  • Store and Display doc/pdf files in the database using Forms

    Hi all,
    How can i store and display doc/pdf files in the database using Forms 10g?.
    Arif

    How to get up and running with WebUtil 1.06 included with Oracle Developer Suite 10.1.2.0.2 on a win32 platform
    Solution
    Assuming a fresh "Complete" install of Oracle Developer Suite 10.1.2.0.2,
    here are steps to get a small test form running, using WebUtil 1.06.
    Note: [OraHome] is used as an alias for your real oDS ORACLE_HOME.
    Feel free to copy this note to a text editor, and do a global find/replace on
    [OraHome] with your actual value (no trailing slash). Then it is easy to
    copy/paste actual commands to be executed from the note copy.
    1) Download http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
      and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
    2) Copy or move jacob.jar and jacob.dll
      [JacobStage] is the folder where you extracted Jacob, and will end in ...\jacob_18
         cd [JacobStage]
         copy jacob.jar [OraHome]\forms\java\.
         copy jacob.dll [OraHome]\forms\webutil\.
      The Jacob staging area is no longer needed, and may be deleted.
    3) Sign frmwebutil.jar and jacob.jar
      Open a DOS command prompt.
      Add [OraHome]\jdk\bin to the PATH:
         set PATH=[OraHome]\jdk\bin;%PATH%
      Sign the files, and check the output for success:
         [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\frmwebutil.jar
         [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\jacob.jar
    4) If you already have a schema in your RDBMS which contains the WebUtil stored code,
      you may skip this step. Otherwise,
      Create a schema to hold the WebUtil stored code, and privileges needed to
      connect and create a stored package. Schema name "WEBUTIL" is recommended
      for no reason other than consistency over the user base.
      Open [OraHome]\forms\create_webutil_db.sql in a text editor, and delete or comment
      out the EXIT statement, to be able to see whether the objects were created witout
      errors.
      Start SQL*Plus as SYSTEM, and issue:
         CREATE USER webutil IDENTIFIED BY [password]
         DEFAULT TABLESPACE users
         TEMPORARY TABLESPACE temp;
         GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC SYNONYM TO webutil;
         CONNECT webutil/[password]@[connectstring]
         @[OraHome]\forms\create_webutil_db.sql
         -- Inspect SQL*Plus output for errors, and then
         CREATE PUBLIC SYNONYM webutil_db FOR webutil.webutil_db;
      Reconnect as SYSTEM, and issue:
         grant execute on webutil_db to public;
    5) Modify [OraHome]\forms\server\default.env, and append [OraHome]\jdk\jre\lib\rt.jar
      to the CLASSPATH entry.
    6) Start the OC4J instance
    7) Start Forms Builder and connect to a schema in the RDBMS used in step (4).
      Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
      It is important to generate the PLX, to avoid the FRM-40039 discussed in
      Note 303682.1
      If the PLX is not generated, the Webutil.pll library would have to be attached with
      full path information to all forms wishing to use WebUtil. This is NOT recommended.
    8) Create a new FMB.
      Open webutil.olb, and Subclass (not Copy) the Webutil object to the form.
      There is no need to Subclass the WebutilConfig object.
      Attach the Webutil.pll Library, and remove the path.
      Add an ON-LOGON trigger with the code
             NULL;
      to avoid having to connect to an RDBMS (optional).
      Create a new button on a new canvas, with the code
             show_webutil_information (TRUE);
      in a WHEN-BUTTON-PRESSED trigger.
      Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).
    9) Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if
      the "Application Server URL" is empty.
      Then append "?config=webutil" at the end, so you end up with a URL of the form
          http://server:port/forms/frmservlet?config=webutil
    10) Run your form.sarah

  • Object Library/PL-Sql Library Use?

    1. I would like to know the benefits of the new concepts like
    Object library and Object Group etc. All I gather is that they
    can be subclassed, the advantage of this being, I need to change
    only at one place, and it replicates in rest of the programs.
    2. Is there going to be any benefit of having the
    procedures/objects in PLSQL Library/Object library rather than
    in Object Group within the form .
    null

    The query in your code actually generates a string that is 3887 bytes long:
    SQL> ed
    Wrote file afiedt.buf
      1  SELECT length(LISTAGG (LEVEL, ' ') WITHIN GROUP (ORDER BY LEVEL))
      2  FROM DUAL
      3* CONNECT BY LEVEL < 1000
    SQL> /
    LENGTH(LISTAGG(LEVEL,'')WITHINGROUP(ORDERBYLEVEL))
                                                  3887
    The reason you are getting 7774 is because your database is obviously set up for a multi byte character set, so the length is determining 2 bytes for each stored character (2*3887 = 7774).  You're not actually storing more than 4000 bytes.  Try changing your query to add another 25 numbers to the string and it'll break... as you're exceeding the 4000 byte limit...
    SQL> ed
    Wrote file afiedt.buf
      1  SELECT length(LISTAGG (LEVEL, ' ') WITHIN GROUP (ORDER BY LEVEL))
      2  FROM DUAL
      3* CONNECT BY LEVEL < 1025
    SQL> /
    FROM DUAL
    ERROR at line 2:
    ORA-01489: result of string concatenation is too long

  • Store and display word document in database through forms

    how can i store a word document in database through forms 6i or 10g, and display it through forms from database.
    i know how to store a binary file in database through DBMS_LOB package, but i want to do it throug forms. is it possible?
    regards

    Hi Alex
    "Create a datablock and specify the item datatype as blob"
    BUT: How to bring the document to the blob?
    Hi user 611..
    Warning: It is easy if you use an OLE-Object - but OLE is a special format. The result will not be the same as with dbms_LOB.
    We have a application with documents stored via OLE - terrible!
    OLE is no longer supported by forms 10. But webutil would help.
    I asked a similar question and got a good answer:
    OLE-Container and migration to the web
    Wolfram

  • How to share a object library

    Dear Adobe Community,
    I am using the Adobe (JetForm) Output Designer Version 5.4.0. 130
    As we are working in a team on several forms (IFDs), which include
    some objects from a object library, we would like to share the same library
    within the team. I could not find any option to export / import objects from one
    library to another one.
    Is there a possibility to share the same library with multiple users, for example on a
    network-share-drive? If yes, how can we implement this?
    Thanks in advance for your input.
    Best regards
    Jan

    hi Michel,
    Here is all the info I have on sharing.
    SHARING IPHOTO LIBRARIES
    Sharing libraries between users on the same local network
    You can also share a library on the same machine between users the same way.
    Sharing libraries between users on the same machine...
    -both users must have sharing enabled in their iPhoto Preferences
    -both users must be logged in and have iPhoto running
    -Remember that you can only view the other library. You can't edit the photos or play the saved slideshows or view the made books or burn them to CD or DVD. The books and slideshows will show up as an album. You can play that album as an "on the fly" slideshow. You can drag images from the sharing library to your library in the source column to import them to your library. You can then edit, add to albums, books, slideshow, etc.
    Sharing links from Apple....
    Sharing your photos between computers
    About shared photos
    Turning off photo sharing
    Looking for shared photos
    SHARING ONE IPHOTO LIBRARY BETWEEN USERS ON SAME MACHINE
    You can try one of these three methods:
    1- Use iPhoto Library Manager-the paid version
    The documentation page will give instructions on how it is done.
    2- Sharing one iPhoto library between several users on one machine
    3- Share an iPhoto Library in tiger Using ACL's
    4- I have also read about ShareAlike
    There is no other info on the site about how it works.
    I strongly urge anyone wanting to try any of the methods for sharing one iPhoto Library folder among more than one user to backup all iPhoto Library folders before attemptin anything.
    Lori

  • Returning a serializable object from a java stored procedure

    [Server : Oracle 8.1.6 on WinNT4 server. Client : java 1.2.2 on WinNT4 workstation.]
    I am attempting to use a java stored procedure to build a complex serializable java object on the database (to minimise number of requests/queries on the network) and then return this object in response to the original query.
    I have it writing a BLOB by means of
    OutputStream os = retval.getBinaryOutputStream();
    ObjectOutputStream oos = new ObjectOutputStream(os);
    oos.writeObject(v);
    return retval;
    where retval is a blob selected from a dummy table (created for this purpose) and v is a vector containing only serializable objects.
    However, on the client side when I attempt to recover the object by
    OracleResultSet rs = (OracleResultSet)stmt.executeQuery("SELECT javatest FROM DUAL");
    oracle.sql.BLOB blob=rs.getBLOB(1);
    InputStream inp = blob.getBinaryStream();
    ObjectInputStream oinp = new ObjectInputStream(inp);
    Vector retval = (Vector)oinp.readObject();
    I get an exception telling me that the input stream does not contain an object at the line containing new ObjectInputStream(inp);
    The full exception is :
    java.io.StreamCorruptedException: InputStream does not contain a serialized object
    at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:731)
    at java.io.ObjectInputStream.<init>(ObjectInputStream.java:165)
    at eRespond.DBLayer.JavaStoredProcedures.testdbobj.test2(testdbobj.java:143)
    at eRespond.DBLayer.JavaStoredProcedures.testdbobj.main(testdbobj.java, Compiled Code)
    I've checked that the returned blob is non-null, and that oracle.sql.BLOB is used throughout.
    Any thoughts?
    Thanks,
    mark.

    Firstly I guess to be able to new B() as a Thread, B
    should extends Thread.
    Secondly the constructor should not have any return
    type:
    public B(String cmd)
    instead of
    public void B(String cmd)
    Lastly there is no need to override the start() method
    if all it does is to call the superclass. The subclass
    automatically inherits the method.
    Hope this helps.thanks for replying so soon...
    yes, you are right, it should extends Thread and it is, i forgot to out in this example... my mistake!
    i'll try the construnctor thing to see if it works. bare in mind that i working with java stored procedures, it should work even so, right?
    thanks

Maybe you are looking for