Using a Data Object in Place of a Database Connection

<p>We&#39;ve got about 2000 users that will need to access the same data set for an on-demand report.  We&#39;re using logic at report run time to restrict how much of that data set a given user can see.  We&#39;d like to avoid the stress on our database server of a few hundred people hitting it at the same time.  </p><p>Is there a Crystal or Business Objects object that we can load the data into and then have the report use that object?  The data is only updated on a monthly basis, so loading such an object with the most recent data is a reasonable solution for us.</p>

<p>Business Objects has a few offerings in this area:<br /></p><p>Business Objects Enterprise, CR Server, CR.com. </p><p> </p><p>All three options will allow you to schedule a report and have your end users viewing only a scheduled instance of a report with Saved data.  </p>

Similar Messages

  • Date dimension fragmentation from 2 different database connections

    Hi Everyone,
    In obiee 10g, is it possible to implement fragmentation on a date dimension from 2 different physical database connections (not schemas)?
    For example:
    Physical connection & dimension 1: physical1.obiee_rpd.w_mcal_day_d.date
    physical connection & dimension 2: physical2.obia_rpd.w_mcal_day_d.date
    the fact table will be: physical1.obiee_rpd.w_fact_f.fact
    The 2 physical dimension tables will be joined to the 1 fact table in the physical layer.
    I then create a BMM with 2 LTS : physical1.obiee_rpd.w_mcal_day_d and physical2.obia_rpd.w_mcal_day_d.
    I then create 1 logical column in that BMM which sources both physical1.obiee_rpd.w_mcal_day_d.date and physical2.obia_rpd.w_mcal_day_d.date.
    Then, i set up fragmentation to use physical1.obiee_rpd.w_mcal_day_d.date when physical1.obiee_rpd.w_mcal_day_d.date < '04/30/2012' and use physical2.obiee_rpd.w_mcal_day_d.date when physical1.obiee_rpd.w_mcal_day_d.date >= '05/01/2012'.
    The problem is that the query that answers generates always uses physical1.obieerpd.w_mcal_day_d.date , regardless of the date filter applied!_
    Any tips?
    Thanks!

    Hy,
    Can you try the following.
    Define:
    - one logical date dimension with two logical table sources (physical1.obiee_rpd.w_mcal_day_d.date and physical2.obia_rpd.w_mcal_day_d.date)
    - one logical fact table with two Logical Table Source (LTS). And in each LTS, define the same logical level in the content tab and don't forget to check the checkbox "This source should be combined with other sources at this level".
    Cheers
    Nico
    Edited by: gerardnico on Jun 25, 2012 4:23 PM Date and not datum (Dutch)

  • Using predefined data objects classes.

    I am always trying to be a better, more efficient Flex developer and I was looking at a project by Christophe Coenraets where he created collaberative forms using Flex/BlazeDS. I saw in his application that he was using multidirectional binding to a Class Object for each form in the application. For example, this is the MortgageApplication.as
    package
        import mx.collections.ArrayCollection;
        [Bindable]
        public class MortgageApplication
            public var firstName:String;
            public var lastName:String;
            public var ssn:String;
            public var phone:String;
            public var mobilePhone:String;
            public var email:String;
            public var notify:Boolean;
            public var usCitizen:Boolean;
            public var address:String
            public var city:String
            public var state:String
            public var zip:String
            public var singleFamily:Boolean;
            public var salePrice:Number = 500000;
            public var downPayment:Number = 100000;
            public var closingDate:Date;
            public var jobList:ArrayCollection = new ArrayCollection();
    I have an application that I use multiple forms to input information into the database and then I use Objects (actually ObjectProxys) and ArrayCollections to store information to display. I use the Mate Framework and have manager classes that store predefined bindable variables (empty)  that are injected into the view as needed or requested. In the manager class I just create a new ObjectProxy (or ArrayCollection) and use the information passed in (an ArrayCollection from ColdFusion) and create/modify the ObjectProxy/ArrayCollection before having it injected.
    Is it better practice or more efficent to predefine object classes (such as above from the example) then just populate them in the manager class before the injection or just create an new blank Object or ArrayCollection on the fly. Is there any difference?
    Set up a seperate Class:
    package
        [Bindable]
        public class Person
            public var firstName:String;
            public var lastName:String;
            public var phone:String;
    and do this in the Manager:
    public function setPerson():void {
         var person = new Person();
         person.firstName = "Steve";
         person.lastName = "Smith";
         person.phone = "555.555.1212";
    OR just have this declaired in the Manager as
    [Bindable] public var person:ObjectProxy;
    public function setPerson():void {
         person = new ObjectProxy();
         person.firstName = "Steve";
         person.lastName = "Smith";
         person.phone = "555.555.1212";
    Thanks to anyone who wants to help me become a better developer!

    ObjectProxy access is significantly slower that data class access.  ObjectProxy will not tell you if you mistype the name of a property and you can spend hours trying to find some place were you typed ssm insead of ssn.

  • Date/Time erros when working with Database Connectivity toolkit

    Hi!,
    We are observing errors with date/time when working with LV. The error occurs when the system datetime format is set such that day precedes month (e.g. dd/mm/yyyy). Our VI uses LV 7.1, Database Connectivity 1.0 and SQL Server 2000 on a Win2000 machine.
    Problem details
    Our database in SQL server has a table having columns with data type "datetime"
    If the system date format (as set in control panel) is "mm/dd/yyyy", the 'insert into database' vi works fine. This function inserts the date and time (among other things) into the above mentioned table.
    However, when the system datetime is set to dd/mm/yyyy we start receiving error that date and time is beyond range for dates in which the date had the day field greater than 12 (e.g. 23/10/2005). With the same settings, if the date is such that day field is equal or less than 12 (e.g. 03/10/2005), we do not receive an error but the date is interpreted as 10 March 2005 rather than 03 September 2005.
    Clearly LV (or is it SQL) is mistaking the day field as month.
    We have taken care that when sending and receiving date, the format date and time string is set as per system settings.
    Thus, if system setting is "dd/mm/yyyy" our format string is "%d/%m/%Y"
    And if the setting is "mm/dd/yyyy" our format string is"%m/%d/%Y"
    Any help on problem cause and cure is welcome.
    Thanks,
    Gurdas
    Gurdas Singh
    PhD. Candidate | Civil Engineering | NCSU.edu

    Hi Xu,
    You answer led me to some very interesting fact finding on how SQL server handles date and time. I have attached a zip file which contains webpages that throw more light on this issue.
    The attached pages tell me that SQL has an inbuilt date/time reference format. The default in mm/dd/yyyy. Which explains why my VI worked when I used that format to write to SQL.
    However there is a catch:
    SQL expects the date/time to be in its inbuilt reference format when you WRITE data to SQL. If the date/time is in a different format, better tell SQL about it by using say the SET command you mentioned.
    BUT what about the date/time format when you are reading data from SQL?
    Our finding is that SQL sends date/time string in the system date format when you READ from SQL !!! That is very surprising behaviour (why differentiate between write and read?).
    Is our finding correct?
    So, we adopted the following simple strategy (yet to be fully tested):
    1) Whenever we write date/time to SQL, the string is formatted as mm/dd/yyyy. Presently, the user's SQL server is in the default state. Caveat is that if the user changes SQL date/time from default (which is mm/dd/yyyy) to anything else, our software will give errors. But then he changed it  ;-)
    2) When we read date/time from SQL we format the string as per system date/time format.
    I know this is not very robust coding. But assuming the user keeps his SQL in the current setting, should we expect smooth working?
    In other words, are there any errors and/or flaws in our strategy?
    Thanks,
    Gurdas
    Gurdas Singh
    PhD. Candidate | Civil Engineering | NCSU.edu

  • Using SSO username/password in java portlet for Database Connection

    Hi all,
    We implemented java portlet with environment Oracle Application server 10.1.2 and Portal 10.1.4
    At present we are picking the database username and password and connect string in properties and our
    java class is reading the properties file and connecting to database to fetch the records.
    Our idea is to not to pick the username/password and connect string from the properties file or
    not to configure the datasource in data_source.xml.
    Our Requirement is who ever login to the Portal(SSO) our java class should pick the sso username/password and
    connect to database to fetch the record(s).
    Because our database users are one to one mapped to sso user(s) of portal.
    We request anyone to guide us how can we do it or suggest any suitable solution for our requirement.
    Thanks
    Dan Tey

    I think this is a no-go, since you cannot retrieve a cleartext password from the OID if I'm correct.

  • How do I reference the data object in a DataGrid to show an image correctly in Acrobat?

    I'm creating an inferface for an Acrobat application  and I'm having a issue with displaying an image in a grid.  When I hard code the source="statusNONE.png" it works as intended (with an image, not the image associated with each grid item), however, when I try to use the source="{data.@icon}" to reference the dataProvider (XMLListCollection) I get nothing.  Not a broken image or anything.  I think I may just not be referencing the XMLListCollection correctly, otherwise I don't know why it would work with hard coding vs. fetching the string from the XML.
    //Application Header (Flex 4.5)
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                     xmlns:s="library://ns.adobe.com/flex/spark"
                                     xmlns:mx="library://ns.adobe.com/flex/mx"
                                     width="100%" height="100%" creationComplete="eaton_creationCompleteHandler(event)"
                                     currentState="Review">
    //Sample of XML that gets used as basis for XMLListCollection
    <Annots>
         <Annot name='TEST' index='14' feedback='' canConstruct='0' icon='statusNONE.png'/>
    </Annots>
    //creation of the XMLListCollection from String
    [Bindable] protected var fullXML:XML;
    [Bindable] protected var fullXMLCol:XMLListCollection;
    protected function loadXML(xmlString:String):void
          fullXML = new XML(xmlString);
         var fullXMLList:XMLList = fullXML.children();
          fullXMLCol = new XMLListCollection(fullXMLList);
    //DataGrid
    <s:DataGrid left="0" top="0" bottom="0" width="142" dataProvider="{fullXMLCol}"
                                            requestedRowCount="4" rowHeight="30"
                                            top.Confirm="87">
                        <s:columns>
                                  <s:ArrayList>
                                            <s:GridColumn dataField="@name" headerText="Annotations"></s:GridColumn>
                                            <s:GridColumn headerText="status" width="30" >
                                                      <s:itemRenderer>
                                                                <fx:Component>
                                                                          <s:GridItemRenderer>
                                                                                    <s:Image width="30" height="30" source="{data.@icon}"/> //THIS IS THE PART THAT SEEMS TO BE GIVNG ME TROUBLE!
                                                                          </s:GridItemRenderer>
                                                                </fx:Component>
                                                      </s:itemRenderer>
                                            </s:GridColumn>
                                  </s:ArrayList>
                        </s:columns>
                        <s:typicalItem>
                                  <fx:Object dataField1="Sample Data" dataField2="Sample Data" dataField3="Sample Data"></fx:Object>
                        </s:typicalItem>
              </s:DataGrid>
    Additional information.  I'm using the resources tab for the flash embedding in Acrobat for my images. This works when I am hard coding the file name string works for the source without having to add a full path, the images are not technically bundled into the swf.   I just don't understand why using the data object to get that same string would show different results.
    tl;dr: GridItemRenderer works to show images when hard coded but not when using {data}.
    UPDATE: Figured it out, needed to add a toString() to the data.@icon.   I had assumed it was a string being handed over, I assumed wrong.

    Probably because data.@icon isn't a String, it is an XMLList, and source property is an Object not a String so the runtime doesn't automatically convert it.
      Try [email protected]()

  • Why is data object completely emptied by XSLT on Output Data Association?

    I have an activity in a BPM 11g workflow that invokes a DbAdapter that does a Select, which may not return any rows in the normal course of processing.  My Data Associations for the Output uses an XSLT to map the returned values into one of my process data objects, accounting for the fact they could be empty because no row was found.
    The problem: While I only mapped one column from the results of the Select into my data object using an XSLT, when no row is returned, all other values are removed from my data object.  I need those to remain intact in the data object.
    Why is that?  How can I prevent that from happening?
    More details...
    Here is a snippet of my XSLT used to grab the result of the Select into my data object.  Notice it only maps docId, does not include totalEarnings or bW2IsAttached.
    <xsl:template match="/">
      <ns1:InterfaceTable>
        <xsl:if test='/ns0:AccountingDataCollection/ns0:AccountingData/ns0:docId != ""'>
          <ns1:docId>
            <xsl:value-of select="/ns0:AccountingDataCollection/ns0:AccountingData/ns0:docId"/>
          </ns1:docId>
        </xsl:if>
      </ns1:InterfaceTable>
    </xsl:template>
    Here's my process data object contents before the DbAdapter activity runs the Select.  Notice it includes docId, totalEarnings and bW2IsAttached.
    <?xml version="1.0" encoding="UTF-8" ?><MyTestData xmlns="http://xmlns.oracle.com/bpm/bpmobject/Data/MyTestData">
       <docId>123456</docId>
       <totalEarnings>100.0</totalEarnings>
       <bW2IsAttached>false</bW2IsAttached>
    </MyTestData>
    Now after the Select runs, and no row is found (which can happen), I end up with this empty data object:
    <?xml version="1.0" encoding="UTF-8" ?><MyTestData xmlns:ns1="http://xmlns.oracle.com/bpm/bpmobject/Data/MyTestData" xmlns="http://xmlns.oracle.com/bpm/bpmobject/Data/MyTestData"/>
    I need the totalEarnings and bW2IsAttached fields to remain in the data object.  How can I do that?

    I tried using the data object as a second data source to map the values back to themselves, but that did not work for some unknown reason.  Perhaps I'll try that again.
    The only reason I'm using an XSLT is to handle the case of no row returned from the DB Select.  So if there is another way to check that, this would be fine.  How can I check using an exclusive gateway for a row returned?  I just tried to create this setup, but the data object containing the row read from the service activity is not available in the gateway for checking.  This would be the ideal solution if you could tell me how to access the data object holding the result of the Select in the gateway.  Thanks!

  • How to use japanese data in BO 6.5

    Post Author: sinha_ips
    CA Forum: Desktop Intelligence Reporting
    hi,I am using BO 6.5 trying to use japanese data in my report. The database i m querying supports japanese and the oracle client at my machine also supports japanese.I have installed the japanese language set also at my machine.But all this is not giving me the results. Japanese data is still coming as junk. Any help is appreciable...Thanks & Regards,Ashish

    Are you able to log into infoview then?  And the problem happens when you select on a web report?  Do you see any errors when you select the link?  Does this happen with all reports? or is there a specific type of report that this happens to?
    With your general supervisor account, try to create a simple report from a simple database such as efashion, with one object.  Make sure that you save the report without refresh on open.  Then try again.
    Basically, you'll want to narrow the problem down to:
    1. report related
    2. deployment related
    3. browser related.
    4. authorization related.
    Run simple tests to narrow down what the problem is related to.

  • How to convert a string to date object?

    I have a string user input for date.
    I want to convert it to Date object to insert it in database.
    How to do it?

    Check the java.text.SimpleDateFormat class. You can use it for parsing dates. API contains good description how to build the format pattern.
    HTH
    Mike

  • How do you use a TimeZone object?

    Hi,
    When I did this:
    TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles");
    GregorianCalendar calendar = new GregorianCalendar(tz, Locale.US);
    Date now = calendar.getTime();
    System.out.println(now);I expected the current time on my computer to be converted to the time in Los Angeles--but that didn't happen. The code ouputs the current time on my computer. So, I'm left wondering what a TimeZone object is used for?

    A TimeZone object is used by a Calendar when you ask it to do date and time arithmetic, and when you set its value. If you say "set the time to 4 am" then the code needs to convert that to an offset relative to a time in GMT, and clearly it would need to know what time zone you meant that 4 am to be in.
    But you used a Date object and printed it. Date doesn't have a time zone attribute. Yes, I know you got the Date from a Calendar but since a Date doesn't have a time zone, it can't magically interpret itself in terms of the Calendar you got it from.
    Fortunately SimpleDateFormat does have a time zone attribute. So if you want to print a date interpreted in a certain time zone, that's what you would use. And generally you should use SimpleDateFormat to turn dates into text anyway.

  • _system.date() as a date object?

    My system reports back _system.date() as mm/dd/yy which I
    could easily parse but I understand that the system date format is
    dependent on the user's OS, preference settings, language, mood ;-)
    There’s got to be an easy way to get the system date as a
    date object. I saw in an earlier post that OpenSpark has written a
    bunch of cool calendar math routines but I need to start with
    today’s date as a date object.

    I use JavaScript syntax exclusively anymore, so I use the
    JavaScript syntax Date object. It’s fairly robust and
    x-platform. This is much like ensamblador’s use of the Flash
    Date object. The Flash Date object and the JavaScript syntax Date
    object are both implementations of ECMAScript 262, so it’s
    one of those “six of one half dozen of the other”
    situations. If you are scripting in Lingo then you would need to
    create a Flash object and then instantiate a Date object in it. If
    you’re scripting in JavaScript syntax then just use its
    native Date object. When using the Date object you gotta remember
    that the day of the week – dateObject.getDay() - and the
    month - dateObject.getMonth() – are zero indexed... 0 =
    Sunday, 0 = January etc. When I have to display day names or month
    names I use arrays to store the names I want to display. Also,
    hours are in 24 hour (military) time, so dateObject.getHours()
    would return 16 at 4:27 pm. You can account for that by subtracting
    12 from the returned Hours value if it is greater than 12.
    function exitFrame(me)
    var dObj = new Date();
    var theHour = dObj.getHours();
    var apendTime = " am";
    var dayArray = new
    Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
    var dateArray = new
    Array("January","February","March","April","May","June","July","August","September","Octo ber","November","December");
    var iText = member("infoText");
    ///// show the date textually
    iText.text = dayArray[dObj.getDay()] + " " +
    dateArray[dObj.getMonth()] + " " + dObj.getDate() + ", " +
    dObj.getFullYear();
    ///// mm/dd/yyyy format
    iText.text += "\n" + (dObj.getMonth() + 1) + "/" +
    dObj.getDate() + "/" + dObj.getFullYear();
    ///// show the time like a digital clock
    // 24 hour (military) time
    iText.text += "\n" + theHour + dObj.getMinutes() + ":" +
    dObj.getSeconds();
    // civilian time
    if (theHour > 12)
    iText.text += "\n" + (theHour - 12);
    apendTime = " pm";
    } else {
    iText.text += "\n" + theHour;
    apendTime = " am";
    // the minutes and seconds
    iText.text += ":" + dObj.getMinutes() + ":" +
    dObj.getSeconds() + apendTime;
    _movie.go(_movie.frame);
    }

  • Data Object is performning slow

    I am using a data object which is tied to external view.The datbase view is holding data from multiple table.But from the bam side the entire configuration is functioning slow.Is there any other way by which i can handle this issue.or should i go with integrating ODI with bam for this requirement.

    What is the BAM version?
    Can you provide details on slow performance? What is being shown - how much data are you retreiving?
    Is the External DO (i.e. DB machine) co-located in the same facility or in another network?
    Can you check on the DB EM on how much does the query take i.e. is the time lag in display vs. query?
    Regards
    Payal

  • Problem of update rows in data object

    Hi everybody,
    I got the error message.
    Cannot update rows in data object /Samples/Monitor Express/BI_default_Project1_Process1.java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    Please advise!!!!

    Are you using alterts related to that data object?
    Do you have any open report that uses that data object?

  • Data objects in Dreamweaver CC?

    I'm not an advanced programmer in PHP and I need assistant of data object to program my web.
    Where can I find data objects assitant like upgrade record assitant  in dreamweaver CC? (Insert > Data Objects). I tried with database extension but I don't see it.
    I want to buy dreamweaver CC but if it don't have data objects it isn't useful for me.
    Can I download dreamweaver CC and dreamweaver CS6 only with creative cloud?
    Sorry for my english, I'm from Spain.
    Thanks

    Server behaviors are deprecated in CC.  If that is a feature you're intent on using, you should download CS6 for a trial.  At the end of 30-days, you'll need to subscribe to the Creative Cloud to keep using it.  Be sure to follow the VERY IMPORTANT INSTRUCTIONS or it won't work.
    http://prodesigntools.com/adobe-cs6-direct-download-links.html
    Nancy O.

  • Date objects and prepared statements

    Hi, I am trying to parse a String into a Date object with format "dd/MM/yyyy hh/mm/ss". Anyway, i have a method in a separate class which reads in a String and converts it to a formatted Date object.
    static public Date convertToDate(String t) throws ParseException {
    Date dd = new Date();
    ParsePosition p = new ParsePosition(0);
    SimpleDateFormat formatter = new SimpleDateFormat("dd/MM/yyyy hh:mm:ss");
    //y, M, etc are retrieved as substrings of String t. I know these methods are deprecated as well
    dd.setYear(y);
    dd.setMonth(M);
    dd.setDate(d);
    dd.setHours(h);
    dd.setMinutes(m);
    dd.setSeconds(s);
    String formattedDate = formatter.format(dd);
    Date theDate = formatter.parse(formattedDate);
    return theDate;
    Anyway, I am trying to use this in an SQL statement because I am using an Access DB which has a field of Date/Time value. Is this correct to use a Date object then? I have a prepared statement -
    PreparedStatement query = connection.prepareStatement(
    "SELECT FText FROM wnioutput WHERE Id = ? AND Section = ? AND Start = " +
    "? AND Field = ?");
    //start is the Date object returned from the previous method in a separate class
    query.setInt(1, id);
    query.setInt(2, section);
    query.setDate(3, formattedStart); - with this part, i get a setDate method not found, or something
    query.setString(4, ch);
    Can anybody tell me what the problem is? I know there are Date objects of java.util and java.sql. Should i be using an sql Date object? And if so, how, and where do I do this? Thank you!

    ok, i just tried
    query.setTimestamp(3, new java.sql.Timestamp(formattedStart.getTime()));
    where formattedStart is a java.util.Date object
    and I get the following error message -
    Error occured in getting endDateAndTime: java.sql.SQLException: Exception in databaseDisplay: the error message is:java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression.
    java.lang.NullPointerException
    where endDateAndTime is
    // takes in the startDateAndTime as a formatted String (before it is converted into a Date object)
    public String getEndTime(int s, int ID, String stDateAndTime) {
    String end = null;
    gui g = new gui();
    try {
    String sql = "SELECT End FROM wnioutput WHERE Id = " + ID +
    " AND Section = " + s +
    " AND Start = '" + stDateAndTime + "' AND Field = 'Wind50m'";
    ResultSet result = g.queryDatabase(sql);
    if (result.next())
    end = result.getString("End");
    } catch (SQLException sqlex) {
    System.out.println("Error occured in getting endDateAndTime: " + sqlex.toString());
    return end;
    Although this method worked fine before. So the error is in setting the date object in the prepared statement. Anymore suggestions??

Maybe you are looking for

  • Mac doesn't seem to want to be turned off

    Processor 2 x 2.66 GHz Dual-Core Intel Xeon Memory 3 GB 667 MHz DDR2 FB-DIMM Mac OS X 10.5.5 I've had my Mac Pro for 1,5 years now and I never really had any issues with it. But the last few days it's behaving strangly. - When I try to turn off the c

  • Adobe Photoshop CS5 for Mac install problem.

    I just purchased Adobe Photoshop CS 5 for Mac and installed it on December 17, 2013. Last week I updated to a new harddrive. I am trying to re-install Photoshop and the disc asks all the usual questions: serial number, Adobe ID, Adobe Password, then

  • What would cause an OAM file placed in InDesign not to show up in Adobe Viewer?

    I have created an OAM file using edge animate. The file works perfectly when I preview it in the browser through edge. I placed it in indesign and added the timing to start automatically on page load. I have many other OAM files on other pages that I

  • Cant sent text because it says the cell phone number is not an ios5

    when i try to send a text message from my ipad, it won't accept a cell phone number as a recipient, says it is not registered with iMessage.

  • Teststand save execution for later run

    I have a requirement to be able to save an execution for a later run.  The sequence of events is:  Run a test, pause, shutdown the system, open the execution later and run from the last state.  Is this possible to do programmatically in TestStand?