Do object libraries need to be compiled?
Hi,
I've created an object library. I then drag the object from the library to 20 different forms using the subclass option, regenerate them and then try to run the application using any of these 20 forms. I then made a mod to the object library, updated it and moved it back to our solaris server. Now, my 20 forms don't recognize the change that I made in the object library. My question is do I have to "compile" the object library in order for the application to "see" the changes I made? It's my understanding that an Object library is read in at runtime, but wouldn't it need an executable version of the object library. If I do need to compile it, how do I do it?
Thanks
--Joey
Hi,
object libraries don't need to be compiled. It seems that you broke the inhertitance between the items and the object library. Try and go to one of the itemens and check if this items still shows to be subclassed. Redo the inheritance and see if this works.
Frank
Similar Messages
-
I need an example about object libraries
hi all,
I use oracle forms 10 in windows xp sp2, I'm new in forms i need a link or doc to implement
object libraries (for practice), any help i greatly appreciated
thanks & regard
Edited by: user10947262 on May 5, 2010 3:09 PMThere are code examples given in the API docs:
http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JOptionPane.html
or
http://www.google.com/search?hl=en&safe=off&q=JOptionPane+example&btnG=Search -
Attaching/Subclassing Object Libraries Without Opening in 6i FMB
Hi All,
Our requirement is to subclass a object group which contains different set of elements in it. (i.e. Blocks, Property classes, Canvas etc) how can we subclass this OLB in a form without opening the form in a 6i Builder. Tried the header functions available in Forms C API but i find no API which allows this type of operations to be done for object libraries. We have successfully automated such redundant activities for other items like canvas, items etc.
Can you suggest a way to achieve this in a object library, if its possible. Because we need to do this for nearly 500+ forms. Why we are thinking of this alternative is because of the fact that if we have these elements said above in a object group of a template form, we will have to drag and drop this object group in each forms from template form.
Its a new object group and we are not in a position to add the newly created elements into any other existing object group because of few other reasons which may disturb the existing functionality, because if we can do that recompiling all forms against template form will have the newly created elements reflected.
Hope i have conveyed it clearly, please comment and advice to achieve our requirement.
Edited by: ramarun on Sep 30, 2011 11:50 AMThis is not possible with Forms 6i. Referred with Oracle Support for this Issue.
Thanks -
How (or what) do we set when using shared object libraries?
We have Java Native Methods which are implemented using C++ and stored in shared object libraries. We can build our project, but when trying to execute the project, the shared object libraries are not found. We had tried to set the external execution settings to include the library paths, but nothing seems to take affect.
What do we need to set to run with the shared object libraries?RK,
I appreciate your responce, hopefully we'll get this worked out. I will try to give you as much information as I can so you will hopefully understand the problem.
We have added a Library Reference to our project - which is a jar file - this jar file contains our Business Objects which are implemented in Java. Within this Library Reference, there is a Java class which has a Native method. The method is implemented in C++ The C++ implementation of this method is within a C++ shared object library (libname.so).
How do we let Creator know that we need to link in this C++ Shared Object Library at run time?
The Modifers Properties for the method in the library reference are correctly set - that is they are set to Native. For a method within a java element, selecting or un-selecting this modifier simply changes the method declaration. It does not tell Creator where the actual implementation is (shared object library in this case).
As originally stated, we tried to include our shared object library in the Execution Property of the properties window for the Java Element. Here is what we have done so far - all unsuccessful....
Under the External Execution Property - we added the environment variable LD_LIBRARY_PATH set to our shared object library path. We also selected the Append Environment Variable (set to true). We are not able to modify the Library Path of the External Execution Property - it will not allow changes - all buttons are disabled in the pop up window.
There are no properties for the Internal Execution within the Executor Properties, so there is nothing we can set there.
We have tried to set the Debugger Execution properties in the same manner as the External Execution properties to run the project in Debug mode - and have the same problem - while executing the project, we get the error message which indicates that our shared object library can not be found.
There are no property settings available on the J2EE Server Execution Properties to set.
What do we need to set so that this Shared Object Library will be located during execution of our project under SJSC?
Thank you for any suggestions you may have.
--Scott -
Converting object libraries from indesign 2.0 to CS3
Hi !
I work for a company which needs to convert the object libraries created on Indesign 2.0
to work on Indesign CS3. Is there a way to do that? Object libraries are compatible within Indesign versions?
regards
Cicero LiraI created an object library on Indesign 2.0 and did the conversion to work on CS3. But the program crashes during it. I had success when i tried to open the library on Indesign CS.
It works perfectly. But, when did the conversion from CS to CS3 it occurred the same problem ( the crash). Í downloaded the CS3 updates ( I'm using 5.0.3 version) and my OS is windows XP. -
Object libraries and pl/sql lib
hi all,
Can anybody give the difference between pl/sql and object libraries(please give in detail)
thanks in advancePL/SQL libraries (PLL files) only conbtain PL/SQL functions, procedures, and packages. These are accessed at run time.
Object libraries contain all object types - visual attributes, canvases, windows, propoerty classes, the lot. They are often grouped into object groups (eg all the visual attributes may be in a VA_Object group) these are then referenced by the form at compile time.
For more detail you will have to read the reference books. -
Need to batch compile 6i forms in 9i
I have a batch program that will compile libraries, menus & forms but I need to have it also report programs that would not compile and I need to have the output in 1 file. We have over 500 forms so I do not want to be opening every .err file that gets created. This is on windows 2000 so the following is what I have in a batch file called compile.bat:
@echo off
if "%1" == "" goto ERROR
REM WINDOWS COMPILE LIBRARIES
cls
echo compiling Libraries.....
for /R %%F in (*.pll) do call ifcmp90 userid=%1 batch=yes module=%%F module_type=library window_state=minimize
echo Finished compiling Libraries!
REM WINDOWS COMPILE MENUS
echo compiling Menus.....
for /R %%F in (*.mmb) do call ifcmp90 userid=%1 batch=yes module=%%F module_type=menu window_state=minimize
echo Finished compiling Menus!
REM WINDOWS COMPILE FORMS
echo compiling Forms.....
for /R %%F in (*.fmb) do call ifcmp90 userid=%1 batch=yes module=%%F module_type=form window_state=minimize
echo Finished compiling Forms!
goto EXIT
:ERROR
echo Userid/password MUST be supplied!
pause
:EXIT
Can someone help me please? I've been going crazy! Thanks in advance.Check all the properties of :ctl.descr item. It should be varchar2.
-
With Java Persistence, are DAOs (data access objects) still needed?
I have just looked at the Java Persistence tutorial and it says each table row of a database can be represented as a Java Persistence entity instance.
The definition of an "entity" is very much like how you would define the class of an equivalent DAO.
So I am wondering... should DAOs still be used ? or can persistence entities completely replace them?Hi,
I am saying that if you use JPA then you will not be making a DAO class, for example if you have a Person.java object you will not need to make a PersonDAO.java object.
For example, if using JPA you Person.java object would look like this example below...
Of course, the classes that call person object may need to call some JPA manager APIs or some JTA transaction APIs. If you use EJB session beans to call the JP{A entity then you dont have to have any code, as ou can see here
https://blueprints.dev.java.net/bpcatalog/ee5/persistence/ejbfacade.html
if you do not use EJBs in a pure web app then you will likely manually write code to manage transactions and entity manager APIs such as
https://blueprints.dev.java.net/bpcatalog/ee5/persistence/webfacade.html
See Person.java entuty example below and see there is no DAO code.
@Entity
public class Person implements java.io.Serializable {
private int personId;
private String userName;
private String firstName;
private String lastName;
private String summary;
public Person() { }
@Id
public int getPersonId() {
return personId;
public String getUserName() {
return userName;
public String getFirstName() {
return firstName;
public String getLastName() {
return lastName;
public String getSummary(){
return summary;
public void setPersonId(int personId) {
this.personId = personId;
public void setUserName(String userName) {
this.userName = userName;
public void setFirstName(String firstName) {
this.firstName = firstName;
public void setLastName(String lastName) {
this.lastName = lastName;
public void setSummary(String summary) {
this.summary = summary;
} -
How do I effectively use my Object Libraries ?
I have created a generic form which allows users to search a name in a database table. I have created an Object Libarary and added the Blocks, Canvas, etc. to this OLB file.
My concern is reusing this object in several applications without having to customize each time I attach it to a new form.
Does anyone have experience with reusing Object Libraries? If so, how do you make modifications to your OLB file so that it propagates to the other forms using it?
Thanks,
BobRather than having to post to loads of people, the note is available on metalink.oracle.com and the note number is NOTE:63373.1 and the title is:
Oracle Froms & Object Libraries - An overview.
If you have problems getting this from metalink then post me back and we will try something else.
Regards
Grant
p.s. Support could send it out as well. -
Forms 2.1 calling shared object libraries
Can Forms 2.1 on Solaris 2.6 make calls to shared object
libraries? What are the limitations / issues?
I have a large legacy COBOL program which I would like to
restructure and capture the business rule implementations into
shared object libraries. I would then like to implement a new UI
(character or GUI) for part of the system in Forms. I would
consider using forms built in features for getting data from the
database but all inserts updates and deletes will go through the
business rule layer implemented in COBOL and deployed as shared
object libraries on unix.
Any and all help is appreciated.
Regards
Terry Bakker
nullTerry Bakker (guest) wrote:
: Can Forms 2.1 on Solaris 2.6 make calls to shared object
: libraries? What are the limitations / issues?
: I have a large legacy COBOL program which I would like to
: restructure and capture the business rule implementations into
: shared object libraries. I would then like to implement a new
UI
: (character or GUI) for part of the system in Forms. I would
: consider using forms built in features for getting data from
the
: database but all inserts updates and deletes will go through
the
: business rule layer implemented in COBOL and deployed as shared
: object libraries on unix.
: Any and all help is appreciated.
: Regards
: Terry Bakker
I have used Foreign Function Interface call (FFI) in Forms 5.0
to call function in Dynamic Linking Library (DLL) on Windows/NT.
You may be able to do the same thing (use FFI) to call shared
object libraries on Solaris.
Peter Ng
null -
How To Creating A Object Libraries In Oracle Forms 6i
hi
All
I Not No How To Creating a Object Libraries In Oracle Forms 6i
How To Add Your Pl/sql Block In a Lib
But What Is Use it is i Know , So I Want To Creating a Object Libraries.
So Any One Have A Idea Plz Help Me.Hi,
there is a good paper:
http://www.quovera.com/whitepapers/downloads/102_doc.zip
http://www.quovera.com/whitepapers/downloads/102_ppt.zip
Best,
Friedhold -
Converting object libraries vi command line
Forms, ifbld60.exe, allows you to create Forms, Libraies, Menus, and Object Libraries. It alsow allows you to convert each type from binary-to-text and back. I have been successful in using ifcmp60.exe to convert FORMS, LIBRARIES, and MENUS from binary-to-text and back.
How can I also convert Object Libries using ifcmp60.exe?I should add that the documented types for ifcmp60.exe are FORM, LIBRARY, MENU and PECS. Don't understand PECS, but I get errors when tring to convert using any of these module_type(s).
-
InDesign Object Libraries and DPS
Hello,
I'm familiar with InDesign object libraries' capability to make easily reusable objects and elements. What I'm wondering: if I create objects and elements in a Library to be reused across various pages and across multiple articles in my portfolio, will DPS read these multiple instances as ONE object when it comes time to publish?
What I am trying to achieve is ultimately a lower file download size of my app. For example, if I create a multistate object, is it possible, through Object Libraries, to use this object in several places within my folio and have it count as just one object in terms of file size?
Thanks in advance.No. Good ways to manage file size is to use PDF as your folio file format, to avoid embedding videos, and to avoid full-page multi-state objects.
Neil -
Object Group Vs Object Libraries
Hi ,
I have not used Object Groups and Object Libraries extensively....and am trying to understand them
Having read the form builder help ,I am still not clear with the following.
My questions are as follows
1)When should I be giving preference to Object Group over OBL?
2)Why will i use an Object Group ,when an object group's object is just a pointer to the
object in the form module?
Grouping of similar objects for one single form module only,does'nt provide me much benefits?
3)How will I reference an Object group's object and not a form's object which I have
moved into the object group and vice versa?
4)OBL module has a data block(say emp) as one of its many object,
how can I use this data block in my new forms module(will I be copying this data block
object from the attached OBL to the data block node of the form module in OBJECT navigator?).
will i have to create a Layout manually if I use the data block of OBL or will forms
builder automatically create a layout for this OBL data block.?
5)What are the types of objects which CANNOT be included in OBL and Object groups?
I am aware that I can't include an item of a data block if i don't include the data block itself.
rgds
sHi,
WIP wrote:
Hi ,
I have not used Object Groups and Object Libraries extensively....and am trying to understand them
Having read the form builder help ,I am still not clear with the following.
My questions are as follows
1)When should I be giving preference to Object Group over OBL?Depends on the requirement. The objects in the Object group are limited to the current form module. However, Object libraries can be used across the forms. Of course, you can subclass this object group in other modules.
>
2)Why will i use an Object Group ,when an object group's object is just a pointer to the
object in the form module?Its like a template. You define set of properties (say width, height and font for a text item), and then subclass the object to all the object you create in your form. So, they all will look similar. Also, once after creating the object group, you can add the object group to the object library. This can be very useful.
Grouping of similar objects for one single form module only,does'nt provide me much benefits?
So, here we use Object Library
3)How will I reference an Object group's object and not a form's object which I have
moved into the object group and vice versa?
You cannot reference the individual objects in the object groups.
4)OBL module has a data block(say emp) as one of its many object,
how can I use this data block in my new forms module(will I be copying this data block
object from the attached OBL to the data block node of the form module in OBJECT navigator?).
will i have to create a Layout manually if I use the data block of OBL or will forms
builder automatically create a layout for this OBL data block.?You can add all the Blocks, canvaces, etc to the Object grou, add the object group to the object library. Then, if you just copy/subclass the object group from the Object library, all the blocks, items, canvaces would be created automatically in the target form.
>
5)What are the types of objects which CANNOT be included in OBL and Object groups?
I am aware that I can't include an item of a data block if i don't include the data block itself.
Only the Parent objects can be included in the Object Group (Child objects cannot). However, in the Object Library, you can add the parent as well as child objects. Here, for ex, parent is a data block and child are the items inside the data block
-Arun
>
rgds
s -
Any body help me pls
how to create object lib. and connect to from pls
example . very essentialI'm not sure what you mean. Do you mean Object Libraries of Oracle Forms? If so, you probably have more luck posting this in the Forms forum.
Maybe you are looking for
-
.
-
How can I go back to the optimized version of the photo after I have viewed it on my iPad?
Hello, The reason why I chose the iCloud services (I'm on a 200GB plan), is that I wanted to be able to have on-demand access to my photo library and view my pictures, without having to store them on the device itself. Now It seems like every time I
-
Process flow for subsequent debit/credit
Hi, How to proceed for following scenario user had booked invoice using MIRO,later vendor sent one credit note for that booked invoice and po of SAP. how to impact this credit note for the existing invoioce verification in sap using subsequent c
-
Where do I put my sitemap?
Hi, I've created a sitemap for my website (www.jims-jaunts.co.uk) http://web.mac.com/rimmerpaula/iWeb/ using xmlsitemaps.com - http://www.xml-sitemaps.com/details-web.mac.com-rimmerpaula-iWeb.html I've dragged & dropped it into the following location
-
Hi I have surface Pro, windows 8.1, Adobe X up to date. I used to be able to fax directly from my Surface using Adobe X. Now I get an error saying Document count not be printed. then click ok, then another box pops up: There were no pages selected to