Help required in developing SQL developer extension
Hi,
We have a requirement to develop an extension for Sql Developer. The requirement matches the Reports framework in Sql Developer.
We need to have a separate dock as in reports where we can navigate through the tree and execute some predefined queries.
I implemented this using the Docking Sample of Sql Developer extensions. I am able to show a separate dock with the tree hieararchy of the nodes and adding context menus to the nodes.
But , the problem is how do we integrate this UI with the queries and how do we prompt the user to select the connections and other bind variables.
We can do this by using an XML file and importing it in the reports. But, we need a separate dock for our functionality.
I tried modifying the reports API by obtaining the code from the oracle.sqldeveloper.report.jar . But , facing problems while compiling the modified code to a jar.
Any help in this regard is appreciated.
Edited by: 883431 on Sep 8, 2011 12:32 AM
Sorry for that,
Here is what I did,
Create a variable for posting period
Put posting period in column.
Create 2 selections for the KF.
Restrict 1st sel from Jan Variable-1
Restrict 2nd sel from Variable Dec
Similar Messages
-
Help required with developer licensing
Hi
My name is Mike Spiers and I have enrolled on behalf of my employer, Newman University (UK) as an Apple developer so that we can produce apps for iOS. I understood from the outset that this was the most appropriate type of license for us to have as we primarily wish to be able to produce such apps to support our research work rather than deliver tuition to students on development of software for iOS, though that may come in the future.
Having now enrolled, agreed to license terms, provided payment details etc., I now wish to be able to add my colleagues so that each of us can use this developer license, as I have been led to believe via Apples enrollment recruitment process.
Can somebody please provide me with some guidance as to how to go about this? We essentially require the ability for any of us (there are only a handful of us working on these projects) to be able to develop software and submit it to the Apple store under our corporate banner for subseqent user download/installation.
Thank you.
Regards,
Mike Spiers
Newman University
Birmingham
EnglandSell, give, there is not much difference anymore. The difference is the distribution. If this is for public distribution then you are taking the correct approach. If you want to have multiple people be able to submit apps in the unversity's name, then you will need a business account. You can contact Apple and see about changing your account type. It might be easier to just start the process of opening a business account. It may take some time. In the interim, you can continue with what you have and have only one person be responsible for submissions. Anyone else can develop and test in the simulator. If they have their own, individual accounts then they can test on a device. if you decide to open a new business account, you can transfer your app over to the new account. If you try to change your current account, there may be other issues you will need to plan for. I suggest contacting Apple Developer support directly and asking. Either way, it is going to take some time.
-
Help required in Development of Dynamic forms
Hi all,
I want to design dynamic form (using forms 6i), in which the end user will display the screen according to his own requirement i.e on the run-time screen user want to display particular field or not.
In this we have to re-arrange the position of the fields at the run time.Suppose, if the one field is not displayed then immediate next displayed field should take the position of the first non-displayed field.
Can anybody share their ideas ??
Regards.
AshutoshFrancois Degrelle wrote:
Have a look at the Steve Cosner QA utility, that exactly does what you want.I have changed my website address, since AOL has terminated their user web hosting service. I now use my employer's system where they have made space available for staff. So the QA utility form (and several others) are now at: http://userwww.sfsu.edu/~stevec/forms/index.htm
The source for QA.fmb is also available to download.
I offer an apology for popping up a number of old threads. I have been editing all the links to the old AOL site that I can find, and when I change them, the forum software pops the thread back to the top. -
Help required in developing Wage Return Interface
Below is a part of the requirement:
This XML file will be packed into .zip format and senT to the Tax Authority outside SAP. There are two methods for this there is a BAPI channel and a FOS channel. SAP recommends all clients to use the FOS channel because for BAPI user-exits are required. The FOS channel allows client to send files via a secured FTP connection. It is the responsibility of client to send this file via FTP. This step should be automated.
Kindly let me know what is a FOS channel??.got it
-
Help required in developing a BEx query
I have requirement in which I need 12 columns for 12 months. User enters month and year while executing the report. The report should display output from January till the month entered for the year entered by the user. Remaining months should come for prior year.
Ex: If a user enters month=4 and year=2007.
Then the output should in the report should be, months 1-4 for the year 2007 and months 5-12 for the year 2006.
Please advice on how to design it.
Thank you,
samSorry for that,
Here is what I did,
Create a variable for posting period
Put posting period in column.
Create 2 selections for the KF.
Restrict 1st sel from Jan Variable-1
Restrict 2nd sel from Variable Dec -
Help required in connecting sql devloper to db 11g
any please tell me how to connect to the database 11g using SQL developer
What r the configuration settings to be usedFor a basic connection (using the jdbc thin driver) you need to specify the hostname of the database server, the database serveice name and the port number (probably 1521). You also need to provide a username and password.
-
i am new to sql and have to write following program
my tables r
department
dept_id location
1 London
2 New York
3 Singapore
4 Tokyo
employee
emp_id dept_id salary tier_id
1 2 20000 4
2 4 200000 1
3 3 25000 4
4 1 60000 2
5 1 30000 3
tier
tier_id tier_name
1 Director
2 Manager
3 Analyst
4 Intern
I need to write
1.the DDL to create the following three tables and the DML to insert the data into the table. Create a sequence for the ID field on all three tables and use the sequence in the DML. The DDL to create the tables should include the logical referential integrity.
2.the PL/SQL to create two stored procedures in a package. The first procedure will take in an department ID and will return both the current timestamp and a list of the different distinct tiers belonging to that department ID. These will be returned as two separate parameters.
3.The second stored procedure will take in a tier ID and provide back the second highest salary for that tier.
4. the syntax to add a modified_time field to all three tables as a timestamp, and populate this field with the current timestamp.
4.the syntax to drop all three tables, sequences and the package as commented out in the script.
Plz helpuser10502390 wrote:
atleast help in writing stored procedure as i have no idea abt ithttp://www.oracle.com/pls/db112/homepage
http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10766/toc.htm
http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10766/tdddg_subprograms.htm#CIHDFDJG
http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10766/tdddg_subprograms.htm#BABDHFAC
http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10472/toc.htm -
Help required to build SQL loader control file
I have a table, That we need to load using SQL loader.
table structure is --
<emp_id>,<first_name>,<middle_name>,<last_name>,<sal>
The structure of flat file is like below,
<emp_id>|<emp_name>|<sal>
<emp_name> field can contain space to define first name, middle name and last name,
if no space is there means we only need to load first name. and one space means First and last name should load.
Sample flat file--
1001|Ram|10000
1002|Syam Kumar Sharma|20000
1003|Jadu Prashad|15000
Please help me out to build the control file.
Thanks in AdvanceMeans, can use DBMS_SCHEDULER for loading data ?Yes, you can create procedures for that and let the scheduler execute them on the desired interval
(you can even execute OS commands through DBMS_SCHEDULER).
Read about it here:
http://www.oracle.com/pls/db102/search?word=DBMS_SCHEDULER&partno=
http://www.oracle-base.com/articles/10g/Scheduler10g.php
By the way, instead of using sqlloader why not switch to using external tables?
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:6611962171229
http://www.oracle-base.com/articles/9i/SQLNewFeatures9i.php#ExternalTables
A few other approaches (pre 10g)
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:2048340300346698595
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:3084681089099 -
Hi Guys,
I am looking for some help to frame the update query.
I have two tables temp_1 and temp_2.
I want to update temp_2 based on data from temp_1. However i do not want to make an update where temp_1 has null value.
One approach i can think of is creating two different update statements but is there any chance to get it done through
only one statement. Also i would like to add here that temP_1 has 250K data and i going to make update on approx 500K
rows from temp_2. So i need to look from performance point of view as well.
Temp_1 temp_2
Col1 Col2 Col3 col1 col2 col3
1 abc abc 1 null null
2 abc null 2 xyz xyz
3 null null 3 xyz null
After update i am looking forward to get data in below format.
temp_2
col1 col2 col3
1 abc abc
2 abc xyz
3 xyz nullUSE TESTdb
go
create table express (col1 int, col2 varchar(25), col3 varchar(25))
go
create table express2 (col1 int, col2 varchar(25), col3 varchar(25))
go
insert into express values (1,'abc','abc'),(2,'abc',null),(3,null,null)
insert into express2 values (1,null,null),(2,'xyz','xyz'),(3,'xyz',null)
select * from express
select * from express2
update express2
set col2= case when x.col2 is null and e.col2 is not null then e.col2
else x.col2
end ,
col3= case when x.col3 is null and e.col3 is not null then e.col3
else x.col3
end
from express e inner join express2 x on e.col1=x.col1
--drop table express, express2
ebro -
Help Required with PL/SQL loading logic
Hi All,
We have a simple pl/sql code which does loading(insertions) of records into the table. This pl/sql code actually refers to an translation website URL(microsoft based) and inserts the translated text into our table. What happens is sometimes this URL gets blocked out due to some issue. So we are forced to restart our entire operation of loading once again. Actually we have a commit at the end(outside the loop). on the other hand we cant keep commit inside the loop as it may pose an overhead to performance since its commiting once every insert happens.
What we are expecting is something like this. Say we have 10,000 records. the loading fails at 5500 record. next time when we start again we want to start from 5501 record and NOT from beginning. In informatica kind of ETL tools we have an option to do this. However not sure if we can do this through PL/SQL.
we thought of keeping counter variable and keep it incrementing for each and every insert happens. but before doing this we have to order by our table according to primary key. This is taking huge amount of time since the table is very big.
can you please tell any alternative to this?
Regards,
PaulIf I understand correctly, you are doing something as follows:
// process a defined data set
for c in (select .. some data... )
loop
// translate the data (via a web service call)
Translate( c, translatedOutput )
// insert the translated data
insert into some_table translatedOutput
end loop
commitIn principle, nothing wrong with this approach. And yes, committing inside the loop for every x number of rows will increase the complexity of code and could perhaps violate ANSI SQL standards of fetching across commits.
A better approach would be to consider parallelising this process. Run multiple copies of that code - but provide each copy of the code with a small and unique data set to process. So instead of doing 10,000 rows in serial, you schedule a 100 jobs and give each a unique set of a 100 rows to translate.
Let's say your job queue size is set to 20. This means up to 20 of these processes will run in parallel. Should one fail, the job manager will automatically reschedule it for execution (up to 16 times after which it will be marked as broken).
So not only does this type of approach enables you spread the processing load, it also enables you to scale your processing (you can handle much larger data volumes like this, and more powerful server h/w will enable you to use more parallel processes). In addition, restart is automated courtesy of the Oracle job manager.
Compare this type approach with committing inside a loop.. The latter buys you what ito flexibility and performance and scalability? Nothing really - it only makes the process a lot more complex as it needs to be able to correctly restart after a failure. You will not be able to process bigger volumes of data. You will not be able to increase existing performance.
One needs to carefully consider the approach used to processing data - serialisation is inherently limited. Restarting serialised processes is difficult and complex. -
Hello,
I'm trying to add an extension to SQL Developer. I download manually RDB for SQL Developer extension and then I follow those instructions :
1 . Click Help menu
2 . Click Search for updates menu item
3 . Install from local file and select installer.zip
4 . Restart SQL Developer
5 . Add some reports
I should have an RDB tab in the new connexion window, but it doesn't work. Then I tried another way :
1 . Click Help menu
2 . Click Search for updates menu item
3 . Check all sources (Oracle SQL Developer, Oracle Extensions, Third Party..), next
4 . Check Oracle Rdb extension for SQL Developer 7.3, next
In this case I have an error saying something like this :
An error occured during the updates download
http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/*null*
Does anyone has an idea about this problem ?
ThanksYou can in the meantime download the extension yourself, instead of using check for updates. This http://www.oracle.com/technetwork/developer-tools/sql-developer/extensions-083825.html is our extensions page. Select the RDB link to take you their downloads page and you'll find the Oracle Rdb Extension for SQL Developer Release 7.3 on that page.
Quick link is: http://www.oracle.com/technetwork/database/rdb/downloads/index.html
Sue -
Help required from JDeveloper Development Team.
HI there,
I Download the JDeveloper 10.1.2 (1811) from OTN, But the downloaded archive file is unable to open. I did the download once again but I am facing same problem. I want to JDeveloper 10.1.2 for the installation of BI Beans 10.1.2.
Help required from JDeveloper Development Team
Thanks For Your Time,
Regards,
ViSHAL.Please use an informative Subject line, there is more chance that people will read the post.
All we can suggest is that you try the download again. -
SQL Developer extension for APEX workspace management
Hi everyone,
I've put together some SQL Developer extensions - one of them provides APEX workspace management
from within SQL Developer when connected to the database as SYS. A screenshot and a short
description is available here:
http://sql-plsql-de.blogspot.com/2009/09/erweiterungen-fur-den-sql-developer.html?lang=en
You can download the zip archive directly from here (the blog posting contains this link also)
http://htmldb.oracle.com/pls/otn/f?p=20225:2:0::::P2_SUCHWORT:sqldev-ext
Try it out - if you like it: Please give me feedback; if not: please do also
Regards
-Carsten
Oracle 11g Release 2: New Features for Developers in German
http://www.oracle.com/global/de/community/index.html
BLOG: SQL und PL/SQL in Oracle
http://sql-plsql-de.blogspot.comHi,
Looks very nice and I really like idea. Great job !
For futher development idea:
I like see that individual workspace admin could use same kind plugin, connecting DB with user that is assigned to workspace and manage only that WS properties.
Br, Jari -
Recommended Requirements for Development Environment
Hello,
what are recomended requirements for development enviroment for WebCenter. We intend to have JDeveloper and WebLogic server with WebCenter on our developer machines and we are wondering wht would be appripriate hardwer to run all of this smoothly.
For JDeveloper with the WebCenter extension, 2GB RAM should suffice and WL with WebCenter requires somewhere between 3-4GB. Do you think we really need 6-8GB RAM for developers? What processor power would you recomend?
Thank you for your answers,
Martin6-8 GB ram is overkill.
I can do the development quiet easy on a 4GB machine.
When i take a look at the memory usage of jdev and the integrated WLS they both sum up to 1.5 to 2GB.
if you however are planning on running a standalone WLS instead of the integrated WLS than you need somewhat more memory. Are you going to develop for webcenter spaces? If so, does every developer need a WLS with webcenter spaces installed? If so, 8GB ram is not overkill!
So conclusion:
A modern processor. One of the latest core2duo or i5,i7 processors.
4GB ram when you use jdev + webcenter extension and run integrated WLS
6GB ram when you use jdev + webcenter extension + integrated WLS + standalone WLS
8GB ram if developers need their own instance of webcenter spaces.
I also think 64 bit OS realy helps a lot for this...
Currently i am working on a following machine (laptop)
core2duo P8600 @2.4 Ghz
3GB ram (win xp 32 bit)
on this machine i use jdev + webcenter extension and integrated WLS. I can develop quiet easy but i have to restart jdev and the IWLS quiet often.
At my own laptop at home i have following setup:
core2duo P9400 @2.53ghz
4GB ram
jdev + wc extension + IWLS runs very good. Deploying goes faster, testing goes faster,...
I tried running webcenter spaces on that machine and i could wait ten minutes before a page loads. Realy not productive.
I need to do some development on webcenter spaces and my new laptop is currently in order:
i7 720q @ 1.7ghz
8GB ram
I hope i can run webcenter spaces on this...
Edited by: Yannick.O on Aug 10, 2010 12:30 PM
Edited by: Yannick.O on Aug 10, 2010 12:34 PM -
Need help with interface development
Hi i need help with requirement below with developing interface between or online order system and sap plz lemme know what is bapi i use for creating customer, update and assigining partner id to costumer.
SAP Development
1. Using standards SAP functional module (with BAPI), create interface that will create/change Ordering party customer in SAP. Following fields are mandatory for customer creation:
MANDT Client
VKORG Sales organization
VTWEG Distribution Channel
SPART Division
KDGRP Customer Group (= ZORP)
KUNNR Customer number
NAME1 Name 1
NAME 2 Name 2 (if required)
SORTL Search term (short description)
ZZALTKN Search term 2 (old customer number)
LAND1 Country
ORT01 City
PSTLZ Zip Code
REGIO Region (state in USA)
STRAS Street
TELF1 Primary telephone number
TELFX Primary Fax number
ZZPRPLANS Payment Plan
CCINS Payment card: Card type
CCNUM Payment cards: Card number
CCDEF Payment Card: Default Card Indicator
ZBDGID Customer Budget ID
ZHOLD Budget Hold indicator
ZZCOSTCENT Cost Center
2. Upon successful customer creation system will issues S (success) message that customer has been created.
3. New ordering party customer created in step ½, will have to be assigned as new partner to its belonging Sold-to/Ship-to customer. Use standard SAP customer functional module in order to perform this partner ID assignment. Partner ID for ordering party should be ZO.
1.7 Enhancement Functionality
Apart from creating a new interface to do the required functionality, the Order Create Interface also has to be changed to accommodate a field to pass the Ordering Party Number on the Order. The technicalities of how we are going to implement the interface will be laid out in the Tech Specs.
Thanks
in advanceYou have double posted, please mark this one as "solved on my own" and refer to this thread
need help with interface development
Regards,
Rich Heilman
Maybe you are looking for
-
Wireless Headset for my MacBook Pro
Dear Friends, I need a Wireless Headset to make and receive VOIP calls (skype, ichat, SJphone, etc.) in my MacBook Pro 2.33 (MacOS 10.5.2)... At home I have a "GN Netcom GN 9330 USB wireless Headset" that is very good but it is not portable and needs
-
My Ipod video is restarting! WHY!
Ive had my ipod for about 2 days and it will restart when I am going through my songs (mainly) - by restarting I mean going back to the Apple Icon and then going to the first page you see when you turn on the ipod. But i really want some help because
-
Stopped Blackout but host/agent remain in blackout state
I created a blackout on a host and all targets and set it to be indefinite. Worked fine. Finished what I wanted to do and wanted to start monitoring again. went to Setup / Blackout and selected to Stop the blackouts. Now no more blackout targets are
-
Using VPD (Virtual Private Database) with Discoverer for Dummies
Firstly could you please excuse me for the title of the thread, but it's all I could come up with. For those of you who are looking at me with a strange look of disgust, please view thread that started it all: BIS vs DBI vs Noetix . Otherwise I'm hop
-
Arch freezes after about 10 minutes with new kernel [SOLVED]
As the title says: Arch freezes after about 10 minutes with new kernel (2.6.27). I can only move a mouse, but everything else is frozen. Even restarting X doesn't do a trick. It doesn't work at all. Frozen. I don't get any kind of error message (oh r