How to load a java script in oracle database
Is it possible to load d java script in Oracle database. while the object type is
java resource ..
RENUJP wrote:
I meant to load a javascript to oracle database not to oracle appliocation.
like loadjava....
I can load a javascript to oracle database.. but i can't call it...Please re-read the comments above, especially the part about this not being a javascript nor oracle forum. Exactly what part about this information don't you understand?
Similar Messages
-
How to load text file data to Oracle Database table?
By using Oracle Forms, how to load text file data to Oracle Database table?
Metalink note 33247.1 explains how to use text_io as suggested by Robin to read the file into a Multi-Row block. However, that article was written for forms 4.5 and uses CREATE_RECORD in a loop. There was another article, 91513.1 describing the more elegant method of 'querying' the file into the block by transactional triggers. Unfortunately this more recent article has disappeared without trace and Oracle deny its existence. I know it existed as I have a printed copy in front of me, and very useful it is too.
-
How to load a java file into Oracle?
Hello,
I have some problem in loading a java file into Oracle 8i. I used "loadjava -user <userName/Password> -resolve <javaClassName>" command.
JAVA Version used JDK 1.5
When calling this class file from a trigger gives this error
ORA-29541: class ANTONY1.DBTrigger could not be resolved.
Can anyone help me to resolve this problem?Hello,
Which username did you use to load the class, and which user is running the trigger?
The default resolver searches only the current user's schema and PUBLIC so the java class needs to be loaded into one of these.
cheers,
Anthony -
How to load excel-csv file into oracle database
Hi
I wanted to load excel file with csv extension(named as trial.csv) into
oracle database table(named as dept),I have given below my experiment here.
I am getting the following error,how should I rectify this?
For ID column I have defined as number(5) datatype, in my control file I have defined as interger external(5),where as in the Error log file why the datatype for ID column is comming as character?
1)my oracle database table is
SQL> desc dept;
Name Null? Type
ID NUMBER(5)
DNAME CHAR(20)
2)my data file is(trial.csv)
ID DNAME
11 production
22 purchase
33 inspection
3)my control file is(trial.ctl)
LOAD DATA
INFILE 'trial.csv'
BADFILE 'trial.bad'
DISCARDFILE 'trial.dsc'
APPEND
INTO TABLE dept
FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
(ID POSITION(1:5) INTEGER EXTERNAL(5)
NULLIF ID=BLANKS,
DNAME POSITION(6:25) CHAR
NULLIF DNAME=BLANKS
3)my syntax on cmd prompt is
c:\>sqlldr scott/tiger@xxx control=trial.ctl direct=true;
Load completed - logical record count 21.
4)my log file error message is
Column Name Position Len Term Encl Datatype
ID 1:5 5 , O(") CHARACTER
NULL if ID = BLANKS
DNAME 6:25 20 , O(") CHARACTER
NULL if DNAME = BLANKS
Record 1: Rejected - Error on table DEPT, column ID.
ORA-01722: invalid number
Record 21: Rejected - Error on table DEPT, column ID.
ORA-01722: invalid number
Table DEPT:
0 Rows successfully loaded.
21 Rows not loaded due to data errors.
0 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Bind array size not used in direct path.
Column array rows : 5000
Stream buffer bytes: 256000
Read buffer bytes: 1048576
Total logical records skipped: 0
Total logical records read: 21
Total logical records rejected: 21
Total logical records discarded: 0
Total stream buffers loaded by SQL*Loader main thread: 0
Total stream buffers loaded by SQL*Loader load thread: 0
5)Result
SQL> select * from dept;
no rows selected
by
balamuralikrishnan.sHi everyone!
The following are the steps to load a excell sheet to oracle table.i tried to be as simple as possible.
thanks
Step # 1
Prapare a data file (excel sheet) that would be uploaded to oracle table.
"Save As" a excel sheet to ".csv" (comma seperated values) format.
Then save as to " .dat " file.
e.g datafile.bat
1,Category Wise Consumption Summary,Expected Receipts Report
2,Category Wise Receipts Summary,Forecast Detail Report
3,Current Stock List Category Wise,Forecast rule listing
4,Daily Production Report,Freight carrier listing
5,Daily Transactions Report,Inventory Value Report
Step # 2
Prapare a control file that define the data file to be loaded ,columns seperation value,name and type of the table columns to which data is to be loaded.The control file extension should be " .ctl " !
e.g i want to load the data into tasks table ,from the datafile.dat file and having controlfile.ctl control file.
SQL> desc tasks;
Name Null? Type
TASK_ID NOT NULL NUMBER(14)
TASK_NAME VARCHAR2(120)
TASK_CODE VARCHAR2(120)
: controlfile.ctl
LOAD DATA
INFILE 'e:\datafile.dat'
INTO TABLE tasks
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
(TASK_ID INTEGER EXTERNAL,
TASK_NAME CHAR,
TASK_CODE CHAR)
The above is the structure for a control file.
Step # 3
the final step is to give the sqlldr command to execute the process.
sqlldr userid=scott/tiger@abc control=e:\controlfile.ctl log=e:\logfile.log
Message was edited by:
user578762 -
How to load data in HFM from oracle database without FDM
hi all,
I want to know that whether we can load data directlyrom oracle database residing on different server without writing the integartion script in FDM.
points to note:
we want to load data without using
1.FDM
2.Flat file
3.Excel file or csv or dat fileThe process is described in the EPMA administrator's guide, which you can find in pdf format included in the HFM product documentation. The file name is bpma_admin.pdf. In the case that you have installed HFM (and included EPMA during the installation process), you may find this file in a folder that will look like C:\Hyperion\FinancialManagement\Documentation\en.
If you do not have installed the products yet, you should bear in mind that all Hyperion product documentation (including HFM) can be downloaded from the e-delivery site of Oracle (http://edelivery.oracle.com). The Hyperion product documentation is a large archive (zip), containing smaller archives per product. The smaller archive you need to open once you download the complete product documentation is the hfm_93100_product_doc.zip. -
How to use Java Script in Oracle Forms 10g
Hello,
Appreciate if anyone could help me using Java Script in Oracle Forms 10g?
Thanks
GMThank you for your reply. I was reading on the metalink that we could use the to call the java script from oracle Forms 10g (Doc ID 265863.1)
Example:
WEB.SHOW_DOCUMENT ('javascript:void(window.open("http://www.oracle.com","","location=no,toolbar=no,menubar=no,status=no,"));self.close()','_blank');
I tried it but it did not open the any window as it claims. Am I missing anything? Is there any IE related setting which I need to modify for the above to work?
Regards
GM -
How & where to use Java script to create new button in object detail page
Hi All,
I want to create "New/Add button" in object detail page. If i am not wrong i need to use java script for that but could you please let me know how & where to use Java script to create new button in object detail page in CRMOD.
Thanks in advance.
Regards,
ManishAny related object on the detail page should have an "Add" or "New" or both buttons by default - This is vanilla functionality and will do the required action.
If you want to modify this behaviour and do something tricky you will potentially have to go for javascript. You should add the javascript on a custom web tab on that Object.
Admin --> Application Customization --> Contact -->Contact Web Applet
Now, add your javascript in the code area, after you select the type = HTML for this web applet, expose this web applet on the Contact detail layout and your javascript will be invoked whenever this page is loaded.
Check this online document to see how javascript can be embedded in CRM on Demand http://helponmyproject.com/TTOCOD/
Cheers!
Royston -
Hi!!!
I�m trying to execute a example program included in http://archive.coreservlets.com/, the file is FruitTest.java....this compile very well...but....when i tried to execute it i have the following error:
Error loading driver: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
Could somebody tell me what i have to add to my classpath?...and how to know if i have to download something and in what link is it?......
Thanks in advance...
MaryHi mary,
Please try following code, but before that please include classes12.zip in ur classpath. This file contains the oracle thin driver.
Connection connection = null;
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
String url = "jdbc:oracle:thin:@dbUrl"
connection = DriverManager.getConnection(url, "dbName", "password");
}catch (Exception e){
e.printStackTrace();
good luck ...san :-) -
How to Use the JAVA SCRIPT code in .htm page of the component
Hi .
In my requirement i have to use Java Script Function in .htm code ..how to use the java script code and functions in .htm???
thank you
B.ManiCheck this document [Arun's Blog|http://wiki.sdn.sap.com/wiki/display/CRM/CRMWebClientUI-TalkingwithJava+Script]
Regards
Kavindra -
How to load a java card applet into a java card
Dear All,
I am a novice to java card technology..
I have done some search on how to load a java card applet into a smart card but haven't found a satisfactory answer. I have read about installer.jar and scriptgen tool but I want to load the applet from a java program and not from command line. It would be of great help if somebody can help me out.
If somebody can share a sample program which load a javacard applet(.CAP file) into a smart card, I will be very thankful.
I am able to find some client applications which help us send APDU commands and recieve response APDU's to interact with an applet loaded on to the smart card but not application which actually load the applet.
I have heard of OCF and GP.. some say that OCF technology is outdated and no longer in use.. can somebosy throw some light on this too..
cheers,
ganeshhi siavash,
thanks for the quick response.. i checked out GPShell as suggested, it looked like a tool by which one can load an applet on to card and send some sample apdu commands... but I want to load the applet from the code.
My application should look something like this.. it will be a swing applicaton where I have a drop down with a list of readers, I select the one desired and then click on "LOAD" after inserting a blank java card, at this point my applet which is stored in my DB should get loaded on to the java card. The next step should be to personalize it where I enter the values for the static variables of my applet and click "PERSONALIZE", at this point all these values should be embedded into APDU commands and sent to the java card for processing.
For achieving this I am yet to find a comprehensive sample or documentation on the net.
Please help...
regards,
ganesh -
How to access a JAVA Script variable in JSP Code
How to access a JAVA Script variable in JSP Code. I have been unable todo this.
Plz Suggest a way.
Thanks
Soumyatry to do this code
String s=request.getParameter("javascriptvariablename"); -
How to call a java script in while eventprocessing?
hi friends,
How to call a java script from an event.
when i click a button, i want to display a message in IE.
For ex: BTN_CAN,
When i click on this in IE i want show a message like "clicked on cancelled".
how can i do this.....
in javascript WINDOW.ALERT i am trying....
Regards,
Shankar.you can do some thing like this...
< % @ pa g e la ng uag e="a b ap" %>
< % @ e xte n sion name="htmlb" prefix="h tm l b" % >
< h t m l b:co nt e nt d es ign="design2 00 3" >
< ht m lb:page title=" " >
< h tm lb :for m >
< h t mlb:textVi ew text = "Hello World!"
des ign = "EMPHASIZED" />
< ht m lb :bu tton text = "Press Me"
on Clie ntC lick = "al ert(' H ell w or l d')" / >
< / h t mlb :for m >
< / ht mlb :pa g e >
< / htm lb:co nt e nt >
Edited by: Vijay Babu Dudla on Oct 6, 2008 7:20 AM -
How to remove a java script pop up
Hi,
I imported a robohelp document from another company and i am
catering it to my company's needs. The problem is they have popups
which refer to .bmp and it is in java script. If i highlight the
word which has the pop up and remove the popup and then highlight
the normal word again and refer it to my topic in the project
manger; it still refers to their image and not mine. It is strange
but true. I don't know how to remove the java script cos each time
i hover over the highlighted text there are 2 red squares on the
left and right hand side of the word highlighted which i want to
change from their image to mine.
Any help would be much appreciated .
Thanks,
Ramyaplease take a look at this
//--></script></robohelp>
on the <b style="font-weight: normal;">Environmental
Consequence</b> window
captures and displays information that you reported to a
governmental
agency, police, rescue center, or internal company sources.
</p>
<div class=droptext id=POPUP286607275 x-ss-type=dropdown
style="display: none;">
<p class=Graphic style="margin-left: 0in;"><img
src="agency_notification_tab.bmp"
x-maintain-ratio=TRUE class=img_whs2 style="width: 1108px;
height: 120px; border-style: none; border-style: none;"
width=1108 height=120 border=0></p>
</div>
<p class=Body>The following is a description of some of
the fields that
display on the <b style="font-weight:
normal;">Agency Notification</b> tab:</p>
<ul class=whs3 style="list-style: disc;" type=disc>
<li class=p-BulletedList1><p
class=BulletedList1><b style="font-weight: bold;">Reported
By</b> - Person who reported the incident to an agency
or organization.</p></li>
<li class=p-BulletedList1><p
class=BulletedList1><b style="font-weight: bold;">Agencies
Notified</b> - Agencies or organizations notified
about the incident.</p></li>
<li class=p-BulletedList1><p
class=BulletedList1><b style="font-weight:
bold;">Contact</b>
- Contact person at the notified agency or
organization.</p></li>
<li class=p-BulletedList1><p
class=BulletedList1><b style="font-weight: bold;">Notify
Date</b> - Date the agency was
notified.</p></li>
<li class=p-BulletedList1><p
class=BulletedList1><span style="font-weight:
bold;">Comment/Report
Number</span> - This field can be used to record any
comments, notes,
agency report/case numbers associated with the agency
notification. </p></li>
</ul>
<p class=TableText><a href="javascript:void(0);"
onClick="var e; if (parseInt(navigator.appVersion)>=4){e=event;}
if (parseInt(navigator.appVersion) >=2 &&
typeof(PopupMenu_Invoke) == 'function')
PopupMenu_Invoke(e,'','Action
Buttons','../../03_Getting_Started_files/Action_Buttons.htm','Adding
a Row','../../03_Getting_Started_files/Adding_Row.htm','Adding Text
Entries','../../03_Getting_Started_files/Adding_Text_Entries.htm','Deleting
a
Row','../../03_Getting_Started_files/Deleting_Rows.htm','Environmental
Consequence
Record','EC_Environmental_Consequence_Record.htm','Searching by
Personnel
ID','../../03_Getting_Started_files/Searching_by_Personnel_ID.htm','Selecting
the
Time','../../03_Getting_Started_files/Selecting_Time.htm');return
false"
title="Related Topics" id=a2 style="position:
relative;"><img src="../../ss_btn_related_topics1.gif"
alt="Related Topics" style="width: 81px; height: 17px;
border-style: none; border-style: none;"
width=81 height=17
border=0></a><robohelp><script
type="text/javascript"
language=JavaScript1.2><!--
InitEffects('a2');
//--></script></robohelp>
</p>
<script language=javascript1.2
type="text/javascript"><!--
kadovTextPopupInit('a1','POPUP286607275');
//--></script>
if you could paste this code on your word doc and try to
search for .bmp it exactly shows where it is used i tried removing
that line but it acted strange as even when i added a pop up to a
word it does not show anything in the view mode. -
How to call a java script?
Hi,
I m new to Indesign and also to MAC OS...
I ve tried the sdk samples of InDesign CS3 on MAC OS. It works well.
I m making changes to one of the samples (BasicPanel). I ve added few check boxes and buttons in it. I donno where to give the code for button(in the panel) event/action?
I also need to know "how to call a java script from InDesign CS3 SDK ?"...
I have the Scripts ready... Can someone provide the code used to call JS...
Someone pls help me.....
Thank You...Here s the code to call a Javascript:
IDFile scriptFile;
FileUtils::GetAppInstallationFolder(&scriptFile); //application folder path
FileUtils::AppendPath(&scriptFile, PMString("Scripts", -1, PMString::kNoTranslate));
FileUtils::AppendPath(&scriptFile, PMString("Scripts Panel", -1, PMString::kNoTranslate));
//inside the scripts panel, append path of the folder in which ur script is present.
//Suppose, ScriptsPanel->NewFolder->Link.jsx
FileUtils::AppendPath(&scriptFile, PMString("NewFolder", -1, PMString::kNoTranslate));
FileUtils::AppendPath(&scriptFile, PMString("Link.jsx", -1, PMString::kNoTranslate));
InterfacePtr<IScriptRunner>scriptRunner(Utils<IScriptUtils>()->QueryScriptRunner(scriptFi le));
bool filestatus=scriptRunner->CanHandleFile(scriptFile);
if(filestatus==1)
scriptRunner->RunFile(scriptFile,kTrue,kFalse);
Regards,
tnhems -
"how to load a text file to oracle table"
hi to all
can anybody help me "how to load a text file to oracle table", this is first time i am doing, plz give me steps.
Regards
MKhaleelUsage: SQLLOAD keyword=value [,keyword=value,...]
Valid Keywords:
userid -- ORACLE username/password
control -- Control file name
log -- Log file name
bad -- Bad file name
data -- Data file name
discard -- Discard file name
discardmax -- Number of discards to allow (Default all)
skip -- Number of logical records to skip (Default 0)
load -- Number of logical records to load (Default all)
errors -- Number of errors to allow (Default 50)
rows -- Number of rows in conventional path bind array or between direct path data saves (Default: Conventional path 64, Direct path all)
bindsize -- Size of conventional path bind array in bytes (Default 256000)
silent -- Suppress messages during run (header, feedback, errors, discards, partitions)
direct -- use direct path (Default FALSE)
parfile -- parameter file: name of file that contains parameter specifications
parallel -- do parallel load (Default FALSE)
file -- File to allocate extents from
skip_unusable_indexes -- disallow/allow unusable indexes or index partitions (Default FALSE)
skip_index_maintenance -- do not maintain indexes, mark affected indexes as unusable (Default FALSE)
commit_discontinued -- commit loaded rows when load is discontinued (Default FALSE)
readsize -- Size of Read buffer (Default 1048576)
external_table -- use external table for load; NOT_USED, GENERATE_ONLY, EXECUTE
(Default NOT_USED)
columnarrayrows -- Number of rows for direct path column array (Default 5000)
streamsize -- Size of direct path stream buffer in bytes (Default 256000)
multithreading -- use multithreading in direct path
resumable -- enable or disable resumable for current session (Default FALSE)
resumable_name -- text string to help identify resumable statement
resumable_timeout -- wait time (in seconds) for RESUMABLE (Default 7200)
PLEASE NOTE: Command-line parameters may be specified either by position or by keywords. An example of the former case is 'sqlldr scott/tiger foo'; an example of the latter is 'sqlldr control=foo userid=scott/tiger'. One may specify parameters by position before but not after parameters specified by keywords. For example, 'sqlldr scott/tiger control=foo logfile=log' is allowed, but 'sqlldr scott/tiger control=foo log' is not, even though the position of the parameter 'log' is correct.
SQLLDR USERID=GROWSTAR/[email protected] CONTROL=D:\PFS2004.CTL LOG=D:\PFS2004.LOG BAD=D:\PFS2004.BAD DATA=D:\PFS2004.CSV
SQLLDR USERID=GROWSTAR/[email protected] CONTROL=D:\CLAB2004.CTL LOG=D:\CLAB2004.LOG BAD=D:\CLAB2004.BAD DATA=D:\CLAB2004.CSV
SQLLDR USERID=GROWSTAR/[email protected] CONTROL=D:\GROW\DEACTIVATESTAFF\DEACTIVATESTAFF.CTL LOG=D:\GROW\DEACTIVATESTAFF\DEACTIVATESTAFF.LOG BAD=D:\GROW\DEACTIVATESTAFF\DEACTIVATESTAFF.BAD DATA=D:\GROW\DEACTIVATESTAFF\DEACTIVATESTAFF.CSV
Maybe you are looking for
-
Folks, Hello. I have been installing HCM and Campus Solution 9.0 with PeopleTools8.53. Server machine is Oracle Linux 5.10 and client machine is Windows XP. My internet architecture is WebLogic11g/Tuxedo11g/OracleDatabase 11gR1. Peopletools 8.53 run
-
How do I convert a pdf file into a fillable pdf form
how do i convert a pdf into a fillable pdf
-
Newer version of MT Extra Font needed
When I open both MathType and Word's Equation Editor I get a warning saying that I need a newer version of the MT Extra Font than is currently active. I should reinstall MathType, although it was installed only less than a month ago, or manually dis
-
After Effects 7.0 keeps crashing (0::42)
Hi there, I'm working with AE 7.0 and everytime I try to render a project, AE keeps crashing. (After Effects can't continue... or something similar) Today it even crashed while adjusting my preferences... I'm trying to render a 9 min composition cons
-
Hi, The requirement is not to allow changing the Incoterms in PO thro' change/release T. codes. only when creating PO thro' ME21N, this field can be editable. Hence, I have configured thro' OLME-Purchase Order-Define screen layout at document level a