VC Jdeveloper application packaging
Hello
I have what I think, it's a bug of Jdeveloper when I'm trying to run a display criteria, the dressing of the sub queries are wrong, please see the following explanation to understand.
The VC:
The Victoria Cross when it is executed, I got it in the journal of Jdeveloper:
SELECT * FROM (SELECT h.order_no, h.order_suffix, h.order_no || '-' || h.order_suffix DISP_ORDER, h.cust_po CUST_PO, h.order_date ORDER_DATE, h.estship_dt, h.ship_dt, DECODE(d.plant_code,'06','ATLV','08','DROP','03','ATLD','50','CSM','ATL') SHIP_LOC, DECODE(h.hold_cd,'C','ON HOLD','O','ON HOLD','','') ON_HOLD, ROUND(SUM(d.qty_order*NVL(d.gross_wt,0))) GROSS_ORDER_WEIGHT, h.order_status, h.invno, (TRUNC(sysdate) - h.ship_dt) DAYS, h.cust_no, h.order_type FROM oehead h JOIN oedetl d ON h.order_no = d.order_no AND h.order_suffix = d.order_suffix GROUP BY h.order_no, h.order_suffix, h.order_status, h.cust_no, h.cust_po, h.invno, h.order_date, h.request_dt, h.estship_dt, h.hold_cd, h.ship_dt, d.plant_code, h.order_type ORDER BY h.order_status ASC ) QRSLT WHERE ( ( ( (UPPER(ORDER_STATUS) = UPPER(:vc_temp_1) ) AND (DAYS = :BindDays ) AND (UPPER(CUST_NO) = UPPER(:BindCustNo) ) AND (UPPER(ORDER_TYPE) = UPPER(:vc_temp_2) ) AND (EXISTS (SELECT * FROM (SELECT d.order_no DETL_ORDER_NO, d.order_suffix DETL_ORDER_SUFFIX, d.line_no DETL_LINE_NO, d.item_no DETL_ITEM_NO, d.cust_item_no DETL_CUST_ITEM, d.item_desc DETL_ITEM_DESC, i.desc_line_1 DETL_ITEM_DESC2, d.qty_order DETL_QTY_ORDER, (d.unit_price +DECODE(d.unit_price,0,0,NVL(d.surcharge_amt,0)+DECODE(d.qty_shipped,0,0,(NVL(d.custom_charge,0)/d.qty_shipped))))*DECODE(c.alt_currency_cd,'USD',h.atl_exch_rate_usd,1) DETL_UNIT_PRICE, (d.ext_price +NVL(d.custom_charge,0))*DECODE(c.alt_currency_cd,'USD',h.atl_exch_rate_usd,1) DETL_EXT_PRICE, DECODE(h.order_status, 'V', d.qty_shipped*d.gross_wt, d.qty_order*d.gross_wt) DETL_WEIGHT, d.cust_po_line DETL_PO_LINE, d.sales_um DETL_UM, d.qty_shipped DETL_QTY_SHIPPED, d.qty_bo DETL_QTY_BO, d.due_dt DETL_DUE_DT, c.alt_currency_cd || ' $' DETL_CURRENCY, h.org_unit_id DETL_ORG_UNIT_ID FROM OEDETL d, OEHEAD h, item_desc i, custmast c WHERE d.order_no = h.order_no AND d.order_suffix = h.order_suffix AND d.item_no = i.item_no AND d.item_no <> 'DESTCHARGE' AND h.cust_no = c.cust_no ORDER BY d.line_no ) QRSLTSQ2 WHERE ( (UPPER(DETL_ITEM_NO) = UPPER(:BindDetItemNo) ) ) AND (QRSLTSQ1.ORDER_NO = QRSLTSQ2.DETL_ORDER_NO AND QRSLTSQ1.ORDER_SUFFIX = QRSLTSQ2.DETL_ORDER_SUFFIX) )) ) ) )
The error I got is:
Explanation:
The error that is quite normal occurs because the first sub question Jdevloper encapsulated inside the QRSLT and the second query sub encapsulated inside the QRSLTSQ2 and at the end, Jdeveloper, I do not know for what reason he uses in the clause WHERE QRSLTSQ1 instead of QRSLT. There is no QRSLTSQ1 in the query.
I use Jdeveloper 12.1.3.0.0
Thank you guys for your help and your time.
I solved the problem with a strange way
before running the query that I called the toString method to print the query after you set the bind variables in the VariableValueManager of the ViewCriteria in the ViewObjectImpl and it looks that it recreates the alias correctly for me it doesn't make sense.
See the code below.
ViewCriteriaManager vcm = this.getViewCriteriaManager(); ViewCriteria vc = vcm.getViewCriteria("ShippedOrdersVOCriteria"); VariableValueManager vvm = vc.ensureVariableManager(); vvm.setVariableValue("BindCustNo", custNo); vvm.setVariableValue("BindCustPo", poNo); vvm.setVariableValue("BindDays", days); vvm.setVariableValue("BindDetItemNo", detItemNo); vvm.setVariableValue("BindInvoiceNo", invoiceNo); vvm.setVariableValue("BindOrderNo", orderNo); this.applyViewCriteria(vc); this.getQuery().toString(); this.executeQuery();
Kind regards
Tags: Java
Similar Questions
-
Application package load error: permission denied
Hello
I develop on the alpha 10 blackberry dev and yesterday during the deployment of app I started getting this message from QNX Momentics IDE:
"Synchronization and application startup" has encountered a problem.
Application package load error: permission denied
After I started getting this error, I noticed that I couldn't run any application, I already installed on the device, even the example apps provided no longer works (by clicking on the icon was moving the desk on the right for a moment as he normally does, but then the application does not run)
I tried to set the mode of development, change the debugging token, restart the device and my pc, but it did not help. So I decided to wipe the device and today I reinstalled the operating system. I was able to run the application a couple of times tonight, but the problem started to appear again.
The error is exaclty the same as before and he does not say much. What can I do to fix this?
I had the same problem tonight, so I investigated further. I went to settings-> Security-> development mode and I noticed the debugging token has been installed, but it was not valid. the expiry date line said "edition invalid date or in the future." I noticed the time on my phone was incorrectly, I put it properly and now it works again.
-
Questions CHAPTER: classname does not exist in the current application package
CHAP, I integrated it into my application. When you put a file in my media with the specific file extension (.xyz) map and by clicking on it, my application successfully is started and managed as expected. That's the good news.
However, I tried to create a separate application to test the app-to-app content handling (so that other applications can call my request). In the application, I create my file (extension .xyz) on the handset and then try to claim it. However, when I try and call it, I get an IllegalArgumentException saying: classname does nto exist in the package of the current application. I checked that my main application has seen that full classname with package (com.test.ui.MainApp) and that my separate application tries to make the invocation with this same classname. He worked successfully on the BlackBerry Simulator (4.6 Simulator "BOLD"), but it throws the error above on my actual handset ("BOLD", 4.6.0.167)
Anyone have an idea what could cause this problem?
Please refer to the following.
Support - Classname does not exist in the current application package
Article number: DB-00751 -
enumeration of application package
Hello. I'm new to AppPackages. I want to set a group of constants that can be used by my Application Engine peoplecode. The only way to define constants in a class (AFAIK) is in the private sector, which means that my AE pcode cannot use it after I imported the AppPackage. I just have to paste the constant list in my AE pcode, or is there another way to include the AppPackage?
Thank you.
Jeff
There is an interesting blog on the subject...
-
Hello!
When you deploy a WAR for WebLogic 10.3.5, what is the difference between the prefer-application-package element in the weblogic.xml and weblogic application files. XML?
In my WARs WEB-INF/lib / I have a JAR that contains classes that are already provided by the container (but older versions).
If I do not prefer-application-packages use my application gets then the classes provided by the container.
If I use prefer-application-packages in weblogic.xml can I get classes in WAR/WEB-INF/lib, which is expected.
But if I use prefer application-packages in weblogic - application.xml, then I get the versions of container. Why?
Is there a difference between these two options?
The exact data that I use are:
(foo.bar. * is the name of the conflicting package;) Add or remove the linex tagged XXXX)
WEB-INF/weblogic.xml:
<?xml version="1.0" encoding="UTF-8"?> <wls:weblogic-web-app xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.2/weblogic-web-app.xsd"> <wls:container-descriptor> <wls:show-archived-real-path-enabled>true</wls:show-archived-real-path-enabled> <wls:prefer-application-packages> <!-- XXXX --> <wls:package-name>foo.bar.*</wls:package-name> <!-- XXXX --> </wls:prefer-application-packages> <!-- XXXX --> <wls:prefer-application-resources> <wls:resource-name>META-INF/services/some....</wls:resource-name> <wls:resource-name>META-INF/services/unrelated...</wls:resource-name> <wls:resource-name>META-INF/services/stuff...</wls:resource-name> </wls:prefer-application-resources> </wls:container-descriptor> <wls:jsp-descriptor> <wls:page-check-seconds>-1</wls:page-check-seconds> <wls:precompile>true</wls:precompile> <wls:precompile-continue>true</wls:precompile-continue> <wls:keepgenerated>true</wls:keepgenerated> </wls:jsp-descriptor> <wls:session-descriptor> <wls:persistent-store-type>replicated_if_clustered</wls:persistent-store-type> </wls:session-descriptor> </wls:weblogic-web-app>
META-INF/weblogic - application.xml:
<?xml version="1.0" encoding="UTF-8"?> <weblogic-application xmlns="http://xmlns.oracle.com/weblogic/weblogic-application" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/javaee_5.xsd http://xmlns.oracle.com/weblogic/weblogic-application http://xmlns.oracle.com/weblogic/weblogic-application/1.2/weblogic-application.xsd"> <application-param> <param-name>webapp.encoding.default</param-name> <param-value>UTF-8</param-value> </application-param> <xml> <parser-factory> <saxparser-factory> org.apache.xerces.jaxp.SAXParserFactoryImpl </saxparser-factory> <document-builder-factory> org.apache.xerces.jaxp.DocumentBuilderFactoryImpl </document-builder-factory> <transformer-factory> org.apache.xalan.processor.TransformerFactoryImpl </transformer-factory> </parser-factory> </xml> <prefer-application-packages> <package-name>foo.bar.*</package-name> <!-- XXXX --> <package-name>javax.jws.*</package-name> <package-name>javax.xml.ws.*</package-name> <package-name>org.apache.cxf.*</package-name> <package-name>antlr.*</package-name> <package-name>org.xmlsoap.schemas.wsdl.*</package-name> </prefer-application-packages> </weblogic-application>
WebLogic - application.xml has no meaning in wars, it is only used in the ears.
-
Message says: do not launch the application from the Application package
When I pulled any items in my folder of applications today, the screen came up with three options, organizer, Publisher of Photo and Video Editor. I just wanted to edit a file, but whenever I tried to click on items, I got an error message saying "Please do not run this application from this application package. In contrast, please launch Adobe Photoshop elements 13 & Adobe Premiere elements 13 in your Applications folder. "That's exactly how I started the program, so it doesn't make much sense. What I'm missing here?
Thanks in advance,
David Brown
You use the version of the App Store? There has been recent technical problems with Apple, with the only version of the editor. Go to this link:
-
Some time ago I bought Photoshop Elements in the apple App Store. I worked well. Now, if I try to start the application I get the message "Please do not run this application within this application package. "Instead, please run Adobe Photoshop elements 13 of your Application folder. I tried this but it does not work. What to do to run the program?
Follow these steps, Editor does not start | Mac App Store version
-
Message: Please do not run this application from this application package. On the contrary, please put in... from your applications folder. Trying to find applications said, they do not seem to exist.
Program worked well... me if because of the update on the App store?
There has been recent technical problems with Apple, with the only version of the editor. Go to this link:
-
Debug peoplecode in the application package
Dear Sir
Does anyone have an idea on how to debug the peoplecode that is triggered by the online page in the application package?
Thank you
DennisThis how you enable PSDBGSRV...
For PeopleSoft - PeopleCode 3-tier of debugging, use PSADMIN to make sure that the following settings are set.
(1) the appropriate PSDBGSRV listening Port is specified in the section PeopleCode PSADMIN debugger.
For example: values for config section - PeopleCode debugger
PSDBGSRV = 9500 listening port(2) at least two processes PSAPPSRV configured for a start in the field with the parameter of timeout set to 0 (zero) Service.
The minimum requirements for debugging PeopleCode are:
-Two (2) PSAPPSRV server processes configured for a start in the field.
-The value of period of Service in the PSAPPSRV configuration section must be set to zero (0).The following example shows a correctly configured for debugging PeopleCode PSAPPSRV sample section:
Values for config section - PSAPPSRV
Instances of min = 2
Instances of max = 2
Service timeout = 0
Recycle the Count = 0
Licensing failures Consec Service = 0
The size of the extraction of max = 5000(3) enter y for Yes at the prompt "Activate Server PSDBGSRV process" at the end of the PSADMIN interface.
After you have specified your settings using PSADMIN prompted a series of options, such as the implementation of e-mail to jolt server process and so on. When you are prompted to activate the PSDBGSRV, enter Y. The default development model is Y.
After you have enabled it, you can come to the application designer, open your code, and then try to debug...
-
Cost of JDeveloper applications
Does anyone have an escape from the real cost of JDeveloper applications.
We currently have in the House. end Oracle and BIC. I was looking to create applications with JDeveloper. Right now I have the impression that the J2EE development is too expensive to support. If we use Oracle end, BIC and JDeveloper our costs would be less because we are already paying for Oracle end and BIC?
Any help would be appreciated - as soon as possible.
Thank youI'm not an expert on what is included in the installation of Oracle Apps you have.
They may contain a Java EE server - but it also depends on your license applications - cause that server could only be allowed to run Oracle Apps specifically and you'll no longer licensed to run other applications on it.
If this is the case, then you will need a license Oracle applications server too - whose version depends on the version of JDeveloper, you want to use.I think that it is best to contact your Oracle account team and ask they'll be able to break down the costs of license for you based on what you have or not.
-
Hello
I installed jDeveloper (Studio Edition Version 12.1.3.0.0) and also I installed some packages, for example the Web Service package. But when I create a new application project / I can't select for example of Web Service Client / Proxy and others. See photo:
Do you know why? How can I make available?
THX!Milan
OK, I found it
I created an application (Custom Java) with the empty project, and then I was able to add the web service client project (right click on the 'project' and select 'of the Gallery"). The same window appears as in my first post, but all features are available
Thank you!
Milan
-
JDeveloper setup package is corrupt?
I downloaded the JDeveloper for Windows Installer "Oracle JDeveloper 12 c 12.2.1.0.0 (2.1 GB) Windows" (folder 1). "
When I run the Setup, somewhere around 80% of the loading procedure, I get a fatal warning indicating that the package is corrupt "error nr 1.
I tried to download with multiple browsers on multiple platforms and tried to install it on multiple platforms... always the same error.
Is it just me, or is the actually corrupted file?
Download page:
http://www.Oracle.com/technetwork/developer-tools/jdev/downloads/index.html
I test and it worked on my win 7 x 64 pc.
Timo
-
How to integrate the glass fish with Oracle JDeveloper application server
Hello
is someone's idea on... can we integrate server with Jdeveloper glass fish...
I have to use the application server with the oracle Jdeveloper glass fish,
If one achieve this feature before... Please suggest me the steps... How can I do this
thanking you :)
NikhilHello
There is no support yet as server integrated into JDev Glasfish currents
Frank
-
Flash Builder 4.6 Mobile Application packaging and export
Hi all
I'm new to Flash builder, using Flash Builder 4.6 to develop an android application.
She runs in office, no error occurs. But when I export it or try to run my
Phone SAMSUNG GALAXY Y S5360 it does not work. This is the version Android is 2.3.6
I plugged the USB with pc and tried to run the application on my phone.
First ask that you want to install ADOBE AIR for device I select the option 'YES' then he go for 57% and show me an error
Error occurred during the installation of the application: pkg:/data/local/tmp/Runtime.apk failure [INSTALL_FAILED_CPU_ABI_INCOMPATIBLE] s 3261 KB/s (8653085 bytes in 2.333)
And when I export and Release Build for .apk file. I select the Runtime in captivity.
Then, it displays a message
The package was created successfully, but the application could not be installed on one or more devices: device ID 0123456789ABCDEF(Google Android): problem occurred during the installation of ADOBE AIR.
Please guide me...
Thank you
After a search on the internet and have hands on this problem, I finally found the solution.
SAMSUNG Galaxy Y S5360 has 830 MHz ARMv6 CPU and minimum required the minimum system requirements for AIR 3.3 beta on Android:
CPU: Processor ARMv7 with Vector FPU, Minimum 550 MHz, OpenGL ES2.0 H.264 & AAC H/W decoders OS: Android 2.2, 2.3, 3.0, 3.1, 3.2 & 4.0 RAM: 256 MB RAMLater, I used a Motorola mobile device with higher version my .apk file worked fine.
Click here for Samsung Galaxy Y S5360 phone specification
Thank you all for your efforts.
-
Error when running in jdeveloper application
Dear all,
When I try to run the application in jdeveloper it gives me error follwing newspaper.
Any body can help me on this...
< 25 January 2011 18:39:52 IST > < error > < JDBC > < BEA-001553 > < could not deploy JDBC data source conMessages. No credential Mapper entry found for messages the indirection user password >
< 25 January 2011 18:39:52 IST > < error > < hats > < BEA-149205 > < could not initialize the application "fileupload" due to the error weblogic.application.ModuleException:.
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:290)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
to weblogic.application.internal.flow.DeploymentCallbackFlow$ 1.next(DeploymentCallbackFlow.java:507)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
Truncated. check the log file full stacktrace
Caused by: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: no entry credential Mapper found for user password indirection = messages for data source conMessages
at weblogic.jdbc.common.internal.DataSourceConnectionPoolConfig.getPoolProperties(DataSourceConnectionPoolConfig.java:85)
at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1109)
at weblogic.jdbc.common.internal.ConnectionPool.start(ConnectionPool.java:147)
at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:385)
at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:326)
Truncated. check the log file full stacktrace
-Thank youI think the default location is C:\Users\
\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\ You can try to remove the DefaultDomain directory from there to start (instead of destroying the entire system directory)
Maybe you are looking for
-
The bar (task line?) in the upper part of the return emails has disappeared. When I hit the reply to an e-mail message, the new e-mail arrives, but I can't send after typing because there is no command bar as there had always been? It was a bar, tab,
-
Spotify does not appear in the spotlight
I'm on Mac os x 10.11.1 The bug was already in Mac os x Yosemite I installed on my mac Spotify. But when I search "Spotify" in Spotlight, only system files will be visible, not the Spotify app. So I have to manually start Spotify from the Dock (or La
-
Display exceeds the size of the monitor screen
Hello I just bought a HP 5208uk (without a monitor). Connected to a (digital) TV via vga on a resolution of 1024 x 768 and dvi on the 1080ix60 resolution (two settings came automatically). The display of the Office is outside the borders of the scree
-
Recording time elapsed for a change in status of the Boolean button
Hello I'm new to Labview and tries to implement a simple program. I want to find the elapsed time in seconds when a key value is faithful to a false button has changed. I created the following VI attached for the same but the timer works only up to 5
-
4540 proBook s: help to the New Installation of hard drive recovery
I had a bad hard drive crash. I installed a new and got the bios to boot from the cd drive, with windows 7 orginal cd of installation in the drive. He acknowledged drive 0, I clicked again in the options. He created a system partition. Installed win