Custom IKM Knowledge Modules are not working with Group By Clause
Hi All,
I am facing an issue with custom IKM knowledge modules. Those are IKM Sql Incremental Update and IKM Sql Control Append.
My Scenario is
1. Created an interface with table on source and temporary datastore with some columns in target.
2. In the Interface on the target i defined one column as UD1 and other column as UD2 for which group by to be implemented .
3. Customized IKM Sql Incremental Update with " Group by " by making modification in my IKM Sql Incremental Update
detail step "Insert flow into I$ table" i.e., i replaced like this whereever i find this <%=odiRef.getGrpBy()%> API
Group By
<%=snpRef.getColList("","[EXPRESSION]","","","UD1")%>,
<%=snpRef.getColList("","[EXPRESSION]","","","UD2")%>
Up to UD5.
. Here in the place of [EXPRESSION] i passed column names for UD1 similarly other column name for [EXPRESSION] of UD2.
4.Made all the proper mappings and also selected the KM's needed for that interface like CKM Sql ,IKM Sql Incremental Update.
5. Executed the Interface with global context.
Error i am getting in this case is :
Caused By: java.sql.SQLSyntaxErrorException: ORA-00979: not a GROUP BY expression
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
Here the columns in the select clause are there in Group By also.
I did the same scenario using IKM Sql to file append .In that case i am able to do it. But not with the above mentioned KM's. Please let me know if any one know it or tried with this, as it is
high priority for me.
Please help me out.
Thanks,
keerthi
Hi Keerthi,
If your are transfering data from Oracle to Oracle (I means source is oracle Db and target is also oracle DB) then use below KM's and group by will come automatically based on the key values you selected on interface target datastore
1) CKM Oracle
2) LKM Oracle to Oracle (DBLINK)
3) IKM Oracle Incremental Update (MERGE)
Hope this will helps to resolve your issue
Regards,
Phanikanth
Similar Messages
-
ADF bindings are not working with inheritance heirarchy.
ADF bindings are not working with inheritance heirarchy. I am using embedded OC4J in JDeveloper 10.1.3.2.
For the data model I have the following objects\attributes.
1) User (abstract EJB 3.0 POJO)
- Id
- userId
- userName
2) Employee -> extends User (EJB 3.0 POJO)
- enabled
- password
3) Manager -> extends Employee (EJB 3.0 POJO)
- numOfEmployees
4) UserSessionBean (Stateless Session Bean)
- public User findUserByUserId(String userId)
- public List<User> queryUserFindAll()
- Object mergeEntity(Object entity)
I created 2 JSF pages using ADF.
1) ListUsers.jspx - Lists all the users of type Employee and Manager in a table. You can select an user and chose to modify the user details using a modify button.
2) ModifyUser.jspx - Modify the selected user and persist the modified user details.
I implemented ListUsers.jspx by dragging and dropping queryUserFindAll() method from the ADF datacontrol on to the JSF page and selected ADF Table format with selection enabled.
Similarly for the ModifyUser.jspx page I dragged and dropped the User object returned by findUserByUserId(String userId) and selected ADF Form format. I selected OutputText field types for userId and userName.
I then created a navigation case from ListUsers.jspx to ModifyUser.jspx and pass the selected user.
Now when I try to run the web application, ListUsers.jspx correctly displays all the users. Then I select a user of type Employee and click on the modify button. This brings up the ModifyUser.jspx page. However, the UserId text field displays the value for "Id" field rather than "userId".
Question that I have is:
- Why is ADF framework not able to retrieve the appropriate user attribute value for a Employee based on the binding information in case of inheritance ?
Thanks,
PiyushHi,
tried with JDeveloper 10.1.3.3 and this works for me. Try JDeveloper 10.1.3.3 - if it doesn't work, have a closer look at your sessionFacade
Frank -
AcroPDF ActiveX print functions are not working with Reader 9.2/9.3. Tried ActiveX print functions like printPages(), printAll(), printWithDialog(), none of them is working. Tried on platforms: XP 32 bit and Win7 32 bit. These print functions all work fine with Adobe Reader 9.1.0. or 8.2.0 or 8.1.0 on XP 32 bit or Win7 32 bit.
The way I have my setup: I have created a C/C++ project with AcroPDF MFC ActiveX classes. I have created an AcroPDF object in there, and then calling it's LoadFile() function passing a pdf file in the parameter. Then calling the printPages() or printAll() function. With Adobe Reader 9.1.0. or 8.2.0 or 8.1.0, printing is starting through the default printer without any problem. As soon as I update the reader version to 9.2 or more, the same code stops working.
Is anybody noticing any similar issue? Any info on this will be highly appreciated. Thank you!Unfortunately printWithDialog() is also not working. Actually none of the print functions like Print(), printWithDialog(), printPages(), printPagesFit(), printAll(), printAllFit() are working. All of them works fine though with older reader.
BTW, what security related changes are there for printPages() and printAll()? Can you please elaborate on that? Is there any workaround? -
Savevid and keepvid are not working with os 10.7.3-Is there a fix?
savevid and keepvid are not working with os 10.7.3-Is there a fix?
Is anyone else having this problem?A massive thanks from me too after discovering the problem when I started work this morning at 2.30am - not something you need that time of day! Did exactly as written and bingo, missing tool icons appeared BUT, and there's always a but...
I have THE SAME problem in Quark with some of the static areas in the measurement (F9) bar. Can anyone suggest what might fix this? I have restarted just ONCE after turning on Extension Manager at start-up.
Hardware:
Apple Macintosh MacPro 2x2GHz Dual-Core Intel Xeon
RAM: 6Gb (667MHz DDR2 FB-DIMM)
HDD's (internal): 1x160Gb / 1x500Gb / 2x1500Gb
Software (OS)
OS: Mac OS 10.7.3 (updated to this 06.02.2012)
Problem software: QuarkXPress 8.5
Thanks in advance for any advice / help...
Paul -
Safari could not open the page on my new ipad mini's because the server stopped responding- new ipad mini's (2 from separate places) are not working with At & T router but computers work fine. Yesterday I got it to work. Weird. Can you please help me. I've tried everything. Thanks ya'll!
Hello SavannahSweetie,
I was looking into the issue you are desribing, and found a great article for troubleshooting wifi connections with iOS devices. It's called iOS: Troubleshooting Wi-Fi networks and connections and can be found here: http://support.apple.com/kb/ts1398.
Start with this section, and work your way down if needed.
Basic troubleshooting
Tap Settings > Wi-Fi and turn Wi-Fi off and then on again.
Verify that you are in range of your Wi-Fi router or base station.
Confirm that your Wi-Fi router and Cable/DSL modem are connected to power and turned on.
Check whether other devices (portable computers, for example) are able to connect to the Wi-Fi network and access the Internet.
Update your Wi-Fi router to the latest firmware.For AirPort Base Stations, refer to this article for information about firmware updates. For third-party Wi-Fi routers, check the manufacturer's website for details on updating your firmware.
Restart your iOS deviceHold the On/Off button until "slide to power off" appears. Slide to power off your device. When it is off, press the On/Off button to turn it back on.
All the best,
Sterling -
I DOWNLOADED THE NEW UPDATED VERSION FOR THE IPHONE !!!
AND MY APPLICATIONS ARE NOT WORKING AT ALL
WHENEVER I ENTER TO WHATSAPP A MESSAGE POPS UP FROM NOWHERE SAYING SOMETHING ABOOUT PUSH UP NOTIFICATION!!
AND THAT I SHOULD CONNECT IT TO ITUNES, THEN I CONNECT IT TO ITUNES AND ITUNES IS NOT LETTING ME SIGN IN WITH MY APPLE ID ITUNES IS NOT WORKING/!!!
ALSO WHENEVER I OPEN HAUTELOOK APP ON THE IPHONE IS FREEZING MY PHONE WITH THE PUSH UP NOTIFICATION WINDOW, AND I CLICK OK AND IT STILL APPEARS OVER AND OVER AGAIN
PLZ HELP ME!!!!!!!!!!!!!!!!!!!!!If you do not have enough space, then you would have to free up more space.
You can also update via itunes on your computer. -
Playback preferences are not working with 10.5. solution?
I downloaded iTunes 10.5 and my playback preferences are not working. For example, crossfade is screwy. Sometimes it will fade out at the end of a song, but the next song will not come in until the end, or the next song will come in WAY too early. Sound enhancement is also doing nothing. These all worked fine before the update. Has anyone else encountered this?
I too am having problems with crossfade since installing iTunes 10.5 where mostly it is just fading the end of the song.. when set to a 6 second crossfade it is just fading the last 20 seconds and still waiting till the song ends before starting the new song & i've also noted that sometimes a new song will begin when there is in excess of 20 seconds left of the previous song remianing.. hence, it sounds rediculous. i've tried uninstalling & re-installing but no fix. please help anyone..
-
Business Objects 3.1 reports are not working with IE 10.
Hi,
Recently I upgraded my internet explorer to IE10.. Since then business objects 3.1 reports are not opening in IE10.0
Getting error message "webpage can't be found".
I am not sure whether BO 3.1 reports work with IE 10.0 or not.
Please advise
Thanks
SatDid you try with other browsers ?
IE 10 (Compatibility View display mode) with Oracle Java 6 / Oracle Java 7 is supported for BOXI3.1 SP6.
Please check the PAM for details of your SP level. -
Youtube and BBC iPlayer are not working with Flash
Hi there Guys,
When I started this search I had a full head of hair :( I have read hundreds and houndreds of webpages talking about Flash and FireFox and at this point I just can't get them to work together.
I am very reluctant to change my browser as to be honest with you I love Firefox but at this point I am in desperation. I have read webpages which they remove this plug-in and that plug-in, change databases, remove this file and delete that file, called this old and remove that. And still nothing happens it just does not work.
The version of Firefox I am running 35.0.1
the version of Flash I am writing is 16.0.0.305
but every time I try to visit YouTube and/or the BBC's website nothing works HELP!!!!
I would really just do not know what to do.
Thank you for reading and I hope somebody can help.
JohnStart Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
*Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
*Do NOT click the Reset button on the Safe Mode start window
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
Create a new profile as a test to check if your current profile is causing the problem.
See "Creating a profile":
*https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
*http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
If the new profile works then you can transfer files from a previously used profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over problems.
*http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox -
DISTINCT on object type collection not working with GROUP BY
Hello,
I have an object type with collection defined as:
create or replace type individu_ot as object (
numero_dossier number(10),
code_utilisateur varchar2(8 char),
nom varchar2(25 char),
prenom varchar2(25 char),
map member function individu_map return number
create or replace type body individu_ot is
map member function individu_map return number
is
begin
return SELF.numero_dossier;
end individu_map;
end;
create or replace type individu_ntt is table of individu_ot
/When I use it in simple SQL without any aggregation, the distinct keyword works well and returns me the distinct entry of my object type in the collection:
SQL> select cast(collect(distinct individu_ot(indivmc.numero_dossier, indivmc.idul, indivmc.nom, indivmc.prenom)) as individu_ntt) as distinct_list
from site_section_cours sisc
inner join enseignant_section_mc ensemc
on sisc.code_session = ensemc.code_session and
sisc.numero_reference_section_cours = ensemc.numero_reference_section_cours
inner join individu_mc indivmc
on ensemc.numero_dossier_pidm = indivmc.numero_dossier
where sisc.seq_site_cours = 6
DISTINCT_LIST(NUMERO_DOSSIER,CODE_UTILISATEUR,NOM,PRENOM)
INDIVIDU_NTT(INDIVIDU_OT(15,PROF5,Amidala,Padmé))
1 row selected.However in SQL with broader selection with group by, the distinct isn't working anymore.
SQL> select *
from (
select sisc.seq_site_cours,
cast(collect(distinct individu_ot(indivmc.numero_dossier, indivmc.idul, indivmc.nom, indivmc.prenom)) as individu_ntt) as distinct_list
from site_section_cours sisc
inner join enseignant_section_mc ensemc
on sisc.code_session = ensemc.code_session and
sisc.numero_reference_section_cours = ensemc.numero_reference_section_cours
inner join individu_mc indivmc
on ensemc.numero_dossier_pidm = indivmc.numero_dossier
group by sisc.seq_site_cours
where seq_site_cours = 6
SEQ_SITE_COURS DISTINCT_LIST(NUMERO_DOSSIER,CODE_UTILISATEUR,NOM,PRENOM)
6 INDIVIDU_NTT(INDIVIDU_OT(15,PROF5,Amidala,Padmé),INDIVIDU_OT(15,PROF5,Amidala,Padmé),INDIVIDU_OT(15,PROF5,Amidala,Padmé),INDIVIDU_OT(15,PROF5,Amidala,Padmé),INDIVIDU_OT(15,PROF5,Amidala,Padmé))
1 row selected.there is case where I need to return more than one collections, with distinct entries in it.
Is there something I am missing?
Thanks
BrunoNot a bug, rather an undocumented feature.
Here are some alternatives you might want to test :
1) Using the SET operator to eliminate duplicates :
SELECT sisc.seq_site_cours,
set(
cast(
collect(individu_ot(indivmc.numero_dossier, indivmc.idul, indivmc.nom, indivmc.prenom))
as individu_ntt
) as distinct_list
FROM site_section_cours sisc
INNER JOIN enseignant_section_mc ensemc
ON sisc.code_session = ensemc.code_session
AND sisc.numero_reference_section_cours = ensemc.numero_reference_section_cours
INNER JOIN individu_mc indivmc
ON ensemc.numero_dossier_pidm = indivmc.numero_dossier
GROUP BY sisc.seq_site_cours
;2) Using MULTISET with a subquery
SELECT sisc.seq_site_cours,
CAST(
MULTISET(
SELECT distinct
indivmc.numero_dossier, indivmc.idul, indivmc.nom, indivmc.prenom
FROM enseignant_section_mc ensemc
INNER JOIN individu_mc indivmc
ON ensemc.numero_dossier_pidm = indivmc.numero_dossier
WHERE sisc.code_session = ensemc.code_session
AND sisc.numero_reference_section_cours = ensemc.numero_reference_section_cours
AS individu_ntt
) AS distinct_list
FROM site_section_cours sisc
; -
Group messaging not working with groups that contain non iphone users
I have an Iphone 5 and for some reason I can't send/receive group messages with groups that contain non Iphone users. Basically I recieve single text messages/imessage from each person who responds to the group message. This is incredibly annoying.
Hello, megbu36.
Thank you for visiting Apple Support Communities.
Check to make sure that group messaging is enabled. Go to Settings > Messages and turn on Group messaging.
iOS: Understanding group messaging
http://support.apple.com/kb/HT5760
Cheers,
Jason H. -
CFQUERYPARAM tag not working in GROUP BY clause
I am getting an error whenever I put a CFQUERYPARAM tag in a
GROUP BY clause. I saw on another message board someone was having
a similar problem with the ORDER BY clause
Here is a sample of what my code might look like
select x, y, z from abc
group by <cfqueryparam value="x"
cfsqltype="cf_sql_float">
Here is the error I receive.
Error Executing Database Query.
[Macromedia][Oracle JDBC Driver][Oracle]ORA-00979: not a
GROUP BY expression
Any insight?The cachedwithin and cachedafter functions store the query
results in the server's RAM. That means, while it's cached,
whenever you run it, you get the cached result instead of going to
the database to run it again. This increases speed of course, but
if the data changes during the cache period, you have accuracy
problems.
It does not create memory issues. In the administrator you
reserve a certain amount of memory for query caching. If you exceed
that amount, the last query in pushes the first query out, or
something like that.
With regards to what you are trying to do about binding
variables in your group by clause, that's not what cfqueryparam was
designed for. It was designed for
where clauses (where this = <cfqueryparam etc>
or insert queries (insert into my table (field) values
(<cfqueryparam>
and things like that.
You are trying to use it for something other than what it was
designed for, which explains why it's not working for you. -
I updated to the latest firefox about 3 weeks ago. I run version 3.6.12 on a Vista 32 Home Edition.
I have not had this problem before but when I try to access my banking, pay my electric bill, purchase from different websites, pay my isp company, anything with security - most pages are having errors. My banking says I was logged out do to inactivity but I just signed on, other secure pages either say error or keep me in an infinite loop of answering the same pages over and over and cannot move forward.Hi thanks,
amenzhisnky wrote:Try to downgrade xf86-video-intel package 1 version back, the last one seems to be buggy.
The crash still happens when xf86-video-intel is downgraded. It also happens when the package is removed.
Sekre wrote:
Seems as if you are using glamor according to your X log. Have you perchance tested with UXA?
I have had issues with SNA in the recent driver, but seems that switching to UXA and ditching all other options is a temporary workaround for me. Sadly this breaks VSync and introduces some tear, but I got rid of other nasties such as lock-ups and flickering.
For extra info, we have different chips you and I, but it might be a common error.
The problem is with the tty display crashing before I even get a chance to invoke X. I'll give UXA a go but I think the problem is in the i915 module of the kernel itself. -
Collection are not working with files accessed from DAM via AdobeDrive
Hi,
I've tried to use "Collection" in Bridge to store some "favorites" assets from my repository.
This repository is managed by AEM 5.6.1 and mounted on the desktop by AdobeDrive.
If i'm able to place local files in the collection, the files from the repository aren't allowed...
In the other hand, in AEM, via the WebBrowser you are able to select several files and gather them in a "Collection" and share it to make it visible to other dam_users...
But this collection is not shown or accessible by Bridge neither....
This happen on Mac an PCThis repository is managed by AEM 5.6.1 and mounted on the desktop by AdobeDrive.
Maybe you can drop this problem in the dedicated Adobe Drive forum?
http://forums.adobe.com/community/creativesuites/adobe_drive?view=discussions&start=0&numR esults=30
this is a very specialistic matter you are describing and not may users (if at all) here have access to the Adobe Drive that is not part of the Creative Cloud package subscription.
It seems like you are using a very sophisticated network with both Mac and PC.
I also had to look up AEM that seems Adobe Experience Manager. Also a very specialized application.
While Adobe claims a seamless integration of CC with Adobe Drive, Bridge itself is not designed (nor supported) for use over a network. Collections are by default aliases of the originals and stored on user based libraries. They should be able to read form different drives and even networks (with great care) but sharing a collection is to my knowledge only possible by manual distributing the collection file saved on the creators computer. Not sure if other stations could use this same file without problems but in theory they should provide the path to the originals, but that is theory... -
Links are not working with Firefox and some other browsers
Hello,
On my site (iWeb08) I have some pictures of pieces of text as a link to another page of website.. but with some browsers the links doesn't work.
Also de links are very difficult to activate on the site.. What I mean is when you want to click the link.. you have to search with the cursor in stead of stand on the word and click to activate..
(hope that you understand what I mean, but my English is a bit difficult in English for me...)
Regards,
JoseJose,
It might be good to give us the link to your site so we can see for ourselves what is happening.
Phil
Maybe you are looking for
-
hello. I have the iphone 3G and I can download almost anything from itunes ... how can I find old versions to be able to download? thanks
-
Logic 7 audio playing high pitched noise
Hi Discussion Group. I am having some major difficulties with LP7.0.1 (downgraded frrom 7.2.2 and was working fine with 7.2.2) and the motu 828 mkII that just crept up on his system today. An audible high pitched noise when playing logic after initia
-
Help !! ios 6,iphone,Two ipods & and ipad totally confused !!
Please can someone help? I have an iphone 4 and an ipad, both my boys have an ipod and everything runs under my apple account. My first problem is that neither of the children can face time or message. Have set them both up with gmail accounts but ne
-
Search app content *air for ios/android*
is there any way to create a search bar so that user can be able to search contents in an app . for example : search for a word :::> word is found ::::> user click results :::::> fo to and stop ( frame containing the results ) or if any one has an
-
Losing Events, Places, Faces and other problems in iPhoto
Bought the new iMac in January; carefully transferred photos from old G4 and took ages updating the details using the great events/places/faces etc facility. Recently 2 things happened - I bought a new camera (Nikon D500); imported and updated event/