Query based ViewObject does pull not all attributes, when the query has 'WITH' clause
Hello
12.1.2 and 12.1.3 JDeveloper
When we try to create a custom query based ViewObject, and the query clause of "with."
So not all the columns selected in the query are appearing as attributes of the View object in the wizard.
This is the query. And it performs very well in Toad.
WITH dept_count AS)
SELECT department_id, COUNT (*) AS dept_count
Employees
GROUP BY department_id)
SELECT e.first_name AS employee_name,
DC1.dept_count AS emp_dept_count,
m.first_name AS manager_name,
DC2.dept_count AS mgr_dept_count
E employees,
dept_count dc1,
m employees,
dept_count dc2
WHERE e.department_id = dc1.department_id
AND e.manager_id = m.employee_id
AND m.department_id = dc2.department_id;
Only the EmployeeName attribute is extracted from the query. It does not show the rest of the attributes in the VO Wizard.
(I also tried to create a VO from the EntityObject class and make it editable as false, even in this case all attributes are not displayed.)
I was wondering if something changed in 12 c?
It works in 11.1.1.7
(A friend of mine just asked me this).
Thanks for any help.
Sameer
Jdev dislikes the syntax
You can rewrite as
SELECT e.first_name AS employee_name,
DC1.dept_count AS emp_dept_count,
m.first_name AS manager_name,
DC2.dept_count AS mgr_dept_count
E employees,
(
SELECT department_id, COUNT (*) AS dept_count
Employees
GROUP BY department_id) dc1,.
m employees,
(
SELECT department_id, COUNT (*) AS dept_count
Employees
GROUP BY department_id) dc2
WHERE e.department_id = dc1.department_id
AND e.manager_id = m.employee_id
AND m.department_id = dc2.department_id
who must work and give you the same result.
Timo
Tags: Java
Similar Questions
-
HP printer all-in-one B210a win 7 64 bit.
no error message just don't wake up from power saving mode and does not turn off when the power button is pressed. must be disconnected and then turned back on. works fine until the power saving mode he did go to sleep then not answer the test print command or Toolbox controls. power saving mode is turned off, but still goes to sleep.
First, you will need to make sure that the printer is under warranty. You can do it here. So, if you are in warranty, you must contact HP at 1-800-474-6836 and the United States in computer science, international users click here.
-
Measurement & Automation does not open and generates the MAXKnownException error with an unknown exception.
Heres the log
Context where the exception was taken:
(No context - the unhandled exception)Size version of Base module
-------------------- -------- -------- ------------------
NIMax.exe 00400000 0006 has 000 4.6.0.49152
ntdll.dll 770E0000 00180000 6.1.7601.18247
00110000-76060000 6.1.7601.18409 Kernel32.dll
KERNELBASE.dll 74E00000 00047000 6.1.7601.18409
SYSFER. 74830000 00072000 12.1.1101.401 DLL
1BFB0000 0001 NiMaxImp.dll B 000 4.6.0.49152
Shell32.dll 74E50000 00C4A000 6.1.7601.18429
Msvcrt.dll 76830000 000AC000 7.0.7601.17744
74 00000 00057000 6.1.7601.17514 SHLWAPI.dll
76740000 00090000 6.1.7601.18275 Gdi32.dll
00100000 76480000 6.1.7601.17514 User32.dll
Advapi32.dll 75DD0000 000 A 0000 6.1.7601.18247
sechost.dll 76CC0000 00019000 6.1.7600.16385
000F0000 rpcrt4.dll 76980000 6.1.7601.18205
SspiCli.dll 74AE0000 00060000 6.1.7601.18443
CRYPTBASE.dll 74AD0000 0000 C 000 6.1.7600.16385
LPK.dll 76470000 0000 has 000 6.1.7601.18177
USP10.dll 768E0000 0009D 000 1.626.7601.18454
Ole32.dll 75F00000 0015C 000 6.1.7601.17514
Msvcp90.dll 739F0000 0008E000 9.0.30729.6161
Msvcr90.dll 73DB0000 000 has 3000 9.0.30729.6161
74470000 00009000 6.1.7600.16385 VERSION.dll
IMM32. 00060000 60000 74 6.1.7601.17514 DLL
000CC000 76BB0000 MSCTF.dll 6.1.7600.16385
74320000 00021000 6.1.7600.16385 Ntmarta.dll
Wldap32.dll 00045000 763E0000 6.1.7601.17514
Uxtheme.dll 6EB20000 00080000 6.1.7600.16385
NiMaxUI.dll 1C2D0000 00269000 4.6.0.49153
Msvfw32.dll 6BE30000 00021000 6.1.7601.17514
73970000 00032000 6.1.7601.17514 WINMM.dll
Comctl32.dll 73E80000 0019E000 6.10.7601.17514
Wsock32.dll 73DA0000 00007000 6.1.7600.16385
74DC0000 00035000 WS2_32.dll 6.1.7601.17514
NSI.dll 75AA0000 00006000 6.1.7600.16385
Oleaut32.dll 76580000 0008F000 6.1.7601.17676
6D8E0000 003 Mfc90u.dll has 1000 9.0.30729.6161
MSIMG32.dll 6EBA0000 00005000 6.1.7600.16385
dwmapi.dll 6EB00000 00013000 6.1.7600.16385
MFC90ENU. DLL 6EAF0000 0000 D 000 9.0.30729.6161
NiMaxRes.dll 1BFD0000 0007 has 000 4.6.0.49153
BtMmHook.dll 10000000 00038000 6.4.0.2900
PSAPI. DLL 76440000 00005000 6.1.7600.16385
DCIMAN32. DLL 6E1F0000 00006000 6.1.7601.18177
MXS.dll 1 B 240000 4.6.0.49152 0000F000
mxsutils.dll 1B4D0000 00041000 4.6.0.49152
Msvcp71.dll 7C3C0000 0007C 000 7.10.6030.0
7 360000 00056000 7.10.6030.0 Msvcr71.dll
mxsout.dll 1 B 400000 00075000 4.6.0.49152
64600000 00014000 4.257.3.0 nirpc.dll
Mswsock.dll 73A 90000 0003C 000 6.1.7601.18254
profapi.dll 76460000 0000B 000 6.1.7600.16385
mxMax.dll 1BF20000 00086000 4.6.0.49152
58000000 00240000 6.5.0.3005 AsstntUI.mxx
MFC80U. DLL 71210000 8.0.50727.6195 0010F000
MSVCR80.dll 0009B 000 8.0.50727.6195 72E50000
Comdlg32.dll 20000 75 0007B 000 6.1.7601.17514
71180000 00087000 8.0.50727.6195 Msvcp80.dll
ATL80. DLL 6BD70000 0001 B 000 8.0.50727.6195
MFC80ENU. DLL 730F0000 8.0.50727.6195 0000E000
59000000 00582000 6.5.0.3005 mxwTask.dll
00011000 74180000 6.1.7601.17887 Netapi32.dll
74170000 00009000 6.1.7601.17514 netutils.dll
74150000 00019000 6.1.7601.17514 srvcli.dll
wkscli.dll 74140000 6.1.7601.17514 0000F000
56000000 00148000 6.5.0.3005 mxwRCEng.dll
mxcal.mXX 1 A 110000 00056000 4.6.0.49152
mxcat.mXX 1BE20000 000AB000 4.6.0.49152
nidmfuiu.mXX 04360000 0010D 000 1.11.0.49152
NIPALU.dll 64000000 00057000 2.1025.3.0
64500000 00006000 2.1025.3.0 nipalut.dll
NIPAL32.dll 00007000 1F700000 2.1025.3.0
SETUPAPI.dll 76240000 0019D 000 6.1.7601.17514
CFGMGR32.dll 75DA0000 00027000 6.1.7601.17621
76220000 00012000 6.1.7601.17621 DEVOBJ.dll
6 280000 00031000 1.9.0.49152 nimdbgu.dll
6 000000 00017000 1.9.3.49152 niorbu.dll
nimstsu.dll 6E180000 0001 has 000 1.11.0.49152
nimhwcfu.dll 6DFD0000 000 B 6000 1.11.0.49152
6 050000 0001E000 1.9.0.49152 nidimu.dll
nimxdfu.dll 0003E000 1.10.0.49152 6D0F0000
nimxpu.dll 6E1B0000 0000 000 1.11.0.49152 B
Iphlpapi.dll 74280000 0001C 000 6.1.7601.17514
WINNSI. DLL 74270000 00007000 6.1.7600.16385
74B 40000 001BD000 11.0.9600.17126 WININET.dll
76A 70000 API-MS-Win-Downlevel-User32-L1-1-0.dll 00004000 6.2.9200.16492
770B 0000 API-MS-Win-Downlevel-shlwapi-L1-1-0.dll 00004000 6.2.9200.16492
75AB0000 API-MS-Win-Downlevel-Version-L1-1-0.dll 00004000 6.2.9200.16492
76430000 00003000 6.2.9200.16492 API-MS-Win-Downlevel-normaliz-L1-1-0.dll
normaliz. DLL 76450000 00003000 6.1.7600.16385
iertutil.dll 75AC0000 00219000 11.0.9600.17126
76610000 00005000 6.2.9200.16492 API-MS-Win-Downlevel-advapi32-L1-1-0.dll
76200000 00017000 6.1.7601.17514 USERENV.dll
nidmxfu.dll 04470000 0049F000 1.12.0.49152
nimru2u.dll 6EC70000 00044000 2.10.1.49152
nimmgluu.dll 69830000 0001E000 1.11.0.49152
nimercu.dll 6DFB0000 00019000 1.11.0.49152
MFC71. 00106000 140000 7 7.10.6101.0 DLL
MFC71ENU. 360000 5 0000E000 7.10.3077.0 DLL
niGPIBui.mxx B 6, 000000 0008E000 2.7.0.49152
niIVIui.mxx 02CE0000 000D 0000 4.2.0.49152
niPXIui.mxx A 671 0000 000BC000 2.1280.1.49152
niRemPXI.mxx 1 A 270000 00057000 4.6.0.49152
mxRmCfg.dll 1 has 000000 00090000 4.6.0.49152
niRMui.mxx 1AD70000 000FD000 4.6.0.49152
NISRLUI.mxx 6B 500000 00061000 3.4.0.49154
63800000 00010000 2.7.0.49152 NiSpyLog.dll
niSWui.mxx 1A3B0000 00072000 4.6.0.49152
niVISAui.mxx 63360000 0017D 000 4.1280.0.49152
62 30000 0002E000 4.1280.0.49152 niVISAres2.dll
RICHED32. DLL 40000 00006000 6.1.7601.17514 6FC
Riched20.dll 61F70000 00076000 5.31.23.1230
Wshtcpip.dll 73A 80000 00005000 6.1.7600.16385
nisysapi.dll 68 has 00000-000B 2000 5.5.2.49152
Dbghelp.dll 70F20000 000EB000 6.1.7601.17514
-------------------- -------- -------- ------------------Application: C:\Program Files (x 86) \National Instruments\MAX\NIMax.exe
User name: administrator
OS version: 6.1.7601 (Service Pack 1)
Exception code: C06D007E
Exception addr: 74E0C42DSender's address: 74E0C42D
Function name: RaiseException
Module name: KERNELBASE
Parameters: 00000000 00000001 0518FD84 C06D007E
Source file: (not available)Sender's address: 68A3C6F7
Function name: DllUnregisterServer
Module name: nisysapi
Parameters: 00000000 0518FD50 005F59B8 0000001E
Source file: (not available)Sender's address: 68A53D87
Function name: DllUnregisterServer
Module name: nisysapi
Parameters: 00000350 68A791B8 005F59B8 00000000
Source file: (not available)Sender's address: 68A0DC65
Function name: nisysInitDiagnosticsByValue
Module name: nisysapi
Parameters: 68A 01680 00000001 68A93BB8 FFFFFF01
Source file: (not available)Sender's address: 68A0DFC4
Function name: nisysInitDiagnosticsByValue
Module name: nisysapi
Parameters: 005E2C40 00000000 00000001 00000001
Source file: (not available)Sender's address: 68A 01698
Function name: nisysInitDiagnosticsByValue
Module name: nisysapi
Parameters: 005E2C40 00000000 00000001 00000001
Source file: (not available)Sender's address: 1BE27A73
Function name: mxGetProvider
Module name: mxcat
Parameters: 020469F0 02047084 0518FED0 1BE76CBA
Source file: (not available)Sender's address: 1BE30D2E
Function name: mxGetProvider
Module name: mxcat
Parameters: 02029FA8 02047748 0518FF34 1BE21D4C
Source file: (not available)Sender's address: 1BE35780
Function name: mxGetProvider
Module name: mxcat
Parameters: 00000000 00000000 02047818 020469F0
Source file: (not available)Sender's address: 1BE21D4C
Function name: (not available)
Module name: mxcat
Parameters: 02029FA8 1BE6264D 0518FF7C 73DD3433
Source file: (not available)Sender's address: 1BE21CDC
Function name: (not available)
Module name: mxcat
Parameters: 02030018 00000000 00000000 9192C45C
Source file: (not available)Sender's address: 73DD3433
Function name: endthreadex
Module name: MSVCR90
Parameters: 00000000 0518FF94 7607338A 02047818
Source file: (not available)Sender's address: 73DD34C7
Function name: endthreadex
Module name: MSVCR90
Parameters: 02047818 0518FFD4 77119F72 02047818
Source file: (not available)Sender's address: 7607338A
Function name: BaseThreadInitThunk
Name of the module: kernel32
Parameters: 02047818 00000000 00000000 775D5D69
Source file: (not available)Sender's address: 77119F72
Function name: RtlInitializeExceptionChain
Name of the module: ntdll
Parameters: 02047818 00000000 00000000 73DD345E
Source file: (not available)Sender's address: 77119F45
Function name: RtlInitializeExceptionChain
Name of the module: ntdll
Parameters: 02047818 00000000 00000000 73DD345E
Source file: (not available)If I could come with the OS discs for the thing, I think I'd do a new install of Windows 7.
Mike...
-
drive CD shows autoplay, but does not open automatically when the cd or dvd is inserted
original title: Watch autoplay cd player
OK, got cha.
Try this:http://Windows.Microsoft.com/en-us/Windows-Vista/Change-AutoPlay-settings
b Eddie -
Everything on my screen has tripled in size how it back to the normal size, ps I tried the right hand winder on cone and it just reduces the font size not all things on the screen itself
Your lowered obtained resolution. This can occur if you are running an older game that uses 800 x 600 for example.
Control Panel > display > settings - change the resolution to correct for your monitor. MS - MVP - Elephant Boy computers - don't panic!
-
I have realtek audio speakers on my built-in hp w2338h monitor. I'm not all sounds through the speakers. When I plug in the headphones, the sound is loud and clear. I have troubleshooted and updated but still not his monitor. When troubleshooting, it is said that it can not detect a problem. I have a sound card. IM at a loss of what else to do. Others that sound, the monitor works fine. Help, please!
Hello
Troubleshooting with the monitor speakers sound problems
http://h10025.www1.HP.com/ewfrf/wc/document?DocName=c01289551&LC=en&cc=us&DLC=en&product=3770742
Also try to update the drivers of his last.
I hope this helps.
-
I see not all panels in the design of the space.
I use Windows. I've updated to 2015 of CC, and I see not all panels in the design of the space. I do not see the libraries and much more. I have only the layers, align them and the Style HELP!
Hi MalaevKosta,
If you do not customize enough Photoshop Panel after the recent update, please reset the Photoshop preferences to default.
Steps to follow:
To re-create the Photoshop preferences files, start the application while pressing Ctrl + Alt + Shift (Windows) or command + Option + shift (Mac OS). Then, click Yes to the message, "Delete the Adobe Photoshop settings file?"
Let us know if that helps.
Kind regards
~ Mohit
-
error message "coordinates would not be saved" when the contact info is correct.
original title: error message
"contact information could not be saved" when the contact info is correct. Happens all the time on this computer
You will need to create a new post on the Windows Live support for assistance site: http://windowslivehelp.com/forums.aspx?forumid=28aff142-9106-4d74-be08-9b5d9fc0efea
-
Hi people,
I created a variable with refreshing: select '< % = odiRef.getPrevStepLog ("SESS_NO") % >' FROM DUAL
The error Code is:
ODI-17769: OdiRef: ID internal 261 of the IObjects SnpSession should not be used when the repository is in mode 12 c.
Here is a solution for getLoadPlanInstance offered:
Rittman Mead Consulting"Data Integration tips: ODI 12 c - Substitution API GUID
based on a "non-written response" by David Allan of Oracle data integration team
But what of on SESS_NO? Is there a "written response" too?
Thanx
Frank
Hello
Something like below:
For example, SESS_NO = "<%=odiRef.getPrevStepLog("SESS_NO")%>". »
try to replace it by GLOBAL_ID = "<%=odiRef.getPrevStepLog("SESS_GUID")%>." »
If you use KMs delivered with ODI, you must replace them with their corresponding versions of 12 c.
If you have your own custom KMs, you must either adjust your KMs to use new odiRef methods that return the GUID of the object.
or re - upgrade their repositories to use 11 g compatibility mode.
Thank you
ASP.
Please close the message it useful or response.
-
"could not open score because the project has no audio file?
I just bought the urban package of the resource centre and transferred to 'Bridge', I double click on the file "sbst.
to import into soundbooth and I get this, "could not open score because the project has no audio file? When I single
Click in the audio bridge plays very well and shows the size of 4.61 file, so there are audio files, can you tell me what is
is happening?
After you have purchased the Pack, you downloaded a ZIP file. How did you go to extract the contents of the zip file?
Here are the steps I took:
1 downloaded UrbanBundle.zip
2. in Windows Explorer, right-click on the zip file and choose "extract all..."
3. I extracted the contents of a folder on my Dekstop named "Soundbooth scores"
4. I open Soundbooth and click file > open...
5. I found the file "Soundbooth scores", open the "Urban_Bundle" folder inside of that and double click on "Wreckage.sbst".
-
my iphone 6 is not the Japan but still having a problem with his camera shttuer. sound is not being muted when the phone is silent. Help!
The Japan is by far the only country where the shutter is forced to be on
-
We have 2 phones and 2 computers and they all sound when the phone rings. How to change that? they all use the same apple - ID we buy apps and music coming from the same account. It all works very well, but we don t like any other device to RING eveytime a phone rings.
Thank you so much: D
ON both phones, check the settings > phone > call on other devices > Off.
-
I can't convert a PDF on the world... I access the convertion... section is not in use, but the payment has been made.
[subject moved to cloud Document PDF Services forum]
-
Hello, I would like to know How to Choose the video image which will be appear in the form " ", "boot image", that image that appears when the video has no was clicked yet.» The image all can see before viewing the video.
Thank you, Pedro PauloYou can change the image poster of clips in the icon view. By default, the first image of a clip appears in the thumbnail viewer and in other places in the Bill where the thumbnail is displayed. You can override the default thumbnail by designating any clip image as a poster frame.
To set a poster frame for the icon, drag the playback slider or shuttle to the desired image and press the keys command + P (Mac OS) or SHIFT + p (Windows).
-
When you import photos into LR4, import feature does not all photos in the folder
I have a catalog with all the imported pictures from a trip I just got back from. But when I compare the catalog for real photos in the folder, there are 104 missing photos from the catalogue. If I try to sync the catalog, it says 104 photos must be imported, but the import process said that there are no new photos.
I created a new catalog and tried to import the file again, but its lack still the same images of 104.
I don't know what to do here. Help, please.
There are only three reasons that I see which files are not imported:
1. the issue of Raw + Jpeg, you already have reduced.
2 not supported file types. So is there anything on these 104 images that are unusual in a perspective of file type? What kind of file, what device, what version of LR4 (4.0 or 4.1).
3. already imported file. Seems more likely that you said that you "they remind of where everything what he. Have you tried to identify one of the 104 files and then find in Lightroom (use the text search option in the library filter bar).
Maybe you are looking for
-
30 Dec https://support.mozilla.org/en-US/questions/1038039 fix got Flash working again, but there is another question. When you try to play a video that will run without Flash, Flash tries to run, and Fx crashes every time. This happens every time th
-
Check French option comes out only Outlook Express
Like others, I have spell check the problem of language selection with OE, version 6.0.2900.5512, of not being able to move from the French to the English. My OS is XP SP3 and I have Office Home & Student 2007 is installed. None of the suggested cor
-
While typing, the cursor goes all ways
Original title: cursor problems When typing, the cursor goes in all directions. His frustration even because I'm at school and spend a lot of time typing documents.
-
Images of masking of blackBerry Smartphones
I look at a some photos on my blackberry and accidentally by selecting the option 'Hide' and the image is gone and I don't know how to "unmask" the picture so I can see it again. Does anyone know how to post a photo?
-
create the user who can update another table schema
HelloWe have a system of prod in which we need to update the schema of the application running the declaration different update and create/run function, procedure, package bodies. It is very easy if you use the schema owner. But I need to run the act