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.

17 comments:

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

    Rajashekher(Gaddam).

    ReplyDelete
    Replies
    1. Great Article. Looking great work dear, I really appreciated to you on this quality work. I would like say thanks for this post. Here are some useful links for stdudents all across the globe. These tips may help me in the future. A high-standard post with all imperative information.
      Final Year Project Domains for CSE
      IEEE Project Centers in Chennai





      JavaScript Training in Chennai
      JavaScript Training in Chennai

      Delete
  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. Dublin Airport Taxi

    We provides best dublin taxi and shuttle services, such as getting our clients at airports, ports and train stations and giving support services at congresses, events and shows, besides organizing trips to the most varied destinations.

    A highlight of our activities is the City Tour – a dublin taxi service that takes our clients to any place inside or outside the city of Dublin, so they can get acquainted with what the city and the outskirts have the to offer at best.

    Besides the safety, quality and professionalism, we pride ourselves for the comfort we offer to our guests. We dedicate the upmost care to deliver to our clients the necessary well-being during their trip, counting with a modern fleet of vehicles to tend to their needs.

    Read More: https://www.easycab.ie/

    ReplyDelete
  5. 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
  6. 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
  7. Our resort in Jim Corbett, offers a perfect amalgamation of luxury and serenity. This is where each villa is tastefully designed to provide you an elegant stay and majestic views like Lush Gardens, Swimming Pool, River Fronts and more..

    Read More: https://www.thehridayeshresort.com

    Jim corbett hotels,Jim corbett Resorts,Corbett resorts

    ReplyDelete
  8. Wethecoders is one of the leading online assignment help services. wethecoders.com always take step towards your satisfaction. We work hard so that you can get good grades. Our prime motto is to help you to get good grades in your assignment, project and homework. Our team is professional and knowledgeable. We are here to help you 24/7. Try once to take the advantage of our services and we assure you that you will get surely the



    Read More: http://www.wethecoders.com/android-project-help/

    http://www.wethecoders.com/java-project-help/

    http://www.wethecoders.com/database-project-help/

    ReplyDelete
  9. Do you run an educational institute in India? Want to generate quality leads by promoting your coaching institute website on Google search engine? Well, Elite SEO Agency, a proficient SEO company for coaching institute offers absolutely niche based customized Google friendly SEO services with assured result and that too within timeframe.

    Whether you have UPSC, IAS coaching institute, CA coaching training centre, or anything related to education category , we are ready to provide you the desired result as per your business requirements.

    Call Now at 7634078909 to grab a Free SEO consultation from the certified SEO consultant at Elite SEO Agency.

    Read More: https://www.eliteseo.agency/education-seo-services/

    ReplyDelete
  10. 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
  11. 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

Related Posts with Thumbnails