Sunday, December 26, 2010

ADF Model: Creating Date Effective Association and Date Effective VO

To learn the basics of date-effectivity in ADF, please go through my post Learning basics of Date Effectivity in ADF. To learn how to create date-effective EO, please go through my post Creating Date Effective EO.

Creating Date Effective Association:
To have the basic idea of association between EOs, please go through my post ADF Model: Creating Entity Association. But, by default the association created is not date-effective. But, if you're creating association between two EOs in which at least on of them is effective-dated, then you should mark the association as 'Effective Dated'. To make the association date-effective,

1. Open Association -> Goto 'Relationship' tab -> Behavior -> Check 'Effective Dated Association' checkbox.
Marking the association 'Effective Dated Association' will take effective date into consideration while searching, inserting and updating the records.

Creating Date Effective VO:
Creating date effective VO is same as creating normal VO. In addition, we need to

1. Mark the VO as date-effective by setting EffectiveDated='true' for the VO. You can find this property in 'General' tab property inspector.

Specifying the above property for the VO will generate a new transient attribute called SysEffectiveDate in the VO.

2.Optional: Change the data type of SysEffectiveDate attribute to 'java.sql.Date' from 'oracle.jbo.domain.Number'. We'll often find it easier with native Java sql data types instead of using Oracle's jbo datatypes. It is recommended to use java native sql type(java.sql.Date) for all date type attributes in the EO.

Marking the VO effective dated, will support date-effective updates for a single record.

31 comments:

  1. Nice blogging Murali.. keep it up..

    Rajashekher(Gaddam).

    ReplyDelete
  2. Thanks Gaddam :) Howz your life at Bangalore? Everything Settled?

    ReplyDelete
  3. Anthropology Optional for UPSC
    by Pradip Sarkar
    New Batch Starting from 14th Jan. 2019
    Online/Offline Class also Available
    Admission Open, Join Now

    Visit: www.sapiensias.in
    Call: 8700922126 || 011-2875 6962 || 9718354962
    Email: sapiensias@gmail.com
    Address: 17A/44, W.E.A. 3rd Floor, Near Karol Bagh Metro Station (Pillar No. 99), New Delhi- 110005.

    https://www.sapiensias.in/course/anthropology/anthropology-optional-coaching/

    ReplyDelete
  4. Sapiens IAS offers flexible and results-oriented Best Anthropology Coaching Coaching for UPSC and IAS students through an online and offline training program by well known IAS trainer Mr. Pradip Sarkar.

    Call: 8700922126 || 011-2875 6962 || 9718354962
    Email: sapiensias@gmail.com
    Address: 17A/44, W.E.A. 3rd Floor, Near Karol Bagh Metro Station (Pillar No. 99), New Delhi- 110005.

    Read More at: https://www.sapiensias.in/course/anthropology-online-classes-upsc/

    ReplyDelete
  5. As an adventure touring company, Enfield Point specializes in small-group, long-duration scenic and cultural motorcycle tours to areas of the world neither easily accessible nor commonly visited by most, especially in Himalayas. We cater to the experienced, self-sufficient rider who seeks a more challenging and unique experience.

    http://www.enfieldpoint.com/bike-rental-manali.htm

    http://www.enfieldpoint.com/leh-ladakh-bike-tours.htm

    http://www.enfieldpoint.com/explore-manali-leh-srinagar.htm

    http://www.enfieldpoint.com/spiti-valley-bike-tour.htm

    http://www.enfieldpoint.com/srinagar-leh-manali-essentials.htm

    ReplyDelete
  6. Financial Divorce In Brisbane Australia

    If you are thinking of separating or you already have, then financial certainty is necessary.

    Financial Planners are not just there to provide advice on stocks and bonds but to also provide

    solutions for your complex situation. To talk about you and what your needs and wants are. Your needs

    and wants will be different to when you were married and a new strategy for you, can be put in place

    easily to ensure your new blueprint is clear. It’s important to make your financial decisions before a

    settlement or negotiations have started as your financials need to be identified so that all your

    options are considered.



    Read More: http://www.financialdivorce.com.au/

    ReplyDelete
  7. Are you looking for Royal Enfield Travel in India? Royal Bike Riders offers best Royal Enfield bike tours or
    Royal Enfield India Trip packages at industry lowest rates here in India.
    This is Popular moto touring agent and going to the mountains can be really enjoyable.
    The waterfalls, the forests the hills and the roads, all these are to be enjoyed and simply relished.

    Rohtang Road, Vashist Chowk, Manali, Himachal Pradesh

    +91 9716246989

    enfieldtoursindia@gmail.com

    http://www.enfieldtoursindia.com
    http://www.enfieldtoursindia.com/motorcycle-tours.htm

    ReplyDelete
  8. SEO Consultants London PaceLab - SEO Consultants London providing SEO that drives rankings, visitors and conversions. Colliding best technical SEO with strategic content, promotion

    ReplyDelete
  9. SEO Experts London - PaceLab is a leading Digital Marketing Agency drawing on years of experience from within the world of digital marketing.

    ReplyDelete
  10. NHB Recruitment 2020: National Housing Bank
    has been Invited the Online Application to the Recruitment 2020 post of Assistant Manager Post.

    ReplyDelete
  11. Transformer drying chamber -
    The complete drying plants are divided in sub modules. Each module, e.g. warming station or kerosene channel, is completely trashed,
    Wired and pre-tested within our workshop. This notion convinces with a easy And installation of the plant. Furthermore, the clients
    have the Opportunity to setup the comprehensive plant.

    ReplyDelete
  12. Library management system in Java - Library Management System is one of the
    most best idea which is created using Java. Library Management System is a software built to handle the primary housekeeping functions of a library.
    Libraries rely on library management systems to manage asset collections as well as relationships with their members.

    ReplyDelete
  13. Empower Smash Suicide Stop Bullying Stop Hate - Challenging
    every child to respect everyone and be accountable for their own words to to stop suicide.

    ReplyDelete
  14. Encourage Inspiration Youth Children Respect Day Family Parenting
    Parents
    - learn to respect yourself and you will not have to worry about disrespecting anyone else.

    ReplyDelete
  15. The company has advocated the most innovative methods when it comes to Recycling transformer oil, Transformer acidity removal, Transformer oil treatment,
    Transformer preventive maintenance and, Transformer oil filtration systems.

    ReplyDelete
  16. Transformer oil treatment - The transformer oil deteriorates over time since it
    pulls in moisture and changes its chemical structure. The insulating fluid touch base with oxygen and water as air slowly leaks during its lifetime.

    ReplyDelete
  17. Library Management in Java - Library Management System is one of the most best idea which is created using Java. Library Management System is a software built to handle the primary housekeeping functions of a library. Libraries rely on library management systems to manage asset collections as well as relationships with their members.

    ReplyDelete
  18. Java Assignment Help is the programming help online service provided by the best java assignment helpers at reasonable price

    ReplyDelete
  19. I知 Possible positive solution Love - Encourage Me I知 Young (EMIY) Inc., a non-profit 501c3 based in Detroit is a grassroots volunteer driven organization dedicated to legacy.

    ReplyDelete
  20. Encourage Inspiration Youth Children Respect Day Family Parenting Parents - learn to respect yourself and you will not have to worry about disrespecting anyone else.
    ================

    ReplyDelete
  21. We help you to complete your Python coding. We provide best Python homework help
    in reasonable price, within your deadline.

    ReplyDelete
  22. Data Structure Assignment Writing - Students looking for any type of homework, assignment or projects in Data structure get assistance here at the affordable price. Almost every solution regarding your data structure assignment and projects we have!!

    ReplyDelete
  23. Java Assignment Help - Are you in need of someone who can tackle your ” Java Programming related task? ” Then, you are in the right place. Here we provide the best services to ” Do my java Assignment”, and “Do my java project help”.

    ReplyDelete
  24. Superb Post. To view this post, I am quite happy. We appreciate you sharing this amazing information with us. custom erp software development

    ReplyDelete

Related Posts with Thumbnails