Hello everyone
today i will show you some Groovy Examples
Note:- For this post i am using Department and Employees tables of HR Schema (oracle database 11g)
Examples
1- to get current date (adf.currentDate)
2- to get current date and time (adf.currentDateTime)
1- to get current date
to get current date using groovy you need to perform the following steps
i) create a transient attribute with Date datatype in Departments view object.
ii) write the following groovy in Expression (adf.currentDate)
1- to get current date and time
to get current date and time using groovy you need to perform the following steps
i) create a transient attribute with Date datatype in Departments view object.
ii) write the following groovy in Expression (adf.currentDateTime)
today i will show you some Groovy Examples
Note:- For this post i am using Department and Employees tables of HR Schema (oracle database 11g)
Examples
1- to get current date (adf.currentDate)
2- to get current date and time (adf.currentDateTime)
1- to get current date
to get current date using groovy you need to perform the following steps
i) create a transient attribute with Date datatype in Departments view object.
ii) write the following groovy in Expression (adf.currentDate)
1- to get current date and time
to get current date and time using groovy you need to perform the following steps
i) create a transient attribute with Date datatype in Departments view object.
ii) write the following groovy in Expression (adf.currentDateTime)
Please Feel Free To Ask if you Face any Difficulty
Like and share to help others
Thanks
Date 12-01-2019
No comments:
Post a Comment