Using Database Sequence in Interface with Union

Hi Gurus,
I have Oracle 11gR2 database as my Source and Target.
When I try to use Database Sequence along with an Interface having set operator like Union , I am getting the following error:
ODI-1227: Task eSIS_Student_U1_Fact (Export) fails on the source ORACLE connection ESISDW.
Caused By: java.sql.SQLSyntaxErrorException: ORA-02287: sequence number not allowed here
     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.executeForDescribe(T4CPreparedStatement.java:947)
     at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1283)
     at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1441)
     at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
     at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3823)
     at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1671)
     at oracle.odi.query.JDBCTemplate.executeQuery(JDBCTemplate.java:189)
     at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:89)
     at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:1)
     at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:70)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
     at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
     at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
     at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
     at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
     at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
     at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
     at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
     at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
     at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
     at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
     at java.lang.Thread.run(Thread.java:662)
Is there any work around to use Database Sequence along with the Interface?
Regards,
Sai.

Hi Arv,
Thanks for the reply. I tried that also, but still no luck.
Regards,
Sai.

Similar Messages

  • Can we use applets as user interfaces with sockets, RMI and J2EE

    Dear Sir or Madam,
    Since I am a TA for software architecture class, some one ask me the following question: I think the answer is "No" based on the document on http://java.sun.com/sfaq/
    How I answer the quesions? Looking forward your help!!!
    1.You may have 2 applets and 2 html files. One applet with one html file may stay at a client PC and run on this PC, and the other applet with the other html file may stay at a server PC and run on this PC. In this case, all the applets are run locally.
    2.Could applets works with sockets, RMI and J2EE?
    3.Can we use applets as user interfaces with sockets, RMI and J2EE?
    Thank you very much!
    Best regards,
    Jing

    The scenario you paint doesn't quite make sense. The "server PC" wouldn't be running an applet, normally, since applets are by definition in a web browser page, and most likely involve user interaction, and "server processes" generally are done without user interaction.
    The security rules around applets are that -- by default -- applets can connect with sockets ONLY to the server from whence the applet was loaded. RMI uses sockets (J2EE is too broad a spec) and hence RMI calls would also be limited to the server from whence the applet was loaded. Within that limitation, an applet could open all the sockets it wants, so long as they are all on the server from whence the applet was loaded.
    If you want two applets on two different systems to communicate with each other, the simplest way is to have them rendevous through a server process on the server(s) from whence each applet was loaded. Maybe it's PC-a <-> server-a <-> server-b <-> PC-b ...? Or maybe PC-a and PC-b both are talking to the same server.
    The limitation is rooted in the security subsystem. You can specify a policy file and override anything in the security subsystem. That does mean signing the applet and then cajoling the user into agreeing to grant greater levels of security than the default. In such a case you can open sockets more broadly and then PC-a could talk directly to PC-b without going through any servers.
    - David

  • Can i use my usb audio interface with apple tv? For example Focusrite 2i2

    can i use my usb audio interface with apple tv? For example Focusrite 2i2

    Afraid not - AppleTV does not support USB audio devices.
    I assume you don't mean using the device as an optical input for the computer, connecting AppleTV's optical out to it.

  • Using an Applet to interface with the computer

    h6. Situation
    I am trying to build a an Applet, which will allow me to interface with a computer in the same way that a simple 'presentor' does. For clarification a 'presentor' is a piece of hardware that you plug into the computer and then use a radio device to move through the slides.
    I cannot think how to do this, though I am sure that it is possible...its Java?! The only way i can kinda see it working is if the Applet emulates a piece of hardware...if that is the case then I think I might be out of my relms of programming. However I appreciate that what I am attempting to do flys in the face of Java in a sense at it runs and exists in a Virtual machine...but there has to be a way....If i can get an Applet to read and write a file on my operating system....then I must be able to get it to emulate a mouse click?
    What do you guys think? Am I being to ambitious or just stupid? :)

    Ok, here goes :)
    Basically I am trying to create a web based Remote Presenter. You know those bits of hardware were you plug the receiver into the PC and then have the hand held device that allows you to skip though slides.
    I think that the need for a receiver dongle is pointless, extra stuff to carry around. I am trying to use my Nokia N95 device, with its build in webserver to create something a bit different.
    So far I have been able to create an applet that I have signed, that has the ability to open a socket and wait. I have a very simple server app that sends data to that socket, either a 1 or a 0. When the applet receives this value, it performs a mouse click.....
    I have now put this applet onto my N95 mobile web server which is basically a very simple apache webserver and I can access the page and download the applet. The next stage is to somehow create a program that can talk though my mobile phone to the applet......
    Ultimately, when I give a lecture I will be able to just browse on the PC to the URL of my mobile web site (xxx.mymobilesite.net) and then run an application on my mobile to control the computer......
    A lot of work for a simple power point controller...but with the possibility of more....

  • Any possiblity to use single Inbound Service Interface with multiple Receiver Agreements

    Hi All,
    Scenario: PROXY to FILE.
    Requirement is to receive to two locations.
    Is it possible to use single Inbound interface with multiple Receiver Agreements. I tried using two operation in the Inbound Service Interface, and Operation Specific in Determination. But couldnt proceed further. Do I need to use seperate Service Interface for two receiver locations?
    Please suggest some solution.

    Hi Naveen,
    There is a possibility but in the case in the same server location with dynamic configuration: Placing file in two different directories using single receiver communication Channel
    With different location you would need to develop a new adapter module as Amit Srivastava explains and develops here Send File to Two Different Locations using Adapter Module
    Regards.

  • Exporting from PPro CC - Exporting using Match Sequence Settings issue with 24 bit audio

    I am having an issue exporting my sequence which contains final AIFF mix (24 bit 48 kHz) into a 'same-as-source' ProRes 422 file with 24 bit audio. I am specifically trying to export media with 'Match Sequence Settings' checked to create an identical output of what my sequence is. I wind up only creating a PR422 with 16 bit audio rather than 24 bit audio.
    My sequence contains ProRes 422 media and 24 bit AIFF final stereo mix (1 audio file) from our Sound department.
    My sequence is currently setup as "Custom" at 1920x1080, 23.976 fps, Square Pixels, Progressive, etc. Audio is 48 kHz (I don't see an option for choosing different bit rates in the 'Sequence Settings').
    Using 'Match Sequence Settings', my options to alter the audio are "greyed out" and unavailable. I'm not sure why 'Match Sequence Settings' doesn't recognize that I am cutting with 24 bit audio and, instead, only exports 16 bit audio.

    Always skip Match Sequence Settings and set up the export manually.

  • Can I use a MOTU 828mII interface with Garage Band

    I have a MOTU 828mII interface and I want to use it with Garage band. How do I set it up?

    You should be able to no problem . I might be speaking to fast .. Now you didn't say what your weapon of choice was. An iMac or what.  I use a MOTU 128. With an iMac.
    As I remember you install the software for you MOTU unit. Then go check for the newest driver and install it.
    Now for G.B... look in the preferences for GB ..  Look at the Audio/ Midi settings. There you can select the unit you want.
    Peace ...

  • Using a sequence in mysql with Jdev

    Hi
    I created a Form in jdev that access mysql, if i tried to create a new record, i need to insert next id or i guess i have to create a trigger, since mysql does not have a sequence,
    mysql have an autonumber, and if i insert a record , i need to commit the record .
    do you have a solution how to best deal with the process of creating a records on Form with mysql.
    Thank You for your help!
    David

    See the section in this doc:
    http://www.oracle.com/technology/products/jdev/11/how-tos/multidatabaseapp.html

  • Urgent! How to use push_pred to optimize query with UNION in 10g?

    Hi,
    We are facing slow query performance in 10g database.
    Appreciate if anyone could advise on how to optimize the performance by using push pred?
    Or is there any other ways.
    Thanks in advance.
    Cheers,
    SC

    dont post duplicate post

  • I am using a tascam-144 interface with garageband. How do I remap SD7k kit?

    Hopefully someone can help me on here.
    Garageband is picking up my TASCAM 144 midi interface when using my sd7k drum kit, however, all of the pads are not registering in the program. I will hit the hi-hat and crash, which play fine, but the snare, kick drum and other toms are not registering in garage band. I have researched online and found a procedure called re-mapping each individual pad so that it plays each snare, kick drum, crash, hi hat, etc. Does anybody know an easy way to do this through the program?
    Thanks in advance,
    Shari

    foxyroxyD wrote:
    digital piano - midi in/out - audio interface - usb - Macbook.
    check the cabling:
    http://www.bulletsandbones.com/GB/GBFAQ.html#controllertointerface
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • Im using Duet2 Interface with Garageband 09 when I connect my acoustic guitar to the combi jack I get a buzzing/humming sound how can I eliminate this?

    I'm using Duet 2 Audio Interface with Garageband 09, when I connect my acoustic guitar to the combi jack I get a buzzing/humming sound.  How can I eliminate this?

    do you have any thing plugged into wall power? Audio interface, computer, speakers, amp for the guitar? if so are they all plugged into the same power strip? if so, have you tried another outlet?
    Altertively have you tried a diffrent port on the combo jack? Have you tried a diffrent guitar cable? Have you tried a diffrent guitar or audio input device like a mic? Is the device directly plugged into the combo jack, or is it being routed throughs some thing?

  • SQL Query Works in MS SQL Server 2008 but not when using Database Toolkit

    I have this SQL query:
    DECLARE @DataTypeTable TABLE (
    Name varchar(128),
    TypeID INT)
    --Add comma delimeted data type names to temp table
    INSERT INTO @DataTypeTable (Name)
    SELECT * FROM WhatWeShouldDoRead.func_Split(@DataTypeTrimmed,',')
    SELECT Name FROM @DataTypeTable
    Which takes a comma delimited string and returns the string as a table.  It works correctly in Microsoft SQL Server Management Studio.  When I run this as a stored procedure  I get back nothing.  There are no errors, SQL or otherwise.  I've verified that I am connected to the correct database and that the stored procedure is loaded by changing the no error string that is reported from this stored procedure (that code is not shown in the above example).  Has anyone seen this problem before, or have any experiance with SQL/Labview interfaces to tell me what I'm doing wrong?
    Thanks in advance. 
    Solved!
    Go to Solution.

    After doing some more research it appears that the database toolkit cannot interface with any table results from any type of temp table.  It may have to do with the fact that MS SQL 2008 stores temp tables in a seperate database (tempdb) and not the database you are currently connected to.  See this link for a good artical on temp tables:
    http://databases.aspfaq.com/database/should-i-use-a-temp-table-or-a-table-variable.html
    If possible,  I'd like a someone to prove me wrong, but for now will have to settle for exporting the contents of a temp table through a string.

  • Primary Key from Database Sequence

    Hi,
    I have a form that has a master block(single_record) and a child block(multi-record). I am using Database Sequence for primary key. And I am not using any toolbar, instead using the default from FORMS. I want to keep this primary key field invisible and non-navigable.
    Which triggers should I write the sequence.nextval code in the form ??
    Thanks!!
    Shalu

    Thanks so much!! I'll try that!!
    I hope I won't get this error: it doesn't let me come out from the field unless i enter a value, because being primary it is mandatory, though i want the field to be non-navigable and i'll turn the display to false.
    Thanks Again!!
    Shalu

  • JavaBeans can interface with OpenOffice

    Hi, I ask you another question: any of you have created or used a JavaBeans can interface with OpenOffice??
    I modified the java classes and finally managed to create a document. Odt OpenOffice Writer and launch from Eclipse. If I am not using the libraries oooBeans but there are 2 problems now:
    1. For known issues I had to set the Java class path of the folder where you have OpenOffice executables and should be changed ...
    2. I created a. Jar file executable, but I do not know how to integrate Oracle Forms and use it as JavaBeans. Perhaps this step you're more prepared

    Yes, you'll find the companion app SDK in the normal Photoshop SDK.

  • Guitar Rig, MBox interface with Logic

    I am using Guitar Rig with their foot pedal as input for my Guitar. I want to use my MBox for output control because the foot pedal only has a volume control which has to be manually manipulated and is inconvient to get at. I can see output in the Logic panel but get no sound. I was told I need to use a "bus" to interface with the MBox. I am a neophyte and really could use some help.

    It's actually best in my experience to just forget abou the RigKontrol. GR runs fairly solid until then.
    J

Maybe you are looking for

  • How to inactive the push button on tool bar of alv report

    hi masters, i m working on the ALV interactive report, in this report i have to do 2 different operation on 2 screen. eg.- on first screen i have the push button for 'data' and on second screen i will have the push button for 'upload'. in this i don'

  • Constant Kernel Panics on fresh install of 10.8.2

    Ever since upgrading to 10.8.2, my Mid 2010 MBP gets Kernel Panics related to the NVidia kext at least 5 times a day. When will apple finally fix this?? Here's the full kernel panic. It's the same thing every time. I have no third party .kext install

  • OIM 11g R2: Insufficent Privileges after Enable Database Vault

    Hi, i am trying to implement database vault on oim 11g r2 database for a customer proof of concept, but after enable database vault i am got the following error oracle.iam.ui.platform.exception.OIMRuntimeException: IAM-7130125 : Search token caused O

  • How to buy discounted upgrade from CS5.5 to CS6

    I own CS5.5, and subscribe to CC as well. I'd like to upgrade my perpetual license to CS6 in case there are years when I don't want the CC subscription. I see in the FAQ that discounted upgrade is available, but I cannot find a link to upgrade pricin

  • Regarding catalog migration

    Hi Experts, when we migrate catalog from dev to prd from catalog manager the pemission is not migrating for dev to prd in in obiee 10g. so oi it possible to migrate group and pemission to dev to prd. please suggest any way.