How to use oracle Bean
Hi All,
I am currently customize oracle form in Form Builder i just wanna use oracle functionality of oracle form which enable column position changes how can i use this functionality please advice.
Thanks
Edited by: 877432 on Dec 23, 2012 10:07 PM
Please review link how to use custom form in oracle EBS
http://docs.oracle.com/cd/E18727_01/doc.121/e12897/T302934T458265.htm
MOS note:
Customization in Oracle Applications [ID 743490.1]
thanks
Similar Messages
-
How to use oracle fusion middleware for integration project ?
hi all,
in my projects, customer (a bank) already has many applications (bankend & frontend) that are complicatedly connected. I intend to use oracle fusion middleware to integrate all applications and make adding new applications in the future easier. I have worked through documents in the oracle website but I still have no idea how to use oracle fusion middleware to address the requirement, besides oracle fusion middleware includes a bundle of applications I don't know which one I would need.
could anyone give me some instructions ? appreciate your help.
thank very much,Hi,
For this short description of environment, could be ODI is a incredible tool to help you...
Take a look into my blog that has a lot of concepts and "how to do" instructions.... http://odiexperts.com
However to try help you, what are the used technologies?
Where are you from?
Cezar Santos
http://odiexperts.com -
How to use Oracle partitioning with JPA @OneToOne reference?
Hi!
A little bit late in the project we have realized that we need to use Oracle partitioning both for performance and admin of the data. (Partitioning by range (month) and after a year we will move the oldest month of data to an archive db)
We have an object model with an main/root entity "Trans" with @OneToMany and @OneToOne relationships.
How do we use Oracle partitioning on the @OneToOne relationships?
(We'd rather not change the model as we already have millions of rows in the db.)
On the main entity "Trans" we use: partition by range (month) on a date column.
And on all @OneToMany we use: partition by reference (as they have a primary-foreign key relationship).
But for the @OneToOne key for the referenced object, the key is placed in the main/source object as the example below:
@Entity
public class Employee {
@Id
@Column(name="EMP_ID")
private long id;
@OneToOne(fetch=FetchType.LAZY)
@JoinColumn(name="ADDRESS_ID")
private Address address;
EMPLOYEE (table)
EMP_ID FIRSTNAME LASTNAME SALARY ADDRESS_ID
1 Bob Way 50000 6
2 Sarah Smith 60000 7
ADDRESS (table)
ADDRESS_ID STREET CITY PROVINCE COUNTRY P_CODE
6 17 Bank St Ottawa ON Canada K2H7Z5
7 22 Main St Toronto ON Canada L5H2D5
From the Oracle documentation: "Reference partitioning allows the partitioning of two tables related to one another by referential constraints. The partitioning key is resolved through an existing parent-child relationship, enforced by enabled and active primary key and foreign key constraints."
How can we use "partition by reference" on @OneToOne relationsships or are there other solutions?
Thanks for any advice.
/MatsCrospost! How to use Oracle partitioning with JPA @OneToOne reference?
-
How to use Java Beans In JSTL?
Hi
I want to know how to use Java bean in JSTL
please explain this with giving any one example.
Thanks-
SwapneelA bean is obtain by <jsp:useBean> tag nd once bean is obtained we can get its property by using getProperty tag.
-
How to use Oracle refcursor dataset output parameter from SP
Can I request for help on how to use Oracle Output parameter from a stored procedure as a source. I need the output tobe stored in a flat file
Thanks
Abhijit
Message was edited by:
Abhijit77yes I would like to use it for ODI.. I would like the ouput of the refcursor to be fed to a text file using ODI. How to handle the records returned by the refcursor and map with txt file.
-
How to Use Oracle 8i with MapX?
I am trying to work with oracle 8i 1.6 and mapX 4.5 but un-able to do so. I tried by adding server layer but couldn't do so.
Help !!Crossposted: Re: How to use Oracle partitioning with JPA @OneToOne reference?
-
How to use Java Beans in Oracle Forms 11g at 64 bit windows7
Hello Experts,
I am using Oracle forms 11.1.2.2.0 with weblogic 10.3.6 generic at windows 7 64 bit.
My java version is jdk1.7.0_51.
Now I have a htmlbutton.jar (which is for bean item in oracle form and this jar file works well for oracle forms 11g 32 bit windows 7 environment).
I have takken steps:
1:-Put jar file in home\java folder.
2:-add this jar file into archive in formsweb.cfg.
3:-Add this this jar file(which is in my home- java folder) in form_class path in registry.
Now when I try to locate this jar file in my oracle form.There is no such jar file.what are the steps to use this jar file in oracle forms bean item.
Please told me what is wrong here.
thank you
regards
aaditya.It is unclear where you are having a problem. Is your issue at runtime (when the form runs in the browser) or when working in the Builder on the form?
Also be aware that you will need to sign your jar and include some new manifest entries. Refer to the Java 7u51 documentation and blogs that discuss the changes.
https://blogs.oracle.com/java-platform-group/entry/new_security_requirements_for_rias
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html -
How to Use Oracle Coherence in BPEL 11g
i have a scenario to cache the results some where, so that i can make use of the same for the same request.
I hope this can be done using Oracle Coherence. Could you please let me know how can i use this coherence for cacheing in BPEL 11g (in my bpel process)
thanks for the help in advance.Hi.
U can use the Coherence API within a Spring bean.
Take a look at this https://blogs.oracle.com/jaylee/entry/accessing_coherence_cluster_using_spring
That's one way to do it.
best -
How to use Oracle Table Type values in Select Statement.
Hi,
I am fetching initial set of values into Oracle Table of Records Type and want to use list of values in the Select statement.
For example, try something like the following:
TYPE t_record IS RECORD (
ID TABLEA.ID%type,
NO TABLEA.NO%type,
v_record t_record;
TYPE t_table IS TABLE OF v_record%TYPE;
v_table t_table;
-- Code to populate the values in v_table here.
SELEC ID,NO, BULK COLLECT INTO <some other table variabes here> FROM TABLEA
WHERE ID IN v_table(i).ID;
I want to know how to use the values from Oracle Table Type in the Select Statement.Something like this:
create or replace type t_record as object (
id number,
no number
CREATE or replace type t_table AS TABLE OF t_record;
set serveroutput on
declare
v_table t_table := t_table();
v_t1 t_table := t_table();
begin
v_table.extend(1);
v_table(1).ID := 1;
v_table(1).No := 10;
v_table.extend(1);
v_table(2).ID := 2;
v_table(2).ID := 20;
SELEC t_record (ID,NO) BULK COLLECT INTO v_t1
from TableA
FROM TABLEA
WHERE ID IN (select t.ID from table(v_Table) t);
for i in 1..v_t1.count loop
dbms_output.put_line(v_t1(i).ID);
dbms_output.put_line(v_t1(i).No);
end loop;
end;
/Untested!
P;
Edited by: bluefrog on Mar 5, 2010 5:08 PM -
How to use oracle collection type with JDBC?
I try to use oracle collection type in java program. So I made some package and java program, however Java program was not found "package.collectiontype"(JDBC_ERP_IF_TEST.NUM_ARRAY) . please, show me how to use this.
Java Version : Java 1.4
JDBC Driver : Oracle Oci Driver
DB: Oracle 9i
No 1. Package
===========================================
create or replace package JDBC_ERP_IF_TEST AS
type NUM_ARRAY is table of number;
procedure JDBC_ERP_IF_ARRAY_TEST(P_NUM_ARRAY IN NUM_ARRAY, ERR_NO OUT NUMBER, ERR_TEXT OUT VARCHAR2);
procedure TEST(ABC IN NUMBER);
END JDBC_ERP_IF_TEST;
==================================================
No 2. Package Body
===============================================
CREATE OR REPLACE package BODY JDBC_ERP_IF_TEST is
procedure JDBC_ERP_IF_ARRAY_TEST(p_num_array IN NUM_ARRAY,
ERR_NO OUT NUMBER,
ERR_TEXT OUT VARCHAR2) is
begin
ERR_NO := 0;
ERR_TEXT := '';
dbms_output.enable;
for i in 1 .. p_num_array.count() loop
dbms_output.put_line(p_num_array(i));
insert into emp (empno) values (p_num_array(i));
commit;
end loop;
EXCEPTION
WHEN OTHERS THEN
ERR_NO := SQLCODE;
ERR_TEXT := ERR_TEXT ||
' IN JDBC INTERFACE TEST FOR ORACLE ERP OPEN API..';
ROLLBACK;
RETURN;
end JDBC_ERP_IF_ARRAY_TEST;
procedure TEST(ABC IN NUMBER) IS
begin
insert into emp(empno) values (ABC);
commit;
end TEST;
end JDBC_ERP_IF_TEST;
===============================================
NO 3. Java Program
===============================================
ArrayDescriptor descriptor = ArrayDescriptor.createDescriptor("JDBC_ERP_IF_TEST.NUM_ARRAY", getConnection());
ARRAY array = new ARRAY(descriptor, getConnection(), arrs);
cstmt = getConnection().prepareCall(LQueryFactory.getInstance().get("Meta/Basic/testJdbcErpArrayIf").getSql());
cstmt.setArray(1, array);
cstmt.registerOutParameter(2, Types.INTEGER);
cstmt.registerOutParameter(3, Types.VARCHAR);
====================================================
couldn't find this phase => JDBC_ERP_IF_TEST.NUM_ARRAY
what can i do for this package and program? please help me..Something like this:
create or replace type t_record as object (
id number,
no number
CREATE or replace type t_table AS TABLE OF t_record;
set serveroutput on
declare
v_table t_table := t_table();
v_t1 t_table := t_table();
begin
v_table.extend(1);
v_table(1).ID := 1;
v_table(1).No := 10;
v_table.extend(1);
v_table(2).ID := 2;
v_table(2).ID := 20;
SELEC t_record (ID,NO) BULK COLLECT INTO v_t1
from TableA
FROM TABLEA
WHERE ID IN (select t.ID from table(v_Table) t);
for i in 1..v_t1.count loop
dbms_output.put_line(v_t1(i).ID);
dbms_output.put_line(v_t1(i).No);
end loop;
end;
/Untested!
P;
Edited by: bluefrog on Mar 5, 2010 5:08 PM -
How to use Oracle database in CR XI R2!!!
Hi All,
I am having Oracle database in onsite machine.
I need to design the report without DSN and installing Oracle in my machine.
I dont know how to use connection String and Find DSN file option.
Please anyone help me to solve the issue.
Thanks in advance
Saravanakumar.hI,
Thank you for your reply.
1. I tried to give connection string, but i couldnt succeed.
2.If is give OLE(ODBC) I dono how the connection is established. Will it refer to TNSNAMES.ORA file, because it is simpy asking data source, use ID and password.
it will be helpful if you clarify me on the doubts.
Thank you,
Saravanakumar. -
How to use oracle OCIANYDATASET?
Hi, All
When I try to update oracle example "Pipelined Table Functions Example: C Implementation" to return OCIANYDATASET, but from oracle documnet, I cannot find any example about how to use OCIANYDATASET, would you please help me out of this issue, any example or advice is benefit for this issue. thanks.
The PL/SQL below works OK now:
member function ODCITableFetch(self in out StockPivotImpl, nrows in number, record_out out anydataset) return number is
rc SYS_REFCURSOR;
value pls_integer;
cur StockTable%ROWTYPE;
begin
record_out := null;
DBMS_ODCI.RestoreRefCursor(rc, self.cur_n);
if row_was_returned = 1 then
return ODCIconst.success;
end if;
row_was_returned := 1;
anydataset.begincreate(dbms_types.typecode_object, self.row_types, record_out);
loop
fetch rc into cur;
EXIT WHEN rc%NOTFOUND;
record_out.addinstance;
record_out.piecewise();
-- Setting the returned values:
record_out.setvarchar2(cur.ticker);
record_out.setnumber (cur.openprice);
record_out.setnumber (nrows);
record_out.setvarchar2('new_column');
end loop;
close rc;
record_out.endcreate;
return odciconst.success;
end;But how to implement below C function, especially how to append value into OCIAnyDataSet and return it?
-- Create table function
CREATE FUNCTION StockPivot(p refcur_pkg.refcur_t) RETURN anydataset
PIPELINED USING StockPivotImpl;
SELECT * FROM TABLE(StockPivot(CURSOR(SELECT * FROM StockTable)));
MEMBER FUNCTION ODCITableFetch(self IN OUT StockPivotImpl, nrows IN NUMBER,
record_out out anydataset) RETURN PLS_INTEGER
AS LANGUAGE C
LIBRARY StockPivotLib
NAME "ODCITableFetch"
WITH CONTEXT
PARAMETERS (
context,
self,
self INDICATOR STRUCT,
nrows,
record_out,
record_out INDICATOR,
RETURN INT
int ODCITableFetch(OCIExtProcContext* extProcCtx, StockPivotImpl* self,
StockPivotImpl_ind* self_ind, OCINumber* nrows,
OCIAnyDataSet* outSet, short* outSet_ind)Edited by: BluShadow on 11-Apr-2013 10:42
added {noformat}{noformat} tags for readability. Please read the FAQ: {message:id=9360002} and learn to do this yourself in future.Thanks for your reply, Yes, I have read the doc, but it seems like that doesn't work in my code. I'm not sure whether I missed something. My steps below:
int ODCITableFetch(OCIExtProcContext* extProcCtx, StockPivotImpl* self,
StockPivotImpl_ind* self_ind, OCINumber* nrows,
OCIAnyDataSet* outSet, short* outSet_ind)
OCIAnyData* myData = (OCIAnyData*)0;
status = OCIAnyDataSetBeginCreate(handles.svchp, handles.errhp, OCI_TYPECODE_OBJECT, (OCIType *)self->out, OCI_DURATION_SESSION, &outSet);
status = OCIAnyDataSetAddInstance(handles.svchp, handles.errhp, outSet, &myData);
//AAA
OCIStringAssignText(handles.envhp, handles.errhp, (text *)"CA", 2, &str);
checkerr(&handles, OCIAnyDataAttrSet(handles.svchp, handles.errhp, (OCIAnyData*)myData, (OCITypeCode)OCI_TYPECODE_VARCHAR2,(OCIType *)0, (dvoid *)&indp, (void*)str, sizeof(str), FALSE)); // Crashed here
//BBB
status = OCIAnyDataSetEndCreate(handles.svchp,handles.errhp, outSet);
//CCC
return ODCI_SUCCESS;
It crashed in function OCIAnyDataAttrSet(), but when I added the function OCITypeByName() and OCIAnyDataBeginCreate() in AAA and OCIAnyDataEndCreate() in BBB, no error happened again and I can get the instance in CCC with function OCIAnyDataSetGetInstance() and I also can get the value via function OCIAnyDataAttrGet() after CCC from the instance, but when I run the query, it is no rows selected, why? -
I'm storing files in a blob field in a 9i database, sometimes I need to query using the details stored in the database about the file and sometimes I need to search the files to find matches with some text (like search engine), I was told that oracle text can help me accomplish this functionality , however I don't know if it supports arabic text and I don't know how to use it from my application developed in 9i.
Regards.Friend by using these step you can easily use Oracle inter text media
j a h a n z e b
[email protected]
Oracle Developer
6th Floor, State Bank of Pakistan
I.I.Chundrigar Road, Karachi.
Please note that in SqlPlus you can use '?' in stead of $ORACLE_HOME, and this works on Unix and Windows so if you want to execute $ORACLE_HOME/rdbms/admin/catalog.sql you can simply use:
on Unix sql> @?/rdbms/admin/catalog.sql
on Windows sql> @?\rdbms\admin\catalog.sql
5.2.1 Explanation of installation steps
1. Connected to database as SYSDBA and create CTXSYS user:
Ctxsys user is created by calling following script:
@?/ctx/admin/dr0csys.sql <ctxsys> <system> <temp>
Where:
change_on_install - is the ctxsys user password
DRSYS - is the default tablespace for ctxsys
TEMP - is the temporary tablespace for ctxsys
This will create user CTXSYS and grants full privileges to CTXSYS in order to create and insert into result tables, execute callbacks, rewrite queries, and perform system cleanup. At this point CTXSYS will not own any objects.ss
2. Connected to database as CTXSYS and create all necessary objects
All necessary object are creates by calling following script:
connect CTXSYS/change_on_install
@?/ctx/admin/dr0inst <replace with $ORACLE_HOME>/ctx/lib/libctxx9.so;
Please not that you have to put full path to your ORACLE_HOME, for example home as paramter
On Solaris/Aix/Linux with $ORACLE_HOME of /u01/app/oracle/product/8.1.7
@?/ctx/admin/dr0inst.sql /u01/app/oracle/product/8.1.7/ctx/lib/libctxx8.so
On HP-UX with $ORACLE_HOME of /u01/app/oracle/product/8.1.7
@?/ctx/admin/dr0inst.sql /u01/app/oracle/product/8.1.7/ctx/lib/libctxx8.sl
Windows NT/2000 with D:\oracle\product\8.1.7
@?/ctx/admin/dr0inst.sql D:\oracle\product\8.1.7\bin\oractxx8.dll
This will installs all Oracle database objects required by the Oracle Text system. This includes:
a) Data dictionary tables, views, sequence, packages
b) Server management tables, views and packages
c) Dispatcher packages
d) Service queue objects
3) Install appropriate language-specific default preferences.
The next step is to install appropriate language-specific default preferences.When you use CREATE INDEX to create an index or ALTER INDEX to manage an index, you can optionally specify indexing preferences in the parameter string. There are seven preference classes:
- Lexer, defines the language being indexed. ( language specific )
- Wordlist, defines the expantion of stem and fuzzy queries. ( language specific )
- Stoplist, defines words and themes that are not be indexed. ( language specific )
- Datastore, defines document storage.
- Filter, defines standards for converion of documents to plaintext.
- Storage, defines the storage of the index tables.
- Section group, enables possibilities to define document sections.
There is script which creates language-specific default preferences for every language Oracle text supports in <ORACLE_HOME>/ctx/admin/defaults directory, such as English(US), Danish(DK), Dutch(NL), Finnish(SF), French(FR), German(DE), Italian(IT), Portuguese(PR), Spanish(ES), and Swedish(S). They are named in the form drdefXX.sql, where XX is the language code. To manually install US default preferences, for example, log into sqlplus as CTXSYS, and run 'drdefus.sql' as described below:
@?/ctx/admin/defaults/drdefus.sql
create user textuser identified by textuser
default tablespace users
temporary tablespace temp;
-- You must grant 'ctxapp' role to textuser
grant connect, resource, ctxapp to textuser;
connect textuser/textuser
drop table quick;
create table quick (
quick_id number
constraint quick_pk primary key,
text varchar2(80) );
insert into quick ( quick_id, text ) values (1,'The cat sat on the mat');
insert into quick ( quick_id, text ) values (2,'The quick brown fox jumps over the lazy dog' );
insert into quick ( quick_id, text ) values (3,'The dog barked like a dog');
commit;
create index quick_text on quick ( text )
indextype is ctxsys.context;
col text format a45
col s format 999
select text, score(42) s from quick
where contains ( text, 'dog', 42 ) > 0
order by s desc; -
Step by Step how to Use Java Beans in Form 6i
Dear All,
Can anybody tell me step by step how to use Javabeans in form 6i.
What i want is to know which form is getting executed and by whom with ip address on application server.
When is execute the form made using javabeans
Best Regards,
DevendraHello,
<p>Here is the best way to start with Javabeans.<br>
After reading that, you can see if this bean can fit</p>
Francois -
How to use Oracle Spatial in this scenario
My scenario is like that:
I'm very new to Oracle Spatial
I'm building an application that will be based on asp.net.(I am
confident about .net)
As per my client requirement there are some kml file in one archive
folder.
Let me give an example:
say there is a kml file for region A.(latitude say 36 n to 40 n and
longitude is 110 w to 115 w) already in the archive folder.
Now if a new kml file(say A1.kml) that has been created by the user
and say its latitude and longitude are respectively 37n and 112w. As we clicked A.kml, google earth is opened up for the region A and as
we move our mouse cursor to more deeper more polygons are visible.
eventually polygon for A1.kml is also visible and definitely which is
inside the polygon for region A.
How can I achieve this thing by using oracle spatial 10g? ---(it's one of my senior's advice to use "oracle spatial 10g" in this scenario)
I'm not too sure whether I can able to make it clear to u about my
situation; plz xcuse me if I'm wasting ur valuable time.Hi,
This link helped me a lot!
http://www.oracle.com/technology/pub/articles/rubio-mashup.html
Hope it could help you too.
Best regards,
Luiz
Maybe you are looking for
-
How do I back up my ipod to a usb drive?
I live out of town and finally got to a mac store last week and the guy said the best he could do was reset my ipod and see if the camera that's broken on the front would work without my settings but he realized I would need it for the car ride back
-
CS6 System Requirements + Hardware Questions
I am in hope that someone who is knowledgeable regarding hardware can confirm that my computer would meet the system requirements for CS6. I tried to get some answers via Adobe Chat, but the person was not that helpful. I have an old Mac Pro 1,1 Dual
-
How can I get the difference of tables between two oracle server?
We team have 2 oracle servers in the same version. one is develop server and the other is priduct server. I want to know what is difference in tables define between the two oracle servers. give me a method or a step or a sql script or a tool to compa
-
PR commitment becomes zero while PO is in hold in EHP4
In ECC6 while PO was in hold mode PR value was not reduced. But in EHP4 upgradation PR value/ commitment reduced while PO is in Hold. So the budget is being available to user to create another PR and while going to save the old PO system asked for
-
Hi, I bought a Macbook in 2007/2008 and am wondering if it is possible to update my system so I can get the new version of iTunes? Here are my current system details: Mac OsX Version 10.5.8 Hardware Overview: Model Name: MacBook Model Identifi