EqualsBuilder for Class containing Date object

Hi,
Does EqualsBuilder work fine if my Class has a Date object? For example, my CreditCard class has creditCardExpDate of type Date.
My Junit failed even though the values for expected and actual look same
Expected
CreditCard@1394894[creditCardTypeCode=A,creditCardNumber=1234567891234567,creditCardExpDate=Sat Feb 28 00:00:00 EST 2009]
Actual
CreditCard@1b8f864[creditCardTypeCode=A,creditCardNumber=1234567891234567,creditCardExpDate=Sat Feb 28 00:00:00 EST 2009]
Any help is appreciated.
Thanks,
jak

EqualsBuilder from commons-lang? Wow that method is special.
It's just impl equals yourself.

Similar Messages

  • Turning off the text for a master data object

    What happens if we turn off the texts for a master data object?  (In RSA1, under info objects - double click on info object and go to Master data/texts tab and untick the 'with texts' box).  Are there any risks in doing this?  Has anyone performed this and run into any issues?  Thanks

    Hi,
    There are no issues in turning off the texts, but if its an object that requires description in the report, say material, plant etc, then you won't have that available as the texts are disabled and not loaded.
    Cheers,
    Kedar

  • Table name for a Master Data Object

    Could you advise on how I can determine the table name for a Master Data object.  It is an object that I created.  Thanks

    Hi Niten!
    It's enough to go in RSA1 to your object definition page in master data/text tab!
    Hope it helps!
    Bye,
    Roberto

  • Error during delta load for bulk upload data object

    Hi All,
    I am getting the following message in the backend integration logs for one of the bulk enabled data object.
    Error message:
    Unable to find parent record for record of node 'CHILD2'.
    Message : SMMWKGN class 005.
    Does anyone know about this error.
    I have defined the the fields as key in child nodes which are defined as key fields in Header structure?
    Also while executing the getlist and getdetail i am able to see all the related data?
    Can somebody suggest?
    Thanks
    Dev

    found out the problem. Solved

  • Deployment question for EMS and Data Objects

    I have configured tens of EMS and data objects. It's deployment time to a new environment, say Dev to Test. Do i have to manually create all this data objects and EMS in each environment, or is it possible to write a script or deployment script to do it automatically for each environment. If not, it will be a headache configuring all these DO and EMS again for eah environment. Please suggest.
    Thanks

    See this guide: http://download.oracle.com/docs/cd/E15523_01/core.1111/e10105/testprod.htm#CHDDIEBI
    Specifically on the usage of icommand in section 20.4.2

  • Is it possible to create web services for classes and bol objects?

    i am new to crm web channel,can any one  please ,help me....
    thank u in advance,
    kiran.

    Hi Kiran,
    Here, when you are talking about classes and BOL objects together, I assume you are talking about the BOL layer for CRM. If that is the case, and you have no dependency on WCEM for these objects, I would suggest you use the NW gateway to expose Odata web services from the CRM box itself. If you would like to expose the Odata web services from WCEM, please have a look at Ch 7 Dev & Extension Guide available in help.sap.com/wec301.
    Good luck!
    Regards
    Pranshu

  • Should I use both GetList and  GetDetail for creating a Data Object?

    Hello, all.
    At first, Thanks for your interesting.
    1. I wounder that  I can make a BAPI Wrapper as Data Object using only GetList.
    When I make a BAPI Wrapper as Data Object using only GetList, SAP shows me a message.
    The message says Data Object can have one root node only (hierarchy = 1 ).
    It means I should use both GetList and  GetDetail.
    I understand that.
    If i need to use only GetList, is there any way?
    Thanks for your interesting again.

    Hi
    I think you are trying to import BAPI wrapper as data object and you are using only "Getlist" BAPI.
    In such case, the data object created will have only root node. i.e Hierarchy =1.
    This is becuse the GetList BAPI has only the info about root node.(i.e, table parameter).
    If you have multiple tables in BE and you want to create a DO with multiple node(hierarchy >1) using BAPI wrapper import, then you have to use "GetDetail" BAPI along with GetList.
    Regards
    Rohith

  • BAM Combo Chart showing data in 2 graphics for the same data object

    Hi all,
    I’m trying to show 2 views of the same data object in a Combo Chart (e.g. orders created today as a bar chart and orders created yesterday as line chart grouping by hour of day). It was pretty easy adding the same data object twice but the data type of the horizontal axis seems to be lost and it gets sorted as a simple string, leading to strange grouping of the hours with 05:00 representing 5 AM sided with 05:00 representing 5 PM. Also, I’m not able to format such fields using the format values tab.
    Is using the same data object two times in the same report an unsupported scenario?
    Thanks,
    Daniel

    why you want to add the same data object twice? Your use case can be achieved with single data object only.
    1) Create combo chart and select the data object.
    2) On "Choose data fields" page group by datetime field.
    3) You will see UI changed to 3 sections - left one with "Group by" section, middle with "Chart values" and right one with "Time Groups".
    4) In the right "Time Group" section, uncheck checkbox for continuous time series. Time Unit as hour, quantity as 1.
    5) In middle "Chart values" section ,select the fields that you want to display as chart values and respective chart types , in your case orders created today as a bar chart and orders created yesterday as line chart.
    5) Click Next and Finish.
    6) Then you can go to Value format tab, and change the format for the datetime field as timeunit and required format.

  • Is it possible to create Webservice for Classes and BOL Objects?

    hi all ,
    i am new to  sap crm please help me out.
    thanks and regards,
    Ahmad

    Hi Narayana,
    Use BDC's for better maintainance of relationship. which worked fine for me.
    thanks,
    vasu.

  • Newfs for used(contained data) drives

    when using
    # newfs c0t1d0s2
    Is this going to corrupt my files? I counldn't mount the dirve, if
    I don't create newfile system. If it is going overwrite my files, Is
    there another way I can mount my dirve. Thanks so much
    for your respond. TY.

    http://docs.sun.com
    Solaris Operating System
    http://docs.sun.com/app/docs/prod/solaris?l=en
    Solaris 10 Operating System
    http://docs.sun.com/app/docs/prod/solaris.10?l=en
    man newfs
    man mount

  • Load Failure for Master Data object

    Dear Sdns,
                        Am doing daily master data loading for VENODR_ATTR master data object.... Am loading it through DELTA Update.... I got an error in Status Tab.
    rror message from the source system
    Diagnosis
    An error occurred in the source system.
    System response
    Caller 09 contains an error message.
    Further analysis:
    The error occurred in Service API .
    Refer to the error message.
    Procedure
    How you remove the error depends on the error message.
    Note
    If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the moment, and restart the request.
    The Error Message is : - Update mode R is not supported by the extraction API.The application program for the extraction of the data was called using  
    update mode R . However, this is not supported by the InfoSource.        
    Kindly Help me if any of the Snd people might have face this kind of problem...
    Answering Getz Appreciated,
    Warm Regards,
    Aluri

    Hi Aluri,
    The file might be used or being edited by some other person when you are doing the delta.
    CHeck the source system connection @ AWB.activate it.
    Follow these steps
    1. Activate transfer rules for data source in source system.
    2. Activate the ODS
    3. Activate the update rules (ods to ods and also ods to cube)
    5. Right-click at the ODS, choose 'Generate Export Data Source'
    6. Replicate the data source
    7.se38---->RS_TRANSTRU_ACTIVATE_ALL for source system .
    Then start data loading again.
    Hope this helps.
    Assign points if useful.
    Thanks & Regards,
    Bindu

  • Boolean & Double types for Data Objects

    Are the Boolean and Double types going to be supported/implemented as usable types for Process/Project data objects?
    The option is available for each of these in JDeveloper, but they become highlighted in red when you select them and if you accept they get converted into String types. I'm not sure if this means this isn't implemented yet or it won't be supported. If they're not supported types they shouldn't be displayed as options.

    That is currently I bug that I found as well. If you type in the type name manually as Bool that should work. For Double I think it is either Real or Decimal. Once you type in these values the red will go away and they will work.

  • Problem with initial download of a data object

    Dear All,
    I have created a data object named "EQUIPMENT", which has three nodes. EQUIPMENT is the header node, DETAILS is the child node to EQUIPMENT and LOCATION is the child node to DETAILS. I have also done explicit key mapping to DETAILS and LOCATION.
    I have selected the following as the BE Keys in the nodes.
    SERIAL NO in EQUIPMENT header node.
    TYPE in DETAILS node.
    ZIPCODE in LOCATION node.
    In the explicit key mapping of DETAILS node we have selected "SERIAL NO" field in this node.
    In the explicit key mapping of LOCATION node we have selected "SERIAL NO" and "TYPE" fields in this node.
    Data object contains no errors and i have activated the data object and it was successful.
    Then i have also created back adapter which has EQUIPMENT get list and get detail. Get list returns only serial numbers (which is the BE key in EQUIPMENT node). Get detail takes "serail no" as input, returns "DETAILS" and "LOCATION" data in tables parameter. I have tested the get list and get detail interfaces, they are working fine. Then i have activated back end adapter and that was successful.
    Now i have triggered an initial download for the  "EQUIPMENT" data object, but there is no data downloaded into the data object. I have checked the monitoring in administration portal, it is showing status "Ended with errors", but there is no details of an error.
    So can you please let me know what could be mistake i have done or how to check what is the error. Please help us to resolve the issue.
    Regards,
    Kiran.

    Hi Kiran
    Are you checking in the NWMA>>Monitoring>>Logs and Traces>>Backend Integration?  The logs should have the proper error.
    If not can you regenerate the DO, edit and activate your adapter and try again?
    Regards
    Rohith

  • Data objects and code objects in oracle application

    Hi,
    can any one please help me out with following question?
    1. what are data objects and code objects in oracle apps and why is that difference?
    2. How does the objects gets created in Oracle Applications, like during the installation which part is responsible for creating objects and after the installtion later point of time, how the new objects gets created in oracle applications?
    3. what are the ways to find out if my 11i application is OATM enabled ?
    Thanks in advance

    Hello,
    I managed to find answer for question 1, yet to find answer for 2 and 3.
    Answer for question 1 --
    Data objects : store and access business data (tables, indexes, sequences, index-organized tables, etc);
    Code objects : process data objects but them don't contains business data (functions, procedures, packages, views, synonyms);
    Now, here i have a question - under which objects queues are considered ?

  • Delta and Full process chain for same master data target.

    Hi  Friends,
    Can I do full update and delta update through process chain for same master data target and from same source ?
    Regards
    shekar reddy

    Hi Sriram,
    why you want to load full and delta for same master data object?
    you can achieve this but make sure that you select repair full option for full load IP.
    you have this option in scheduler in menu bar
    Regards,
    Venkatesh

Maybe you are looking for

  • How do I change spelling mistakes on my pdf leaflet

    how do I  edit spelling mistakes on my own existing PDF leaflet?

  • Cannot import wmv

    I've read the link below that was provided by Adobe and it explicily stated that WMV is supported in the windows version. I'm running AU 5.5 on Windows 7, just got done recording a video clip WMV format along with audio, I've tried to import the clip

  • Reassign Macbook to new Apple ID

    I purchased a new macbook pro at best buy.  I Installed ms office and password vault using my wife's apple id. I am new to the apple world. If I create my own apple account can I reassign the machine to my apple id.  I need my wife's iMac using her a

  • Cannot install Elements 13. "Sign-In Required" leads to stalled window.

    How can I get my new copy of PEPE Elements 13 installed? I have been requesting a chat help for nearly two hours now, to no avail. When I try to install the programs, I get the "Sign-In Required" window, enter my Adobe ID info on the following window

  • Return to vendor options at time of receipt

    One of our manufacturing sites has posed a question regarding return to vendor options when receiving damaged or defective material. Our current process, which I believe is the standard process in SAP, is to receive the full quantity even if part of