BUG: Unit Testing Process Validations SQL editor - extra spaces appended
There is a bug in the SQL editor used by Unit Testing Process Validations.
To re-create:
Create a Validation with some multi-line SQL and save:
select *
from DUAL
where 1=1
Click on a different Validation, and then click back onto the Validation just created. SQL Developer will have appended a space to all the lines except the last one. Edit the Validation and save:
select *
from DUAL
where 1=2
When you navigate to a different validation and back, SQL Developer will have appended an extra space to each line. This can be repeated - each time an extra space will be added.
There is a bug in the SQL editor used by Unit Testing Process Validations.
To re-create:
Create a Validation with some multi-line SQL and save:
select *
from DUAL
where 1=1
Click on a different Validation, and then click back onto the Validation just created. SQL Developer will have appended a space to all the lines except the last one. Edit the Validation and save:
select *
from DUAL
where 1=2
When you navigate to a different validation and back, SQL Developer will have appended an extra space to each line. This can be repeated - each time an extra space will be added.
Similar Messages
-
EA1 BUG: Editing a Process Validation then cancelling appends spaces to lines
There is a bug in the Unit Testing section of SQL Developer where spaces are appended to Process Validations.
To re-create the bug:
Create a Process Validation and type a multi line SQL statement e.g.
select count (*)
from USER_TABLES
where TABLE_NAME = 'EMP'
Edit the Process Validation and click "Cancel"
Edit the Process Validation again - a space will have been appended to the end of the each line.
The above can be repeated, so editing and cancelling five times will append five spaces to each line.
This bug was present in version 3.2.2 (see my previous post) and is still present in version 4.0.0.12.27.quote:
However, where it's become something not just mildly annoying
but seriously broken is that sometimes, it adds large chunks of
space in the MIDDLE of your continued lines, sometimes even inside
the quotes, which of course makes the text break by adding a whole
bunch of space where it shouldn't be.
I've noticed this bug too and it can really screw things up
when it adds spaces in the middle of subsequent lingo commands.
It's one of the main reasons I started using an external script
editor. -
Unit testing packages in sql developer
It appears that the specify parameters window is blank for packaged functions which means the test call fails when run. Is this a grant or synonym issue ( or something similar ) or is there an issue with testing packages via the unit test interface of sql developer. Thanks in advance.
Seems that you cannot right click on the packaged schema object from the schema connection i.e. you have to create the test from the unit test tab and then choose the object type i.e select packages and then the packaged function or procedure. This method results in the Specify Parameters window having the correct signature displayed. Procedures or methods can be created via the unit test tab or the active connection tab.
-
Suggestions requested for Unit Testing process and build processes.
Hi All,
We are using WebLogic WorkShop 8.1 SP2 to build our WebApp. One thing I am trying
to get together is a "Best Practises" list for aspects of WorkShop developement,
particularly Unit Testing, Continous Build methodology, source control management
etc.I have been through the "Best Practises Guide" that comes in WorkShop help,
but it doesnt address these issues.This could help us all for future projects.
1)Could anyone give pointers on how to perform Unit Testing using either JUnit/JUnitEE
in the WorkShop realm, given that Controls cannot be accessed directly from PO
Test classes.
2)For a project of size say 5 developers ,does it make sense to have a nightly
build using tools like CruiseControl?We use CVS for our source control and its
working out pretty well, but given that we currently have no Unit Tests that can
be run after the build and that can provide some reports on what broke/what didnt?
I am sure we all would appreciate any suggestions and more questions on this topic.
Thanks,
Vik.Hi, Chris,
can you perhaps explain your solution in greater detail. I am really curious to
find a way to test controls.
"Chris Pyrke" <[email protected]> wrote:
>
I have written (well it's a bit of a dirty hack really) something that
lends itself
to the name ControlTest (it unit tests controls). Its a blend of Junit
and Cactus
with some of the source of each brutalised a bit to get things to work
(not much
- it was a couple of hours work, when I was supposed to be doing something
else).
To write a control test you code something like...
package com.liffe;
import com.liffe.controlunit.ControlTestCase;
import controls.Example;
public class TestExample extends ControlTestCase
private Example example = null;
public void setUp() {
example = (Example)getControl("example");
public void testExample() {
this.assertNotNull(example);
String result = example.getData();
assertEquals(result, "Happy as Larry");
Other tasks required to set up a test are creating a web project with
a jpf which
needs some cut and paste code (14 lines) in its begin method and a jsp
which is
also cut and paste (5 lines). (ie create a standard web project and paste
in 2
pieces of code)
In the web project you need to create a control (A) with an instance
name of controlContainer.
(if it's called something else the pasted in code will need changing
to reflect)
In this control you need to put an instance of TestContainerImpl and
any controls
that need testing.
You then need to add a method to the control (A) that looks like…
* @common:operation
public String controlTestRun(String theSuiteClassName, boolean xsl)
container.setControl("example", example);
return container.controlTestRun(theSuiteClassName, xsl);
You need to call container.setControl for each control being tested and
the object
'container' is the instance name of the TestContainerImpl that was put
in.
There are 4 jars (junit, cactus etc) that go in the library. You will
also need
the ControlUnitBase project (or maybe just it's jar).
To use you call a URL like:
http://localhost:7001/TestWeb/Controller.jpf?test=com.liffe.TestExample
TestWeb is the name I gave to my web project - this will be different
for each
test project
com.liffe.Example is the class above and will therefore be different
for each
test case.
You can also call
http://localhost:7001/TestWeb/Controller.jpf?test=com.liffe.TestExample&xsl=true
(Note the extra &xsl=true) and the browser will (if it can) render it
more prettily.
This seems to do the job quite nicely, but there are several caveats
I would hope
someone from bea would be able to address before I start using it widely.
1) To access the control you need to create it (eg as a subcontrol in
the control
(A) above.
To get it into the test case you need to pass it round as an Object (can't
return
Control from a control operation). As it's being passed around among
Java (POJO)
classes I'm assuming that control remains in the control container context
so
this is OK. It seems to work and the Object is some form of proxy as
any control
seems to be reproxied before the control is invoked from the test case.
2) If I'm testing controls called from a JPD then they either need to
be in a
control project (and my test cases called from a Web Project) which makes
for
a large increase in project numbers (we already have this and are trying
to resist
it) To avoid this - as a process project is a brain damaged web project
I simply
perform some brain surgery and augment the process project with some
standard
files found in any old web project. this means I can call the test JPF
from a
browser. This seems nasty, is there a better way?
3) I would like to be able to deliver without the test code. At the worst
the
code can be in place but must be inacessible in a production environment.
I don't
know how best to do this - any suggestions (without creating lots of
projects,
or lots of manual effort)
If anyone has read this far I would ask the question does this seem like
the kind
of thing that would be useful?
Hopefully a future version of workshop will have something to enable
unit testing
and this hacking will be unnecessary.
Could someone from BEA tell me if this is a dangerous way to do things?
Chris
"vik" <[email protected]> wrote:
Hi All,
We are using WebLogic WorkShop 8.1 SP2 to build our WebApp. One thing
I am trying
to get together is a "Best Practises" list for aspects of WorkShop developement,
particularly Unit Testing, Continous Build methodology, source control
management
etc.I have been through the "Best Practises Guide" that comes in WorkShop
help,
but it doesnt address these issues.This could help us all for future
projects.
1)Could anyone give pointers on how to perform Unit Testing using either
JUnit/JUnitEE
in the WorkShop realm, given that Controls cannot be accessed directly
from PO
Test classes.
2)For a project of size say 5 developers ,does it make sense to have
a nightly
build using tools like CruiseControl?We use CVS for our source control
and its
working out pretty well, but given that we currently have no Unit Tests
that can
be run after the build and that can provide some reports on what broke/what
didnt?
I am sure we all would appreciate any suggestions and more questions
on this topic.
Thanks,
Vik. -
Hi,
I m writing some packages and in that some procedures are there. Now i want to test these procedures. I have downloaded utPLSQL from sourceforge.net
But I am unable to use it. Do we need to copy those utPLSQL files where the orcale is present ? If so and after that do we need to run any .sql scripts before going to do Unit Testing.
And please tell the procedure in brief in order to start Unit Testing.
Thanks in Advance.I suggest you also check out Quest Code Tester for Oracle (disclosure: I design, build and use the tool - hey, I also wrote the original version of utPLSQL!), the first commercial automated testing tool for PL/SQL.
www.quest.com/code-tester-for-oracle
It generates virtually all of your test code, based on expected behavior you describe through a point and click interface. You can run tests through the UI or scheduled scripts.
Regards,
Steven Feuerstein
www.ToadWorld.com/SF -
Unit Test Variable Substitution in PL/SQL User Vailidation code not running
Hi
I am using new Unit Test Feature in SQL Developer 2.1.0.62.
I have created a test implemented to test a function. The function has a VARCHAR2 parameter as input and returns a BINARY_INTEGER.
I would like to perform 'Process Validation instead of specifying an explicit 'Result'. The check box 'Test Result' is unchecked.
I have seen in the doc. that I can use substitution variables in my user defined PL/SQL code. I try
IF {RETURNS$} < 0
THEN ...
but I always get the error
ERROR
<RETURN> : Expected: [Any value because apply check was cleared], Received: [-103]
Validation User PL/Sql Code failed: Non supported SQL92 token at position: 181: RETURNS$
Obviously, the program doesn't recognize {RETURN$}.
Am I missing something?
br
ReinerHi all,
I have installed the latest version of SQL Developer (2.1.1) that fixed the problem - must have been a bug.
The only problem was that I got an ORA-904 TEST_USER_NAME... error. I export my tests, dropped the repository, created a new one and reimported everything. Now it works as it should.
br
Reiner -
I'm trying out the Unit Test tool in SQL Developer version 3.2.09 and I keep getting the following error on the Teardown Process:
Teardown Table or Row Restore (1/1) failed: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at line 22
I have no idea what line 22 refers to? I cannot seem to find more detailed information in order to correct the problem.
Any insight or help would be great!
Thanks,
PaulI'm having the same issue with SQL Developer 3.2.20.09 on Oracle 11.2.0.3.0. However, I think it's somewhat data dependent as I've had success and I've also encountered the ORA-06502 error.
I ran a generic test on a very simple table and was successful using the teardown restore of the table. The procedure isn't important in this scenario, but is given as reference to creating the test. The simple, successful case is given first.
Note that in both cases/tests, the original table of data already existed, so I question the error message pointing to data being inserted is longer than the field allows or that data types are somehow different...+unless+ SQL Developer is translating or getting it wrong. ALSO NOTE, running the SQL inserts as given works if run through the worksheet. It's only in the Teardown that I see the ORA-06502 error message.
Data
CREATE TABLE EMPLOYEES (EMPLOYEE_ID NUMBER, COMMISSION_PCT NUMBER, SALARY NUMBER);
Insert into EMPLOYEES (EMPLOYEE_ID,COMMISSION_PCT,SALARY) values (1001,0.2,8400);
Insert into EMPLOYEES (EMPLOYEE_ID,COMMISSION_PCT,SALARY) values (1002,0.25,6000);
Insert into EMPLOYEES (EMPLOYEE_ID,COMMISSION_PCT,SALARY) values (1003,0.3,5000);
CREATE OR REPLACE PROCEDURE AWARD_BONUS AS
BEGIN
null;
END award_bonus;
Startup: Table or Row Copy
description = "TMP$AWARD_BONUS_TEST" := SELECT ROWID AS SRC$ROWID, s.* FROM "EMPLOYEES" s
source = "EMPLOYEES"
temp = "TMP$AWARD_BONUS_TEST"
Teardown: Table or Row Restore
description = "TMP$AWARD_BONUS_TEST" -> "EMPLOYEES"
source = "EMPLOYEES"
key = PRIMARY KEY
temp = "TMP$AWARD_BONUS_TEST"
The above worked without error.
The following did not work.* (Again, the procedure isn't relevant.)
Data
CREATE TABLE "xxdss_fact_detail_history"
"fact_trx_id" NUMBER(15, 0),"number_of_records" NUMBER,
"product_code" VARCHAR2(250 byte),"item_code" VARCHAR2(250 byte),
"item_description" VARCHAR2(250 byte),"trade" VARCHAR2(250 byte),
"item_system" VARCHAR2(250 byte),"unit" VARCHAR2(250 byte),
"fuel_source" VARCHAR2(250 byte),"component" VARCHAR2(250 byte),
"assembly" VARCHAR2(250 byte),"part" VARCHAR2(250 byte),
"symptoms" VARCHAR2(250 byte),"diagnosis_item" VARCHAR2(250 byte),"coa"
VARCHAR2(250 byte),"cchs_parts" VARCHAR2(250 byte),
"region" VARCHAR2(250 byte),"state" VARCHAR2(250 byte),
"county" VARCHAR2(250 byte),"zip" VARCHAR2(250 byte),"vendor_id" NUMBER,
"vendor_site_id" NUMBER,"vendor_name" VARCHAR2(250 byte),
"vendor_site" VARCHAR2(250 byte),"c_service_call_cost" NUMBER,
"c_labor_cost" NUMBER,"c_part_cost" NUMBER,"c_tax" NUMBER,
"c_cchs_oh_cost" NUMBER,"c_cchs_total_low_cost" NUMBER,
"c_cchs_total_high_cost" NUMBER,"c_cchs_avg_total_cost" NUMBER,
"c_nc_c_labor_cost" NUMBER,"c_nc_c_part_cost" NUMBER,"c_nc_tax_cost" NUMBER
,"c_nc_total_low_cost" NUMBER,"c_nc_total_high_cost" NUMBER,
"c_nc_avg_total_cost" NUMBER,"c_flat_low_cost" NUMBER,
"c_flat_high_cost" NUMBER,"c_flat_avg_cost" NUMBER,
"p_cycle_time_day_low" NUMBER,"p_cycle_time_day_high" NUMBER,
"p_cycle_avg_time_day" NUMBER,"p_reasgn_low" NUMBER,"p_reasgn_high" NUMBER,
"p_reasgn_avg" NUMBER,"p_recall_low" NUMBER,"p_recall_high" NUMBER,
"p_recall_avg" NUMBER,"s_sp_nps_score_low" NUMBER,
"s_sp_nps_score_high" NUMBER,"s_sp_avg_nps_score" NUMBER,
"s_cchs_nps_score_low" NUMBER,"s_cchs_nps_score_high" NUMBER,
"s_cchs_avg_nps_score" NUMBER,"cps_cost" NUMBER,"cps_perfrmce" NUMBER,
"cps_sat" NUMBER,"coa_score" NUMBER,"comments" VARCHAR2(4000 byte),
"complete_flag" VARCHAR2(1 byte),"last_update_date" DATE,
"last_updated_by" NUMBER(15, 0),"creation_date" DATE,
"created_by" NUMBER(15, 0),"last_update_login" NUMBER(15, 0),
"vendor_number" VARCHAR2(200 byte)
SET DEFINE OFF;
Insert into XXDSS.XXDSS_FACT_DETAIL_HISTORY (FACT_TRX_ID,NUMBER_OF_RECORDS,PRODUCT_CODE,ITEM_CODE,ITEM_DESCRIPTION,TRADE,ITEM_SYSTEM,UNIT,FUEL_SOURCE,COMPONENT,ASSEMBLY,PART,SYMPTOMS,DIAGNOSIS_ITEM,COA,CCHS_PARTS,REGION,STATE,COUNTY,ZIP,VENDOR_ID,VENDOR_SITE_ID,VENDOR_NAME,VENDOR_SITE,C_SERVICE_CALL_COST,C_LABOR_COST,C_PART_COST,C_TAX,C_CCHS_OH_COST,C_CCHS_TOTAL_LOW_COST,C_CCHS_TOTAL_HIGH_COST,C_CCHS_AVG_TOTAL_COST,C_NC_C_LABOR_COST,C_NC_C_PART_COST,C_NC_TAX_COST,C_NC_TOTAL_LOW_COST,C_NC_TOTAL_HIGH_COST,C_NC_AVG_TOTAL_COST,C_FLAT_LOW_COST,C_FLAT_HIGH_COST,C_FLAT_AVG_COST,P_CYCLE_TIME_DAY_LOW,P_CYCLE_TIME_DAY_HIGH,P_CYCLE_AVG_TIME_DAY,P_REASGN_LOW,P_REASGN_HIGH,P_REASGN_AVG,P_RECALL_LOW,P_RECALL_HIGH,P_RECALL_AVG,S_SP_NPS_SCORE_LOW,S_SP_NPS_SCORE_HIGH,S_SP_AVG_NPS_SCORE,S_CCHS_NPS_SCORE_LOW,S_CCHS_NPS_SCORE_HIGH,S_CCHS_AVG_NPS_SCORE,CPS_COST,CPS_PERFRMCE,CPS_SAT,COA_SCORE,COMMENTS,COMPLETE_FLAG,LAST_UPDATE_DATE,LAST_UPDATED_BY,CREATION_DATE,CREATED_BY,LAST_UPDATE_LOGIN,VENDOR_NUMBER) values (324,2,'L&F-MPP03TR','STCOL-SPL','Straight Cool Split System','HVAC',null,'STCOL-SPL',null,null,null,null,null,null,'REAPIR','N',null,'VA','ASHBURN','20148',22024,118957,'Air Lingus Inc',null,50,55,44,12,180,40,78,76.5,60,50,20,100,180,130,50,110,80,2,8,3.9323148148178,40,60,43,9,10,8.2,100,201,150,20,40,35,50,30,20,100,null,null,to_date('01-JAN-13','DD-MON-RR'),1,to_date('01-JAN-13','DD-MON-RR'),1,null,'122023');
Insert into XXDSS.XXDSS_FACT_DETAIL_HISTORY (FACT_TRX_ID,NUMBER_OF_RECORDS,PRODUCT_CODE,ITEM_CODE,ITEM_DESCRIPTION,TRADE,ITEM_SYSTEM,UNIT,FUEL_SOURCE,COMPONENT,ASSEMBLY,PART,SYMPTOMS,DIAGNOSIS_ITEM,COA,CCHS_PARTS,REGION,STATE,COUNTY,ZIP,VENDOR_ID,VENDOR_SITE_ID,VENDOR_NAME,VENDOR_SITE,C_SERVICE_CALL_COST,C_LABOR_COST,C_PART_COST,C_TAX,C_CCHS_OH_COST,C_CCHS_TOTAL_LOW_COST,C_CCHS_TOTAL_HIGH_COST,C_CCHS_AVG_TOTAL_COST,C_NC_C_LABOR_COST,C_NC_C_PART_COST,C_NC_TAX_COST,C_NC_TOTAL_LOW_COST,C_NC_TOTAL_HIGH_COST,C_NC_AVG_TOTAL_COST,C_FLAT_LOW_COST,C_FLAT_HIGH_COST,C_FLAT_AVG_COST,P_CYCLE_TIME_DAY_LOW,P_CYCLE_TIME_DAY_HIGH,P_CYCLE_AVG_TIME_DAY,P_REASGN_LOW,P_REASGN_HIGH,P_REASGN_AVG,P_RECALL_LOW,P_RECALL_HIGH,P_RECALL_AVG,S_SP_NPS_SCORE_LOW,S_SP_NPS_SCORE_HIGH,S_SP_AVG_NPS_SCORE,S_CCHS_NPS_SCORE_LOW,S_CCHS_NPS_SCORE_HIGH,S_CCHS_AVG_NPS_SCORE,CPS_COST,CPS_PERFRMCE,CPS_SAT,COA_SCORE,COMMENTS,COMPLETE_FLAG,LAST_UPDATE_DATE,LAST_UPDATED_BY,CREATION_DATE,CREATED_BY,LAST_UPDATE_LOGIN,VENDOR_NUMBER) values (465,4,'L&F-MPP03TR','STCOL-SPL','Straight Cool Split System','HVAC',null,'STCOL-SPL',null,null,null,null,null,null,'REPLACE','N',null,'VA','ASHBURN','20148',1768,1090523,'Airmax Heating And Air Conditioning Llc',null,65,50,80,15,110,50,60,70,70,40,20,100,180,130,50,110,80,3,5,0.878969907411374,10,70,20,1,2,2,130,150,140,20,40,60,40,30,30,100,null,null,to_date('01-JAN-13','DD-MON-RR'),1,to_date('01-JAN-13','DD-MON-RR'),1,null,'101767');
CREATE OR REPLACE PROCEDURE dss AS
BEGIN
null;
END dss;
Startup: Table or Row Copy
description = "TMP$DSS_TEST" := SELECT ROWID AS SRC$ROWID, s.* FROM "XXDSS_FACT_DETAIL_HISTORY" s
source = "XXDSS_FACT_DETAIL_HISTORY"
temp = "TMP$DSS_TEST"
Teardown: Table or Row Restore
description = "TMP$DSS_TEST" -> "XXDSS_FACT_DETAIL_HISTORY"
source = "XXDSS_FACT_DETAIL_HISTORY"
key = PRIMARY KEY
temp = "TMP$DSS_TEST" -
Unit Test exports between different SQL Developer versions
Hi,
I am having problems with trying to export and import unit test suites between SQL Developer versions. I can't find any documentation in this area. We have a number of unit test suites exported as XML files from version 2.1.1.64, and below are combinations of things I have tried:
- I have tried to import a unit test suite into version 3.0.0.4 that was exported from version 2.1.1.64 and get the error "Import failed. unexpected null value". I expect that this is probably an unsupported action due to repository changes between the two versions - should I be able to do this?
- I have upgraded the repository with unit tests in it. The unit tests run perfectly well in the upgraded repository. However, if I try to export any suites or individual tests, I get an error "Export failed.". A XML file is created but with what looks like only the header part of it.
- I have created a new unit test suite in version 3.0.0.4 and this exports successfully.
- I have gone into each test of a suite in the upgraded repository and made a change so that I can perform a commit. When I do an export, this does then work successfully.
Therefore it appears that something is not carried out by default when the repository is upgraded, but this fixes itself if the test is amended and committed in the upgraded repository. Although this may be a workaround, we have 100's of tests and is not something I really want to do. Has anyone else experienced this and got any recommendations for this?
Thanks, Pierre.Hi,
I am having problems with trying to export and import unit test suites between SQL Developer versions. I can't find any documentation in this area. We have a number of unit test suites exported as XML files from version 2.1.1.64, and below are combinations of things I have tried:
- I have tried to import a unit test suite into version 3.0.0.4 that was exported from version 2.1.1.64 and get the error "Import failed. unexpected null value". I expect that this is probably an unsupported action due to repository changes between the two versions - should I be able to do this?
- I have upgraded the repository with unit tests in it. The unit tests run perfectly well in the upgraded repository. However, if I try to export any suites or individual tests, I get an error "Export failed.". A XML file is created but with what looks like only the header part of it.
- I have created a new unit test suite in version 3.0.0.4 and this exports successfully.
- I have gone into each test of a suite in the upgraded repository and made a change so that I can perform a commit. When I do an export, this does then work successfully.
Therefore it appears that something is not carried out by default when the repository is upgraded, but this fixes itself if the test is amended and committed in the upgraded repository. Although this may be a workaround, we have 100's of tests and is not something I really want to do. Has anyone else experienced this and got any recommendations for this?
Thanks, Pierre. -
Unit Testing - Results greater than 0
I am unit testing a PL/SQL function. The function has no inputs and one output (Interval Day to Second) . The output is the time it takes to run a query therefore a valid value for the output would be greater than 0.
When I setup the test the result only takes a Interval Day to Second value. I want to be able to say any result greater than 0 is a success.
How can I do this?
tomI am unit testing a PL/SQL function. The function has no inputs and one output (Interval Day to Second) . The output is the time it takes to run a query therefore a valid value for the output would be greater than 0.
When I setup the test the result only takes a Interval Day to Second value. I want to be able to say any result greater than 0 is a success.
How can I do this?
tom -
Create Unit Test wizard does not populate parameters
If I right click a standalone function or procedure and select "Create Unit Test", the parameters window is populated and I am able to enter input and expected output values for the test.
However, when I attempt the same with a function that is within a package, the parameters window is blank.
I am using version 3.2.20.09Looks like someone has already reported this bug (and a workaround) in this thread:
unit testing packages in sql developer
Edited by: AJMiller on Dec 11, 2012 9:24 AM -
Unit Test Generator - VS 2008 (Cannot add oracle data source)
Hi All,
Okay this might just be me (new to ODT for VS) - but If I start VS, go Test -> Add Test.
Create a Database Unit Test.
[Give it some name]
write a query such as select * from <>
add a test checksum condition , and try to configure the checksum condition.. (Hit configure on the properties - under misc).
I go to new connection ...
I only have SQL Server (sqlClient) available. Is the unit test generator/validator something that oracle does not currently yet support?
(Yes the ODT 11i for VS 2008 is installed, can add a data connection to Oracle systems/query oracle in VS - just cannot add a Oracle database connection for unit database tests).
Or has anybody found a way to make this very useful piece of functionality work ?
Best Regards,
DThe same thing happens, If I go File -> Open -> Oracle Database Project Items -> SQL Script.
This comes up as disconnected.
When right click on the new script choose connect, only SQL Server provider is available with no ability to choose a oracle provider (greyed out to choose a diff connection provider).
Prehaps someone has seen this before? -
Strange Problem With Extra Spaces
Hello,
My development staff is experiencing a very strange problem with our JSP pages which display the values from a JDBC result set. We have two environments here: development and production. We have been creating pages in development which work out fine in our development environment. But when we move the page into production, each value which results from the ResultSet getString() method is having multiple blank spaces appended to the end of the value. So, for example, a 5 digit zip code field is really showing up with a length of 8 or 9 because there are extra spaces added to the end of the value.
We are able to work around this problem by using the trim() method, but this is getting quite tedious to do to every single page in the site. It is very annoying because the problem does not exist in the development environment.
So you figure there must be a difference in our development and production environments. But there really isn't. Here is the details for both environments:
OS: Windows NT 4.0
Web Server: Apache with Tomcat setup as a plugin
Database: Sybase ASA 6.0.3
JDK: 1.3
Apache and Tomcat were installed from the same download on both servers. Sybase was installed from the same CD on both servers - and the JDBC Driver (SybDriver) was copied from one server to the next.
Sorry for the long explanation - but does anyone have any idea what could be occurring? Why are the extra spaces being appended to the production pages and not the development pages?
As always, thanks in advance for any suggestions!
-- ChrisHello Paul,
Thank you for taking the time to analyze this case.
The data in the system comes from two different sources. The first source is a nightly feed from a legacy system. The second source is user input via the JSP application. The records that were inserted from the nightly feed have an accurate length() value (meaning there is no untrimmed spaces trailing along.) But the values coming in from the application have extra spaces appended to them. In the development environment, however, both sources provide properly trimmed data.
If I enter an 8 character last name into the web form in the production app, the value which ends up in the database upon submission will have 2 to 3 extra spaces. I know that this sounds strange - and believe me, it is boggling everyone here. I suspect this problem has to do with the Tomcat installation - even though it was installed identically in each server.
I think we are just going to have live with using the trim() for every database submission. As always, thank you for the help, and all ideas are always welcome.
-- Chris -
SQL Developer Unit Testing - Validation with PL/SQL
Hi,
I am trying to create Unit tests using SQL Developer UT framework.
But when i am creating validation using User PL/SQL code option.
Then how can i check value returned by l_count in code snippet below:
-- Please raise an exception if the validation fails.
-- For example:
DECLARE
l_count NUMBER;
wrong_count EXCEPTION;
BEGIN
SELECT count(*) into l_count
FROM test_recon
WHERE
match_num = 99836936
AND Stg_status_flag <> 'E';
IF l_count = 0
THEN
RAISE wrong_count;
END IF;
END;
Also, can someone please refer me to few more demo examples (apart from oracle docs) to implement good test cases with SQL developer.
I appreciate your help.
Regards
DipaliProbably not the answer you're looking for, but back when I was playing around with the Unit Test stuff, I didn't have sys privs, and the DBAs were a little busy at the time to set a up a repository for me. Rather than wait, I installed Oracle XE on my machine and created a small dev schema and deployed unit test to that. It's so much easier to perform quick proof of concepts when you have full control.
-
BUG: Debug Unit tests in Selected
I think I've found a bug in JDeveloper.
Using "Debug Unit Tests in Selected" does not all unit tests in the selected projects.
To reproduce:
-select a list of projects,
-right click and select "Debug Unit Tests in Selected".
Results:
-JDev will run all the unit tests in the last project selected but no others.
What it should do:
-JDev should run all unit tests in all selected projects
System properties:
About
Oracle JDeveloper 11g Release 1 11.1.1.2.0
Studio Edition Version 11.1.1.2.0
Build JDEVADF_11.1.1.2.0_GENERIC_091029.2229.5536
Copyright © 1997, 2009 Oracle and/or its affiliates. All rights reserved.
IDE Version: 11.1.1.2.36.55.36
Product ID: oracle.jdeveloper
Product Version: 11.1.1.2.36.55.36
Version
Component Version
========= =======
ADF Business Components 11.1.1.55.36
Java(TM) Platform 1.6.0_14
Oracle IDE 11.1.1.2.36.55.36
SOA Composite Editor 11.1.1.2.0.12.16
Versioning Support 11.1.1.2.36.55.36
Properties
Name Value
==== =====
awt.toolkit sun.awt.windows.WToolkit
ceditor.java.parse.large 1500
ceditor.java.parse.small 300
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
compiler.vmargs -Xmx512m
EDITOR_J2SE_VERSION 1.5
feedbackmanager.disable false
file.encoding Cp1252
file.encoding.pkg sun.io
file.separator \
http.agent Mozilla/5.0 (Java 1.6.0_14; Windows XP 5.1 x86; en_CA) ICEbrowser/v6_1_3
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.bootstrap.start 209766300466
ide.build JDEVADF_11.1.1.2.0_GENERIC_091029.2229.5536
ide.conf C:\Oracle\Middleware\jdeveloper\jdev\bin\jdev.conf
ide.config_pathname C:\Oracle\Middleware\jdeveloper\jdev\bin\jdev.conf
ide.debugbuild false
ide.devbuild false
ide.editions oracle.studio, oracle.j2ee, oracle.jdeveloper
ide.extension.role.search.path jdev/roles
ide.extension.search.path jdev/extensions:sqldeveloper/extensions
ide.feedbackmanager.customer false
ide.firstrun false
ide.java.maxversion 1.7
ide.java.minversion 1.6.0_04
ide.launcherProcessId 5376
ide.main.class oracle.ide.boot.IdeLauncher
ide.max.jar.handles 500
ide.patches.dir jdev/lib/patches
ide.pref.dir C:\Documents and Settings\m_robinson\Application Data\JDeveloper
ide.pref.dir.base C:\Documents and Settings\m_robinson\Application Data
ide.product oracle.jdeveloper
ide.shell.enableFileTypeAssociation C:\Oracle\Middleware\jdeveloper\jdeveloper.exe
ide.splash.screen splash.gif
ide.startingArg0 C:\Oracle\Middleware\jdeveloper\jdeveloper.exe
ide.startingcwd C:\Oracle\Middleware\jdeveloper
ide.throttleLocale true
ide.user.dir C:\Documents and Settings\m_robinson\Application Data\JDeveloper
ide.user.dir.var JDEV_USER_HOME,JDEV_USER_DIR
ide.work.dir C:\\JDeveloper
ide.work.dir.base C:\Documents and Settings\m_robinson\My Documents
ilog.propagatesPropertyEditors false
inJUIDesigntime true
insight.suppresshidden true
INSIGHT_OMIT_HIDDEN true
java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment
java.awt.printerjob sun.awt.windows.WPrinterJob
java.class.path ..\..\ide\lib\ide-boot.jar
java.class.version 50.0
java.endorsed.dirs C:\Oracle\Middleware\jdk160_14_R27.6.5-32\jre\lib\endorsed
java.ext.dirs C:\Oracle\Middleware\jdk160_14_R27.6.5-32\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
java.home C:\Oracle\Middleware\jdk160_14_R27.6.5-32\jre
java.io.tmpdir C:\DOCUME~1\M_ROBI~1\LOCALS~1\Temp\
java.library.path C:\Oracle\Middleware\jdeveloper;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Ora\Forms10g\jdk\jre\bin\classic;C:\Ora\Forms10g\jdk\jre\bin;C:\Ora\Forms10g\jdk\jre\bin\client;C:\Ora\Forms10g\jlib;C:\Ora\Forms10g\bin;C:\Ora\Forms10g\jre\1.4.2\bin\client;C:\Ora\Forms10g\jre\1.4.2\bin;C:\Ora\Orant\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\Intel\DMIX;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;C:\Program Files\TortoiseHg\;C:\Program Files\JProbe 8.3\bin;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Java\jre6\bin;C:\Program Files\GnuWin32\bin;C:\Tools\Mercurial;C:\cygwin\bin;C:\Oracle\Middleware\jdk160_14_R27.6.5-32\bin;C:\Oracle\Middleware\jdeveloper\ant\bin
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.naming.factory.url.pkgs weblogic.jndi.factories:weblogic.corba.j2ee.naming.url
java.protocol.handler.pkgs oracle.fabric.common.uddiurl.handler|oracle.jdevimpl.handler|weblogic.net
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_14-b08
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.6.0_14
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) Client VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 14.0-b16
javax.rmi.CORBA.PortableRemoteObjectClass weblogic.iiop.PortableRemoteObjectDelegateImpl
javax.rmi.CORBA.UtilClass weblogic.iiop.UtilDelegateImpl
javax.xml.parsers.DocumentBuilderFactory oracle.xml.jaxp.JXDocumentBuilderFactory
jbo.debugoutput silent
jbo.showdebugwarningbanner false
jps.authz NULL
line.separator \r\n
oracle.adfm.usemds false
oracle.home C:\Oracle\Middleware\jdeveloper\
oracle.j2ee.extension.status enabled
oracle.jbo.usemds false
oracle.jdbc.Trace true
oracle.jdeveloper.webservice.hidePropertyOverride false
oracle.jdeveloper.webservice.showAllOwsmPolicyTypes false
oracle.mds.internal.config.override.emptystore true
oracle.security.jps.config /C:/Documents and Settings/m_robinson/Application Data/JDeveloper/system11.1.1.2.36.55.36/DefaultDomain/config/fmwconfig/jps-config-jse.xml
oracle.soap.transport.noHTTPClient true
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
org.omg.CORBA.ORBClass weblogic.corba.orb.ORB
org.omg.CORBA.ORBSingletonClass weblogic.corba.orb.ORB
os.arch x86
os.name Windows XP
os.version 5.1
path.separator ;
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
sun.arch.data.model 32
sun.awt.disablegrab true
sun.awt.keepWorkingSetOnMinimize true
sun.boot.class.path ../lib/lwawt.jar;C:\Oracle\Middleware\jdk160_14_R27.6.5-32\jre\lib\resources.jar;C:\Oracle\Middleware\jdk160_14_R27.6.5-32\jre\lib\rt.jar;C:\Oracle\Middleware\jdk160_14_R27.6.5-32\jre\lib\sunrsasign.jar;C:\Oracle\Middleware\jdk160_14_R27.6.5-32\jre\lib\jsse.jar;C:\Oracle\Middleware\jdk160_14_R27.6.5-32\jre\lib\jce.jar;C:\Oracle\Middleware\jdk160_14_R27.6.5-32\jre\lib\charsets.jar;C:\Oracle\Middleware\jdk160_14_R27.6.5-32\jre\classes
sun.boot.library.path C:\Oracle\Middleware\jdk160_14_R27.6.5-32\jre\bin
sun.cpu.endian little
sun.cpu.isalist pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
sun.desktop windows
sun.io.unicode.encoding UnicodeLittle
sun.java2d.noddraw true
sun.jnu.encoding Cp1252
sun.management.compiler HotSpot Client Compiler
sun.os.patch.level Service Pack 3
svnkit.sax.useDefault true
user.country CA
user.dir C:\Oracle\Middleware\jdeveloper\jdev\bin
user.home C:\Documents and Settings\m_robinson
user.language en
user.name m_robinson
user.timezone America/Los_Angeles
user.variant
wasp.location ../../uddi
weblogic.home C:\Oracle\Middleware\wlserver_10.3\server
weblogic.security.SSL.ignoreHostnameVerification true
weblogic.security.TrustKeyStore DemoTrust
windows.shell.font.languages en
Extensions
Name Identifier Version Status
==== ========== ======= ======
ADF Business Components oracle.BC4J 11.1.1.2.36.55.36 Loaded
ADF Business Components Dependency oracle.bc4j.dependency 11.1.1.2.36.55.36 Loaded
ADF Business Components Deployment oracle.bc4jdt.deploy 11.1.1.2.36.55.36 Loaded
ADF Business Components Modeler oracle.adfbcdt.modeler 11.1.1.2.36.55.36 Loaded
ADF Business Components Tester oracle.bc4j.tester 11.1.1.2.36.55.36 Loaded
ADF Context Debugger oracle.adf.share.debug 11.1.1.2.36.55.36 Loaded
ADF Controller Configuration Design Time oracle.adf.controller.config.dt 11.1.1.2.36.55.36 Loaded
ADF Data Visualizations Design Time Tests oracle.dvt.dt 11.1.1.2.36.55.36 Loaded
ADF Debugger oracle.adf.debug 11.1.1.2.36.55.36 Loaded
ADF Debugger Diagram Support oracle.adf.debug.diagram 11.1.1.2.36.55.36 Loaded
ADF Desktop Integration Design Time oracle.adfdt.desktopintegration 11.1.1.2.36.55.36 Loaded
ADF Faces Cache oracle.webcache 11.1.1.2.36.55.36 Loaded
ADF Faces Data Visualization Tools Help oracle.dvt-faces-doc 11.1.1.0.0 Loaded
ADF Faces Databinding Design Time oracle.adf-faces-databinding-dt 11.1.1.2.36.55.36 Loaded
ADF Faces Design Time oracle.adf-faces-dt 11.1.1.2.36.55.36 Loaded
ADF Faces Design Time Migration oracle.adffacesdt.migration 11.1.1.2.36.55.36 Loaded
ADF Faces Runtime Help oracle.adf-faces-rt-doc 11.1.1.0.0 Loaded
ADF Faces Skin Design Time oracle.adf-faces-skin-dt 11.1.1.2.36.55.36 Loaded
ADF Java Server Faces Diagram oracle.adf.jsf.diagram 11.1.1.2.36.55.36 Loaded
ADF Library Design Time oracle.jdeveloper.adflibrary 11.1.1.2.36.55.36 Loaded
ADF Lifecycle Design Time oracle.adf.lifecycle.dt 11.1.1.2.36.55.36 Loaded
ADF Management Pages oracle.adf.management 11.1.1.2.36.55.36 Loaded
ADF Menu Model Design-Time oracle.adfmenudt 11.1.1.2.36.55.36 Loaded
ADF Page Flow Design Time oracle.adf.pageflow.dt 11.1.1.2.36.55.36 Loaded
ADF Page Flow Design Time Extras oracle.adf.pageflow.dt.extras 11.1.1.2.36.55.36 Loaded
ADF Page Template DT oracle.adf-faces-templating-dt 11.1.1.2.36.55.36 Loaded
ADF Region Design Time oracle.adf-faces-region-dt 11.1.1.2.36.55.36 Loaded
ADF Struts Page Flow Modeler oracle.struts.adf 11.1.1.2.36.55.36 Loaded
ADF Struts and Model One Databinding oracle.adf.struts.and.model.one.databinding.dt 11.1.1.2.36.55.36 Loaded
ADF Swing oracle.adfdt.swingcore 11.1.1.2.36.55.36 Loaded
ADF View Debugging Design Time adf.view.debugging.dt 11.1.1.2.36.55.36 Loaded
ADFv Common Databinding oracle.adf-view-databinding-dt 11.1.1.2.36.55.36 Loaded
AIA Composite Application Framework oracle.aia.caf.cafextensionwizard 2.4 Loaded
Ant oracle.ant 11.1.1.2.36.55.36 Loaded
Application Server Manager oracle.jdeveloper.asnav 11.1.1.2.36.55.36 Loaded
Application State - Application Navigator oracle.ideimpl.appstate.appnav 11.1.1.2.36.55.36 Loaded
Application State - Editors oracle.ide.appstate.editors 11.1.1.2.36.55.36 Loaded
Application State Manager oracle.ide.appstate 11.1.1.2.36.55.36 Loaded
Archive Compare oracle.jdeveloper.archive-compare 11.1.1.2.36.55.36 Loaded
BAM oracle.bam 11.1.1 Loaded
BI Beans Graph oracle.bibeans 11.1.1.2.36.55.36 Loaded
BM metamodel framework oracle.bm.meta 11.1.1.2.36.55.36 Loaded
Bug Reporter oracle.jdeveloper.bugfiler 11.1.1.2.36.55.36 Loaded
Business Modelers oracle.bm 11.1.1.2.36.55.36 Loaded
Check For Updates oracle.ide.webupdate 11.1.1.2.36.55.36 Loaded
Code Editor oracle.ide.ceditor 11.1.1.2.36.55.36 Loaded
Command Line Formatting Support oracle.jdeveloper.ojformat 11.1.1.2.36.55.36 Loaded
Command Line Make/Rebuild Support oracle.jdevimpl.oj-compiler 11.1.1.2.36.55.36 Loaded
Common Controller Design-Time oracle.controller.dt 11.1.1.2.36.55.36 Loaded
Common Page Flow Design-Time oracle.pageflow.dt 11.1.1.2.36.55.36 Loaded
Component Palette oracle.ide.palette1 11.1.1.2.36.55.36 Loaded
Controller to ADF Bindings Bridge oracle.controller.bindings.dt 11.1.1.2.36.55.36 Loaded
Database Connection Support oracle.jdeveloper.db.connection 11.1.1.2.36.55.36 Loaded
Database Features (JDeveloper) oracle.jdeveloper.db 11.1.1.2.36.55.36 Loaded
Database Features (SQLDeveloper in JDeveloper) oracle.jdeveloper.db.navigator 11.1.1.2.36.55.36 Loaded
Database Modeler oracle.dbmodeler 11.1.1.2.36.55.36 Loaded
Database Modeler Migration oracle.dbmodeler.migrate 11.1.1.2.36.55.36 Loaded
Database Object Dependency API Support oracle.jdeveloper.db.dependency 11.1.1.2.36.55.36 Loaded
Database Object Explorers oracle.ide.db.explorer 11.1.1.2.36.55.36 Loaded
Database Object Transfer Framework oracle.jdeveloper.db.transfer 11.1.1.2.36.55.36 Loaded
Database UI oracle.ide.db 11.1.1.2.36.55.36 Loaded
Design Time Resource Bundle Variable Resolver oracle.jdeveloper.resourcebundle.resolver.dt 11.1.1.2.36.55.36 Loaded
Diagram Framework oracle.diagram 11.1.1.2.36.55.36 Loaded
Diagram Framework Toplink extensions oracle.diagram.toplink 11.1.1.2.36.55.36 Loaded
Diagram Javadoc Extension oracle.diagram.javadoc 11.1.1.2.36.55.36 Loaded
Diagram Thumbnail oracle.diagram.thumbnail 11.1.1.2.36.55.36 Loaded
Diagram to XMLEF Bridge oracle.diagram.xmlef 11.1.1.2.36.55.36 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.2.36.55.36 Loaded
EJB oracle.ejb 11.1.1.2.36.55.36 Loaded
EJB Modeler oracle.ejbmodeler 11.1.1.2.36.55.36 Loaded
ESDK Sample - CodeInteraction oracle.ide.extsamples.codeinteraction 11.1.1 Loaded
Editor Tint oracle.ide.ceditor-tint 11.1.1.2.36.55.36 Loaded
Editor Tint (Java) oracle.jdeveloper.ceditor-tint-java 11.1.1.2.36.55.36 Loaded
Extended IDE Platform oracle.javacore 11.1.1.2.36.55.36 Loaded
Extension Designtime Core oracle.jdeveloper.extensiondt.core 11.1.1.2.36.55.36 Loaded
Extension Designtime UI oracle.jdeveloper.extensiondt.ui 11.1.1.2.36.55.36 Loaded
External Tools oracle.ide.externaltools 11.1.1.2.36.55.36 Loaded
Feedback oracle.ide.feedback 11.1.1.2.36.55.36 Loaded
File Support oracle.ide.files 11.1.1.2.36.55.36 Loaded
Fusion Application Overview Definition oracle.ide.appoverview.fusion.definition 11.1.1.2.36.55.36 Loaded
Fusion Web Application (ADF) Template oracle.adf.webapp.template 11.1.1.2.36.55.36 Loaded
Go to File oracle.ide.gotofile 11.1.1.2.36.55.36 Loaded
Go to Java Type oracle.jdeveloper.gotojava 11.1.1.2.36.55.36 Loaded
HTML oracle.html 11.1.1.2.36.55.36 Loaded
Help System oracle.ide.help 11.1.1.2.36.55.36 Loaded
History Support oracle.jdeveloper.history 11.1.1.2.36.55.36 Loaded
IDE Reports Extension oracle.ide.report 11.1.1.2.36.55.36 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.2.36.55.36 Loaded
Index Migrator support oracle.ideimpl.indexing-migrator 11.1.1.2.36.55.36 Loaded
J2EE oracle.j2ee 11.1.1.2.36.55.36 Loaded
J2EE oracle.j2ee.webapp.ve 11.1.1.2.36.55.36 Loaded
J2EE oracle.j2ee.webapp.ve.facelets 11.1.1.2.36.55.36 Loaded
J2EE CSS oracle.css 11.1.1.2.36.55.36 Loaded
J2EE Faces Config oracle.j2ee.facesconfig 11.1.1.2.36.55.36 Loaded
J2EE Web App oracle.j2ee.webapp 11.1.1.2.36.55.36 Loaded
J2EE-ADRS oracle.j2ee.adrs 11.1.1.2.36.55.36 Loaded
J2ee extension help oracle.j2ee.help 11.1.1.0.0 Loaded
JDeveloper oracle.jdeveloper 11.1.1.2.36.55.36 Loaded
JDeveloper Runner oracle.jdeveloper.runner 11.1.1.2.36.55.36 Loaded
JGoodies Forms oracle.jdeveloper.jgoodies 11.1.1.2.36.55.36 Loaded
JPublisher oracle.jdeveloper.db.jpub 11.1.1.2.36.55.36 Loaded
JSON Language support oracle.jdeveloper.json 11.1.1.2.36.55.36 Loaded
JUnit Integration oracle.jdeveloper.junit 11.1.1.2.36.55.36 Loaded
JViews Registration Addin oracle.diagram.registration 11.1.1.2.36.55.36 Loaded
Java Annotation Inspector oracle.jdeveloper.annotation.inspector 11.1.1.2.36.55.36 Loaded
Java Breadcrumbs oracle.jdeveloper.ceditor-breadcrumbs-java 11.1.1.2.36.55.36 Loaded
Java Class Modeler oracle.javamodeler 11.1.1.2.36.55.36 Loaded
Java Modeler Toplink extensions oracle.javamodeler.toplink 11.1.1.2.36.55.36 Loaded
Java Server Faces Page Flow Modeler oracle.jsfmod 11.1.1.2.36.55.36 Loaded
Java Structure Compare oracle.jdeveloper.java-compare 11.1.1.2.36.55.36 Loaded
Java Type Search oracle.jdeveloper.searchbar.java 11.1.1.2.36.55.36 Loaded
Java extension help oracle.java.help 11.1.1.0.0 Loaded
JavaBeans, Swing, and AWT oracle.swingawt 11.1.1.2.36.55.36 Loaded
JavaScript Language Support oracle.ide.javascript 11.1.1.2.36.55.36 Loaded
Jdeveloper UI Editor oracle.jdeveloper.uieditor 11.1.1.2.36.55.36 Loaded
Jdeveloper XML Extension oracle.jdeveloper.xml 11.1.1.2.36.55.36 Loaded
Legacy Controller Design-Time oracle.controller.bm.dt 11.1.1.2.36.55.36 Loaded
Legacy Preferences integration for BM oracle.modeler.bm.prefs 11.1.1.2.36.55.36 Loaded
Log Window oracle.ide.log 11.1.1.2.36.55.36 Loaded
MDS Extension oracle.mds 11.1.1.2.36.55.36 Loaded
MOF Ide Integration oracle.mof.ide 11.1.1.2.36.55.36 Loaded
MOF Modeler Integration oracle.modeler.mof 11.1.1.2.36.55.36 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.2.36.55.36 Loaded
Modeler Framework oracle.modeler 11.1.1.2.36.55.36 Loaded
Modeler Framework Common Layer oracle.modeler.common 11.1.1.2.36.55.36 Loaded
Modelling migration from BM oracle.modeler.bm.migrate 11.1.1.2.36.55.36 Loaded
Navigator oracle.ide.navigator 11.1.1.2.36.55.36 Loaded
Nightly Indexing support oracle.ideimpl.indexing-rt 11.1.1.2.36.55.36 Loaded
OAR/MAR/SAR Deployment Support Extension oracle.deploy.orapp 11.1.1.2.36.55.36 Loaded
OWSM Policy Manager Installer oracle.jdeveloper.webservice.wsmpm.installer 11.1.1.2.36.55.36 Loaded
Object Gallery oracle.ide.gallery 11.1.1.2.36.55.36 Loaded
Object Viewer oracle.sqldeveloper.oviewer 11.1.1.63.05 Loaded
Offline Database oracle.jdeveloper.offlinedb 11.1.1.2.36.55.36 Loaded
Offline Database Import/Generate oracle.jdeveloper.offlinedb.transfer 11.1.1.2.36.55.36 Loaded
Offline Database Reports Extension oracle.jdeveloper.offlinedb.report 11.1.1.2.36.55.36 Loaded
Offline Database SXML oracle.jdeveloper.offlinedb.sxml 11.1.1.2.36.55.36 Loaded
Offline Database User Properties oracle.jdeveloper.offlinedb.userprops 11.1.1.2.36.55.36 Loaded
Offline Database User Properties SXML oracle.jdeveloper.offlinedb.userprops.sxml 11.1.1.2.36.55.36 Loaded
Oracle BPEL Designer oracle.bpm.modeler 11.1.1.2.0.12.16 Loaded
Oracle BPEL Designer Plugins oracle.bpm.modeler.plugins 11.1.1.2.0.12.16 Loaded
Oracle BPM DVM oracle.bpm.dvm 11.1.1.2.0.12.16 Loaded
Oracle BPM XREF oracle.bpm.xref 11.1.1.2.0.12.16 Loaded
Oracle Business Rules Designer oracle.bpm.rules 11.1.1.2.0.12.16 Loaded
Oracle Database Browser oracle.sqldeveloper.thirdparty.browsers 11.1.1.63.05 Loaded
Oracle ESS Designer oracle.bpm.ess 11.1.1.2.0.12.16 Loaded
Oracle Enterprise Repository Adapter oracle.jdeveloper.rcoeradapter 11.1.1.2.36.55.36 Loaded
Oracle Enterprise Repository Editor oracle.jdeveloper.oereditor 11.1.1.2.36.55.36 Loaded
Oracle Events Designer oracle.bpm.events 11.1.1.2.0.12.16 Loaded
Oracle Fabric Plugins oracle.sca.modeler.plugins 11.1.1.2.0.12.16 Loaded
Oracle Human Task Designer oracle.bpm.workflow 11.1.1.2.0.12.16 Loaded
Oracle IDE oracle.ide 11.1.1.2.36.55.36 Loaded
Oracle JDeveloper Spring 2 Integration oracle.sca.spring2 11.1.1.2.0.12.16 Loaded
Oracle JDevloper Deployment Core Module oracle.deploy.core 11.1.1.2.36.55.36 Loaded
Oracle MDS Design time oracle.mds.dt 11.1.1.2.36.55.36 Loaded
Oracle Mobile ADF oracle.wireless.dt 11.1.1.2.36.55.36 Loaded
Oracle Page Templates oracle.adf-page-template-samples 11.1.1.2.36.55.36 Loaded
Oracle SOA Composite Editor oracle.sca.modeler 11.1.1.2.0.12.16 Loaded
Oracle SOA Mediator oracle.sca.mediator 11.1.1.2.0.12.16 Loaded
Oracle SQL Developer oracle.sqldeveloper 11.1.1.63.05 Loaded
Oracle SQL Developer Reports oracle.sqldeveloper.report 11.1.1.63.05 Loaded
Oracle SQL Developer Worksheet oracle.sqldeveloper.worksheet 11.1.1.63.05 Loaded
Oracle XML Schema Support oracle.sqldeveloper.xmlschema 11.1.1.63.05 Loaded
PL/SQL Debugger oracle.jdeveloper.db.debug.plsql 11.1.1.2.36.55.36 Loaded
PROBE Debugger oracle.jdeveloper.db.debug.probe 11.1.1.2.36.55.36 Loaded
Peek oracle.ide.peek 11.1.1.2.36.55.36 Loaded
Persistent Storage oracle.ide.persistence 11.1.1.2.36.55.36 Loaded
Profiler oracle.jdeveloper.profiler 11.1.1.2.36.55.36 Loaded
Properties File Support oracle.jdeveloper.props 11.1.1.2.36.55.36 Loaded
Property Inspector oracle.ide.inspector 11.1.1.2.36.55.36 Loaded
Quick Start Features for Web Applications quickstart.webapp.dt 11.1.1.2.36.55.36 Loaded
QuickDiff oracle.ide.quickdiff 11.1.1.2.36.55.36 Loaded
REST Web Services oracle.jdeveloper.webservice.rest 11.1.1.0.0 Loaded
Refactoring oracle.jdeveloper.refactoring 11.1.1.2.36.55.36 Loaded
Replace With oracle.ide.replace 11.1.1.2.36.55.36 Loaded
Reports Extension oracle.javatools.report 11.1.1.2.36.55.36 Loaded
Resource Bundle Support oracle.ide.resourcebundle 11.1.1.2.36.55.36 Loaded
Resource Bundle Support for Properties Files oracle.jdeveloper.resourcebundle.props 11.1.1.2.36.55.36 Loaded
Resource Catalog Application Server Adapter oracle.jdeveloper.asadapter 11.1.1.2.36.55.36 Loaded
Resource Catalog DB UI extension oracle.jdeveloper.db.rcadapter.ui 11.1.1.2.36.55.36 Loaded
Resource Catalog Database Adapter oracle.jdeveloper.rcdbadapter 11.1.1.2.36.55.36 Loaded
Resource Catalog WSIL Adapter oracle.jdeveloper.rcwsiladapter 11.1.1.2.36.55.36 Loaded
Resource Lookup oracle.jdeveloper.rclookup 11.1.1.2.36.55.36 Loaded
Runner oracle.ide.runner 11.1.1.2.36.55.36 Loaded
SQL*Plus Integration oracle.jdeveloper.db.sqlplus 11.1.1.2.36.55.36 Loaded
SQLJ oracle.jdeveloper.sqlj 11.1.1.2.36.55.36 Loaded
Search Bar oracle.ide.searchbar 11.1.1.0.0 Loaded
SearchBar Commands oracle.ide.searchbar.commands 11.1.1.2.36.55.36 Loaded
Searchbar Preferences oracle.ide.searchbar.preferences 11.1.1.2.36.55.36 Loaded
Snippet Window oracle.sqldeveloper.snippet 11.1.1.63.05 Loaded
Struts Page Flow Modeler oracle.struts 11.1.1.2.36.55.36 Loaded
Studio oracle.studio 11.1.1.2.36.55.36 Loaded
Studio extension help oracle.studio.help 11.1.1.0.0 Loaded
Template oracle.ide.ceditor-template 11.1.1.2.36.55.36 Loaded
TopLink oracle.toplink 11.1.1.2.36.55.36 Loaded
Trinidad Databinding Design Time oracle.trinidad-databinding-dt 11.1.1.2.36.55.36 Loaded
Trinidad Design Time oracle.trinidad-dt 11.1.1.2.36.55.36 Loaded
UDDI Resource Catalogue Provider oracle.jdevimpl.uddiadapter 11.1.1.2.36.55.36 Loaded
UML XMI oracle.uml.v2.xmi 11.1.1.2.36.55.36 Loaded
UML v2 oracle.uml.v2 11.1.1.2.36.55.36 Loaded
UML v2 Activity Modeler oracle.uml.v2.activity 11.1.1.2.36.55.36 Loaded
UML v2 Class Diagram oracle.uml.v2.clazz 11.1.1.2.36.55.36 Loaded
UML v2 Migration oracle.uml.v2.migrate 11.1.1.2.36.55.36 Loaded
UML v2 Sequence Diagram oracle.uml.v2.sequence 11.1.1.2.36.55.36 Loaded
UML v2 Transformation to Java oracle.uml.v2.umljava 11.1.1.2.36.55.36 Loaded
UML v2 Use Case Diagram oracle.uml.v2.usecase 11.1.1.2.36.55.36 Loaded
UML2 Modelers Common Classes oracle.uml.v2.modeler 11.1.1.2.36.55.36 Loaded
URL Connection oracle.jdevimpl.urlconn 11.1.1.2.36.55.36 Loaded
VHV oracle.ide.vhv 11.1.1.2.36.55.36 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.2.36.55.36 Loaded
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.2.36.55.36 Loaded
Virtual File System oracle.ide.vfs 11.1.1.2.36.55.36 Loaded
WSDL Chooser oracle.jdeveloper.wsdllookup 11.1.1.0.0 Loaded
WSDL web services extension oracle.jdevimpl.wsdl 11.1.1.2.36.55.36 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.2.36.55.36 Loaded
Web Services oracle.jdeveloper.webservice 11.1.1.0.0 Loaded
WebDAV Connection Support oracle.jdeveloper.webdav2 11.1.1.2.36.55.36 Loaded
WebStart oracle.j2ee.webstart 11.1.1.0.0 Loaded
XML Compare oracle.jdeveloper.xml-compare 11.1.1.2.36.55.36 Loaded
XML Editing Framework IDE Extension oracle.ide.xmlef 11.1.1.2.36.55.36 Loaded
XML Editing Framework Java Integration oracle.jdeveloper.xmlef 11.1.1.2.36.55.36 Loaded
XSL Mapper oracle.bpm.mapper 11.1.1.2.0.12.16 Loaded
adf-deploy-dt oracle.adfdt.common.deploy 11.1.1.2.36.55.36 Loaded
adf-deploy-dt-mds oracle.adfdt.common.deploy.mds 11.1.1.2.36.55.36 Loaded
adf-installer-ide adf.installer.dt 11.1.1.2.36.55.36 Loaded
adf-jmxdc-ide oracle.adf.jmxdc 11.1.1.2.36.55.36 Loaded
adf-logging-dt oracle.adf.logging.dt 11.1.1.2.36.55.36 Loaded
adf-model-debugger-dt oracle.adf-model-debugger-dt 11.1.1.2.36.55.36 Loaded
adf-model-tools oracle.adf.model.tools 11.1.1.2.36.55.36 Loaded
adf-security-policy-dt oracle.adfdtinternal.adf-security-policy-dt 11.1.1.2.36.55.36 Loaded
adf-share-deploy-dt oracle.adf.share.deploy.dt 11.1.1.2.36.55.36 Loaded
adf-share-dt oracle.adf.share.dt 11.1.1.2.36.55.36 Loaded
adfmcoredt-xdf oracle.adfm.xdf 11.1.1.2.36.55.36 Loaded
adfquerylovdt oracle.adf-faces-query-and-lov-dt 11.1.1.2.36.55.36 Loaded
appoverview oracle.ide.appoverview 11.1.1.2.36.55.36 Loaded
asnav-weblogic oracle.jdeveloper.asnav.weblogic 11.1.1.2.36.55.36 Loaded
audit oracle.ide.audit 11.1.1.2.36.55.36 Loaded
audit-core oracle.ide.audit.core 11.1.1.2.36.55.36 Loaded
bi-jdbc oracle.bi.jdbc 11.1.1.2.36.55.36 Loaded
classpath: protocol handler extension oracle.jdeveloper.classpath 11.1.1.0.0 Loaded
db-audit oracle.ide.db.audit 11.1.1.2.36.55.36 Loaded
db-modeler-transform oracle.dbmodeler.transform 11.1.1.2.36.55.36 Loaded
dcadapters-ide oracle.adfm.dc-adapters 11.1.1.2.36.55.36 Loaded
dependency-java oracle.jdeveloper.java.dependency 11.1.1.2.36.55.36 Loaded
dependency-refactor oracle.jdeveloper.refactoring.dependency 11.1.1.2.36.55.36 Loaded
deploy-ant oracle.deploy.ant 11.1.1.2.36.55.36 Loaded
deploy-rt oracle.jdevimpl.deploy-rt 11.1.1.2.36.55.36 Loaded
feedback-client2 oracle.ideimpl.feedback2.client 11.1.1.2.36.55.36 Loaded
ide-diagnostics oracle.ide.diagnostics 11.1.1.0.0 Loaded
j2ee-adrsimpl oracle.j2ee.adrsimpl 11.1.1.0.0 Loaded
j2ee-facelets oracle.j2ee.facelets 11.1.1.2.36.55.36 Loaded
j2ee-jpsconfig oracle.j2ee.jpsconfig 11.1.1.2.36.55.36 Loaded
j2ee-security oracle.j2ee.security 11.1.1.2.36.55.36 Loaded
j2ee-server oracle.j2ee.server 11.1.1.0.0 Loaded
j2ee-server-dt oracle.j2ee.server.dt 11.1.1.2.36.55.36 Loaded
j2ee-serverimpl oracle.j2ee.serverimpl 11.1.1.2.36.55.36 Loaded
j2ee-weblogic oracle.j2ee.weblogic 11.1.1.2.36.55.36 Loaded
j2ee-weblogic-editors oracle.j2ee.weblogic.editors 11.1.1.2.36.55.36 Loaded
jdukshare oracle.bm.jdukshare 11.1.1.2.36.55.36 Loaded
library-dconfig-infra oracle.jdeveloper.library.dconfig.infra 11.1.1.2.36.55.36 Loaded
library-jee-api oracle.jdeveloper.library.jee.api 11.1.1.2.36.55.36 Loaded
library-jmx oracle.jdeveloper.library.jmx 11.1.1.2.36.55.36 Loaded
library-jps oracle.jdeveloper.library.jps 11.1.1.2.36.55.36 Loaded
library-weblogic-api oracle.jdeveloper.library.weblogic.api 11.1.1.2.36.55.36 Loaded
library-weblogic-client oracle.jdeveloper.library.weblogic.client 11.1.1.2.36.55.36 Loaded
mof oracle.mof 11.1.1.2.36.55.36 Loaded
mof-index oracle.mof.index 11.1.1.2.36.55.36 Loaded
mof-xmi oracle.mof.xmi 11.1.1.2.36.55.36 Loaded
oracle.adfm oracle.adfm 11.1.1.2.36.55.36 Loaded
oracle.adfm.contextual oracle.adfm.contextual 11.1.1.2.36.55.36 Loaded
oracle.dynamic-faces-dt oracle.dynamic.faces 11.1.1.2.36.55.36 Loaded
oracle.ide.dependency oracle.ide.dependency 11.1.1.2.36.55.36 Loaded
oracle.ide.filequery oracle.ide.filequery 11.1.1.2.36.55.36 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.2.36.55.36 Loaded
oracle.ide.usages-tracking oracle.ide.usages-tracking 11.1.1.2.36.55.36 Loaded
oracle.todo.tasks oracle.todo.tasks 11.1.1.2.36.55.36 Loaded
palette2 oracle.ide.palette2 11.1.1.2.36.55.36 Loaded
placeholder-jsf-ui oracle.placeholderjsf-ui 11.1.1.2.36.55.36 Loaded
placeholderdc-dt oracle.placeholderdc.dt 11.1.1.2.36.55.36 Loaded
rcasadapter-dt oracle.jdeveloper.asadapter.dt 11.1.1.2.36.55.36 Loaded
rcasadapter-oc4j oracle.jdeveloper.asadapter.oc4j 11.1.1.2.36.55.36 Loaded
rcasadapter-rescat2 oracle.jdeveloper.asadapter.rescat2 11.1.1.2.36.55.36 Loaded
rcasadapter-thirdparty oracle.jdeveloper.asadapter.thirdparty 11.1.1.2.36.55.36 Loaded
rcasadapter-weblogic oracle.jdeveloper.asadapter.weblogic 11.1.1.2.36.55.36 Loaded
rcasadapter-weblogic-api oracle.jdeveloper.asadapter.weblogic.api 11.1.1.2.36.55.36 Loaded
rescat2 oracle.jdevimpl.rescat2 11.1.1.2.36.55.36 Loaded
resourcebundle-api-adfdeps oracle.jdeveloper.resourcebundle.adfdeps 11.1.1.2.36.55.36 Loaded
resourcebundle-api-xliff oracle.resourcebundle.xliff 11.1.1.2.36.55.36 Loaded
resourcebundle-customization oracle.jdeveloper.resourcebundle.customization 11.1.1.2.36.55.36 Loaded
searchbar-gallery oracle.ide.searchbar.gallery 11.1.1.2.36.55.36 Loaded
searchbar-help oracle.ide.searchbar.help 11.1.1.2.36.55.36 Loaded
searchbar-index oracle.ide.searchbar.index 11.1.1.2.36.55.36 Loaded
status oracle.ide.status 11.1.1.2.36.55.36 Loaded
xml-schema-dt oracle.jdevimpl.xml.schema 11.1.1.2.36.55.36 Loaded
xsl-dt oracle.jdevimpl.xml.xsl 11.1.1.2.36.55.36 Loaded
xsqldt-ide oracle.xsqldt-ide 11.1.1.2.36.55.36 LoadedHi
thanks for getting back to me.
I just went to the controls panel (under Systemsteuerung\Programme\Standardprogramme\Dateizuordnungen festlegen, sorry, German) I can see:
Name: .swf
Description: Shockwave Flash Object
Application: Unknown application
Also, double clicking a swf file prompts me with a dialog saying Windows can't openit since it doesn't know how. -
Variable substitution in Unit Testing validation - Date format?
Using SQL Developer unit testing, I am having difficulty comparing Date datatype in a validation.
I use a Dynamic Value Query to set the parameters of an insertion procedure under test.
select * from (select doc_nbr as p_mstr_doc_nbr, doc_nbr as p_assoc_doc_nbr, sysdate as p_date_added from documents sample(0.01) order by dbms_random.random) where rownum <= 1;So P_DATE_ADDED is a DATE datatype.
I wish to validate that the insertion was correct. So I run a Process Validation returning one or more rows.
SELECT * FROM X100_ASSOC
WHERE MSTR_DOC_NBR = '{P_MSTR_DOC_NBR}'
AND ASSOC_DOC_NBR = '{P_ASSOC_DOC_NBR}'
AND to_char(DATE_ADDED,'dd-MON-yy HH24:MI:SS') = {P_DATE_ADDED};I understand that the {P_DATE_ADDED} is substituting in a string. From Help page :
"What is actually substituted is the string representation of the parameter value. For example:
If P1 is a parameter of type NUMBER and has the value 2.1, the string {P1} will be replaced by the string 2.1.
If P1 is a parameter of type VARCHAR2 and has the value ABC, the string '{P1}' will be replaced by the string 'ABC'. (Note the single-quotation marks around {P1} in this example.)"
I need to know the format that the date is cast into as a string. Then I can do the comparision on the where clause.
Any answers? or details of where is more in depth documentation?
Thank you,
BillI agree as a general rule. However in this case, it appears that the variable substitution routine is returning the default format. So to compare my expected data to the returned data I choose to use the default format. If the variable substitution routine specified an explicit format, I would use that. In my original question, I asked if anyone knew the format.
Regards,
Bill
Maybe you are looking for
-
In iCal I have 2 October 2012 (one instead of November) and no have March in 2013. Mac Ox 10.5.8, iCal 3.0.8 (1287), Russian locale So seems that other month's names moved So now in Ical ( month view) i have: October, October, November, December, Jan
-
I have a samsung note 8 tablet. I used to be able to delete files from the recents list, but don't know how to do it in the newest version.
-
Hi Gurus. I have a error in the service orden, the error say (Pricing data for partner 5000008 could not be read) and the information say: Diagnosis The attempt to read the pricing data for the current, valid business partner from the customer master
-
When I click on iPhoto, it starts to open but all I see is "Loading photos..." and a gray spinning wheel on a white screen background. I used Disk Warrior to rebuild the directory and repair permissions but that hasn't fixed it. Any ideas what is wro
-
Error ora-604 ora-904 invalid column name
Someone knows how to fix this problem? Error ora-604 ora-904 invalid column name.