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)
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)
No comments:
Post a Comment