Unable preview the data of oracle source in Data flow task in SSIS

I am working on a SSIS package DATA FLOW TASK to get the data from Oracle Source.My oracle source query is as belows
select Employees from EmployeDW WHERE StartDate =('15-MAY-14')
There is no error in execution of package but there is no data in Destination table.When i am PREVIEW the data source i dont find any data but when i executed above query in Oracle i am getting the values.Do i need to make any chages in oracle data source Side.
Can you guys help me please.

What is the source connectoin used and its configuration? Can you please share the screenshots? That will help.
Happy to help! Thanks. Regards and good Wishes, Deepak. http://deepaksqlmsbusinessintelligence.blogspot.com/

Similar Messages

  • Convert java.sql.Date to oracle.jbo.domain.Date in oaf

    Hi,
    Need to dafault NeedBydate(i get in from query as below) to a messagelovinput and make it read only.
    i am facing some issue in converting from java.sql.Date to oracle.jbo.domain.Date.
    unable to figure out the problem.
    below is the sample code im trying to use.
    PreparedStatement ps=pageContext.createPreparedStatement("select sysdate from dual");
    ResultSet rs=ps.executeQuery();
    if (rs!=null && ps.next()
    java.sql.Date sqlDate= rs.getDate(1);
    oracle.jbo.domain.Date oracleDate = new oracle.jbo.domain.Date(sqlDate.getTime());
    vorow.setAttribute("Datevalue",oracleDate);
    this is my assumption : to set to UI i need date in format dd-Mon-yyyy.(am i correct? as to get that format i tried to use simple date format class but no use)
    when i tried to use simple date format :unpaseable date exception was raised.
    please guide.

    Hi,
    Why are you using this code???
    PreparedStatement ps=pageContext.createPreparedStatement("select sysdate from dual");
    ResultSet rs=ps.executeQuery();
    if (rs!=null && ps.next()
    java.sql.Date sqlDate= rs.getDate(1);
    oracle.jbo.domain.Date oracleDate = new oracle.jbo.domain.Date(sqlDate.getTime());
    you can get sysdate using this and then set it
    oracle.jbo.domain.Date currentDate = am.getOADBTransaction().getCurrentUserDate();
    java.text.SimpleDateFormat displayDateFormat = new java.text.SimpleDateFormat ("yyyy-MM-dd");
    String DateForm = displayDateFormat.format(currentDate.dateValue());
    oracle.jbo.domain.Date dateset = new oracle.jbo.domain.Date(DateForm);
    and then set the attribute
    vorow.setAttribute("Datevalue",dateset);
    Thanks,
    Gaurav

  • I can't  cast  java.util.Date to  oracle.jbo.domain.Date

    Hi, i have a variable "pippo" type java.util.Date formatted like (dd-MM-YYYY hh:mm:ss)
    and I want insert in my Database where the field is Date type(oracle.jbo.domain.Date)
    in the same format(dd-MM-YYYY hh:mm:ss).
    I try to convert "pippo" but the result is formatted(dd-MM-YYYY hh:mm:ss).
    Thank's a lot yours time and i'm very sorry for my easy english
    Bye Luca

    Here is what i have seen that works , but does not preserve milliseconds. Does anyone have other solution? Using dateValue() looses hours, mins and seconds.
    public oracle.jbo.domain.Date toJboDate(java.util.Date pJavaDate)
    return new oracle.jbo.domain.Date(new Timestamp(pJavaDate.getTime()));
    public java.util.Date toJavaDate(oracle.jbo.domain.Date pJboDate)
    return new Date(pJboDate.timestampValue().getTime());
    Chandresh

  • Read data from Oracle , not all data brought over

    I have a strange problem when read data from Oracle and save to SQL Server.
    For example , there are 20k rows of data in Oracle , I created SSIS data flow, and data saved in SQL Server , Everything looks fine. But late you will find only first 16k rows of data in SQL Server , the rest is simple missng. no error or any waring. 
    I am using OLE DB .
    Great appreciate for any help.
    Ray

    Thanks. I think that UseSessionFormat=true
    helped me fixed this kind of issue in my other project.
    I actually found out this issue for this case I was asking. I am actually not missing data. It was a data type issue. A column was using a wrong datatype, so when I run a query and didn't get result I supposed. 
     

  • Are unique GUIDs required in the data flow task in SSIS?

    Hi,
    I have previously used SQL server 2008R2 to develop packages.  I was told not to copy and paste packages, or create templates with tasks on the data flow because this leads to multiple packages with the same GUID, the consequence of this might be calamitous
    problems at runtime when the engine can't distinguish between tasks in different packages.
    My process was to create templates with Control flow tasks only, manually create the dataflow tasks and then use bids helper from codeplex to regenerate GUIDs (this regenerated the GUIDs at the control flow level only).
    I am now using SQL 2012. I have looked and seen that if I copy and paste a package the GUIDs at the data flow level are also copied.  So my questions are:
    1) Does having the same ID in different dataflows cause problems as I was led to believe?
    2) If it does has this been addressed in some way in SSIS 2012? and what is the best way of working around this given I have many similar packages to develop?
    Thanks,
    Dan

    SSIS doesn't really lend itself well to creating templates.
    SQL 2012 is much improved when it comes to copy and pasting tasks, dataflows and transformations between package designs, other than the usual issues with missing connection managers.

  • SQL 2005 SP2 - Cannot open Data Flow Task in SSIS

    I have just installed Service Pack 2 on my SQL 2005 Standard Edition.
    However, now all my SSIS packages will not allow me to open my Data FLow Tasks.  I get the following error:
    TITLE: Microsoft Visual Studio
    Cannot show the editor for this task.
    ADDITIONAL INFORMATION:
    The task returned an unsupported control editor type. (Microsoft.DataTransformationServices.Design)
    If I try to create a new Data Flow task I get:
    TITLE: Microsoft Visual Studio
    Failed to create the task.
    ADDITIONAL INFORMATION:
    The designer could not be initialized. (Microsoft.DataTransformationServices.Design)
    I have tried to install the latest hotfixes after this but they had no effect.
    Can anybody help me???? Please?

    I have had this same issue, where tasks would open fine in an SSIS package until SP2 was installed and then I get the same issue as noted above, i.e. :
    TITLE: Microsoft Visual Studio
    Cannot show the editor for this task.
    ADDITIONAL INFORMATION:
    The designer could not be initialized. (Microsoft.DataTransformationServices.Design)
    If anyone has some ideas on this, it would be greatly appreciated.

  • JDeveloper Team: How Do I minimize the number of Oracle Sessions using Data Tags?

    I am trying to create a stateful application thru my JSP pages. Everytime there is a reference to the application module using the data tag, it looks like it creates a new Oracle Session. But thats not what I want to do.
    I have a module in which my first JSP page allows viewing of the data and in subsequent pages I allow insert, update, delete, commit etc.
    My Questions:
    1) The problem that I am encountering is that every new page that I go to creates a new Oracle session even though I specify the "Stateful" release mode.
    How do I avoid this?
    It looks like , if one browser user can potentially create 10-20 oracle sessions thru one module, imagine what the impact will be when we have hundreds of users.
    2) The sample JSP pages I saw has the username and password hard coded in it every time. Why? For a stateful application can I not specify the username and password just once and have the other JSP pages use the same userid and password.
    What are the pros and cons? I thought if I don't use the username and password in all the JSP pages then it probably will not create additional Oracle sessions but that is not true!!
    3) If it creates several Oracle sessions , will it not cause locking problems? If so, How do I minimize locking problems in a stateful application.
    JDeveloper Team Please advise!!
    AM I missing something? I would appreciate if someone can help me out!
    null

    Thanks a lot for the information. That thread was indeed very helpful. But it still didn't answer all my questions:
    1) In the thread you mentioned, it mostly talks about Web beans. In a jsp page (using Web bean) we need to first invoke setReleaseApplicationResources(true) and then invoke releaseApplicationResources().
    Does this apply to data tags? I mean I have a tag <jbo:ReleasePageResources releasemode="Stateful" />. Is this enough to release the application module back to the pool or do I have to have something equivalent of setReleaseApplicationResources(true)?
    2. In a stateful application, the state of an application is maintained between requests via a browser cookie. For each browser, you can have one state per application module class. I was attempting to run "several browser sessions from the same machine" and the end result was that I got errors and unpredictable results ie it returned me far fewer rows then I saw originally. Should I be actually be running the browser session from different machines?
    3. In JDeveloper Documentation (section About Application Module pooling) there is a note section : "If the application module is not recycled the data stays the same. However if the application module was recycled and then activated through a failover, the activation logic re-executes the view objects, so it may bring in more or less rows then originally seen by the clients due to any database updates that have occured."
    This is exactly what is happening to me? How do I get rid of this problem? I want to be able to see all the original rows + any new rows That have been committed. Please advise!
    4. Are the JDBC connections tied to application module instances? Is it one JDBC connection per application module instance? So, in a stateful JSP, if I end up using a different application I also get a different JDBC connection. IS this true?
    5. Does the no of application module instances depend on the no of available JDBC connections? Because it looks like if you set the max no of connections to "5" and set the max no of application module instances to "10", It will be able to instantiate only "5" application module instances due to the limitation set by connection pool.
    6. At times I get errors which indicates that the row in view object does not exist. Is this something familiar? Or is it the same problem that John discussed in his thread.
    Thanks in advance!

  • Can't see payload for the ws that is source of data for an omniportlet

    Hi,
    I have created a simple omniportlet and want to be able to retrieve information from a web service. In the "Source" step of the Omniportlet definition wizard, I specify the wsdl for the web service. I am able to see the method on the web service but I am not able to see the payload for the method. Here are the urls that give you the necessary details. The first url is for a concrete wsdl that I specify as the data source. Clicking on Show Methods, shows me the methods but doesn't show me the payload.
    http://139.185.45.130/AIAComponents/CompositeServices/AIADemoCustomerEBS.wsdl
    This second url will show you that there is infact a payload for this service.
    http://139.185.45.130/event/AIADemo/AIADemoCustomerEBS
    Ideas on what could be wrong? I have no problems using the weather service specified in the web center tutorial.
    Thanks,
    Munazza

    Please, can someone help me?
    I'm not the only one having this problem:
    http://forums.toucharcade.com/showthread.php?t=4670
    http://getsatisfaction.com/apple/topics/itunes_application_store_lying
    Unfortunately, no answers there.

  • Loading BLOB / CLOB data from oracle source to oracle target

    Hello Friends,
    Source and Taret DB are Oracle 11g.
    I am havnig CLOB and BLOB source columns and I am linking these links to CLOB/BLOB cloumns of Target .
    but the image of source ( BLOB ) is not got loaded and when I tried to view the Image - It shows *'IMAGE COULD NOT BE DECODED FROM BINARY STREAM '.*
    For BLOB Coulmn - the is what i am using for target - NVL(WRK_IMAGE.IMAGE_DATA, EMPTY_BLOB())
    For CLOB Column - NVL(WRK_CALLOUT_V.CALLOUT.getClobVal(), EMPTY_CLOB()) -
    For CLOB i don't have any issue - but for BLOB I could not able to see the blob image .
    Appreciate if you can let me know where the issue is .
    thanks/kumar

    try with some other image. if issue exists then open the raw form of the image and check the header.

  • Unable preview the report

    Hi Experts
    I have installed crsyal successfully and when i go to crystal report and select a report and click preview and print i get below message
    "multiple report views are not permitted"
    Can someone please tell me whats causing this
    Thank you
    Regards
    apsara

    Hi Apsara,
    Please press ALT+TAB key on your keyboard then you will realize that currently you are runnung more than 1 crystal report viewer instance. Please close them and try again.
    CHeers

  • How to access system variables in Script Component in data flow task in SSIS

    Hi,
    I am new to SSIS. Can someone tell me how to access system variable in Script Component in SSIS using C# code.
    Thanks

    You can use the System.Environment.GetEnvironmentVariable(...) to read the variables. An example is here:
    http://msdn.microsoft.com/en-us/library/y6k3c7b0.aspx
    Vikash Kumar Singh || www.singhvikash.in

  • External date format in oracle source system

    Hai friends ,
    My situation is data reconciliation on the cube .I have virtual provider designed with date .My oracle source system has dates in external format say 19-sep-2009 .How to approach my virtual provider in BI with these date fields ..
    iam thinking of inversion routines to communicate with the source system and then reconvert again to BI format in the start routine .Suggest me if any logics with examples.
    Goodday.

    Hello,
    Please refer to the information in the SAP note 518241 , the note refers to DB connect but the section in the note on converting the
    date fields to SAP date format should also be helpful in your case.
    Best Regards,
    Des

  • Error while loading data into Oracle db using SSIS

    Hi,
    Can somebody help regarding the following error message:
    Message
    Error: 2013-07-21 03:23:50.76     Code: 0xC0202009     Source: Data Flow Task 25 Destination 121 - BUSINESSFLOWLOG 1 [466]     Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.  An OLE DB record is available.  Source: "OraOLEDB"  Hresult: 0x80004005  Description: "ROW-00060: Internal error: [dainsert,16]`? ".  End Error  Error: 2013-07-21 03:23:50.76     Code: 0xC0209029     Source: Data Flow Task 25 Destination 121 - BUSINESSFLOWLOG 1 [466]     Description: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "input "Destination Input" (479)" failed because error code 0xC020907B occurred, and the error row disposition on "input "Destination Input" (479)" specifies failure on error. An error occurred on the specified object of the specified component.  There may be error messages posted before this with more information about the failure.  End Error  Error: 2013-07-21 03:23:50.76     Code: 0xC0047022     Source: Data Flow Task 25 SSIS.Pipeline     Description: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "Destination 121 - BUSINESSFLOWLOG 1" (466) failed with error code 0xC0209029 while processing input "Destination Input" (479). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information about the failure.  End Error  Error: 2013-07-21 03:23:50.78     Code: 0xC02020C4     Source: Data Flow Task 25 Source 121 - BUSINESSFLOWLOG 1 [511]     Description: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.  End Error  Error: 2013-07-21 03:23:50.78     Code: 0xC0047038     Source: Data Flow Task 25 SSIS.Pipeline     Description: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "Source 121 - BUSINESSFLOWLOG 1" (511) returned error code 0xC02020C4.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  03:00  Finished: 03:23  Elapsed:  1431.06 seconds.  The package execution failed.  The step failed.
    THANKS.

    I don't see any Oracle related error.
    Consider posting this on any SSIS forum

  • Business Components and oracle.jbo.domain.Date

    Hello I have the next problem I have a Busines Component and I have to acess to rows who have Dates and with oracle.jbo.domain.Date I can4t acess to the day, month, year .
    Can anyone Help me how can I do to access this dates?
    Thanks a lot your your help.

    Hi,
    This is the trilogy problem:
    oracle.jbo.domain.Date
    oracle.sql.DATE
    java.util.Date
    The question is how to translate from one object type to another.
    You can use the following:
    oracle.jbo.domain.Date tmpDate = null;
    SimpleDateFormat tmpLocalFormat = new SimpleDateFormat();
    SimpleDateFormat tmpLocalFormat2 = new SimpleDateFormat();
    // Obtenir la date du sommaire
    tmpDate = (oracle.jbo.domain.Date) session.getValue("DateElem");
    // Initialisation des objets de formatage de date
    tmpLocalFormat.applyPattern("yyyy-MM-dd");
    tmpLocalFormat2.applyPattern("dd-MM-yyyy");
    // Conversion du format de date yyyy-MM-dd => dd-MM-yyyy
    tmpWhereClause = new String(tmpLocalFormat2.format(tmpLocalFormat.parse(tmpDate.toString())));
    // Ajouter ` la clause "Where" la contrainte de la date
    tmpWhereClause = "DrqSommaireInitial.DATE_SOMMAIRE = TO_DATE('" + tmpWhereClause + "', 'DD-MM-YYYY')";
    Take a look also to class calendar...
    null

  • Oracle.jbo.domain.Date blows on NoSuchMethodError

    The following statement:
    oracle.jbo.domain.Date nowDate = new oracle.jbo.domain.Date(nowTime);
    has the following run time error when I try to run the main class in the production library:
    Exception in thread "main" java.lang.NoSuchMethodError
    at stkpackage1.test3.main(test3.java:147)
    Of course, it runs fine in JDeveloper on the same machine.
    The JDeveloper and the production environment appear to have the same version of Java: 1.3.1_04 (Linux).
    Any hints? Any way to debug?
    -- Ewin

    Check the classpath for the run in the IDE and verify that the path is same for the production setup. It seems either jbo.domain.Date or one of it's superclasses is missing in your classpath.

Maybe you are looking for

  • Old ipod touch not recognized by itunes

    I have an old ipod touch (2g) that itunes will not recognize. When I go into 'My Computer' Windows recognizes it as a camera (which it's not, but that's another story) but itunes will not find the device. I've been through the entire "ipod not recogn

  • Automatic creation of  a Material Ledger document

    Hi, I need to automatically create a Material Ledger document with reference to a material and split valuation code, there are BAPI or Function that may I use? Thanks Gianmario Belotti

  • Shortcut for activating editor when one selects something in document window?

    Hello to the people who know Dreamw. a bit better then me.... I just try to find a trick that maybe anyone knows out here? When you select some text in the document window, you see the cursor at that place in the code-editor. Is there a shorthand to

  • Jdbc timestamp error on getting timezone

    Hello I changed my application from J2EE standalone container 9.0.4 to the new OAS 10.1.0.2. Now I have a problem with timestamp CMP-Attributes. When I set a timestamp attribut and get it back I have the following exception. The JDBC driver seems to

  • Mbp to tv question

    Hi there, as always apologies if I'm repeating previous posts! Anyway, while cosidering purchasing an external display for my mbp (15 inch, 6 months old)I came across a very good sized tv for free and im wondering if its possible to perform dual disp