Sunday, July 14, 2013

Set the default value sysdate Groovy expression

 بسم الله الرحمن الرحيم
اللهم علمنا ما ينفعنا وانفعنا بما علمتنا يا رب العالمين
---------------
Oracle ADF - Set the default value sysdate Groovy expression

لادخال قيمة التاريخ بشكل افتراضي اوراكل اي دي اف

1- انشاء ابلكيشن
2- اعمل اتصال بـ hr
3- اعمل business components


Thursday, July 4, 2013

Oracle ADF Java Data Types and Groovy Type

 بسم الله الرحمن الرحيم
اللهم علمنا ما ينفعنا وانفعنا بما علمتنا يا رب العالمين
---------------



Thursday, June 27, 2013

How to set default values for Entity object attributes

 بسم الله الرحمن الرحيم
اللهم علمنا ما ينفعنا وانفعنا بما علمتنا يا رب العالمين
---------------
In this demo I am going to set default value of  hire date of  employees to today's date

There are 3 ways to set default values:-
1.) In the overridden create() method of the Entity object  class:-
       Generate EmployeesImpl.java class of  EmployeesEO Entity Object.
       Add the following code to create() immediately after the call to super.create() .
            this.setHireDate((Date)Date.getCurrentDate());

Related Posts Plugin for WordPress, Blogger...