tag:blogger.com,1999:blog-5874979429188093780.post1059620213138707327..comments2024-03-18T06:46:54.352+01:00Comments on Andrej Baranovskij Blog: ADF BC Groovy with Java ImportsAndrej Baranovskijhttp://www.blogger.com/profile/04468230464412457426noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-5874979429188093780.post-19082629966143910262016-03-01T16:43:57.921+01:002016-03-01T16:43:57.921+01:00I am also getting
General error during semantic a...I am also getting <br />General error during semantic analysis: JBO-25152: Calling the constructor for class java.text.SimpleDateFormat is not permitted when using below in the expression in the EO attribute<br /> Date firstDayofMonth = calendar.getTime(); <br /> DateFormat sdf = new SimpleDateFormat("MM/dd/yyyy"); <br /> return sdf.format(firstDayofMonth);<br />I am in Jdev12.2.1<br />Did you get a chance to see if it is a bug?Nehahttps://www.blogger.com/profile/13911301648126943394noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-36738322056257108232015-06-14T11:18:22.414+02:002015-06-14T11:18:22.414+02:00It could be a bug in 12c. I will need to test, on ...It could be a bug in 12c. I will need to test, on my todo list.<br /><br />Regards,<br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-82772793592939181042015-06-13T19:17:47.889+02:002015-06-13T19:17:47.889+02:00Hi Andrejus,
This doesn't work with JDevelope...Hi Andrejus,<br /><br />This doesn't work with JDeveloper 12c (12.1.3.0.0) - you get the following error:<br /><br />Unexpected exception caught: org.codehaus.groovy.control.MultipleCompilationErrorsException, msg=startup failed:<br />General error during semantic analysis: JBO-25152: Calling the constructor for class java.text.SimpleDateFormat is not permitted.Anonymoushttps://www.blogger.com/profile/18371402402050111063noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-37809160161607779322013-02-14T19:51:23.534+01:002013-02-14T19:51:23.534+01:00I think it should work with any version. But I was...I think it should work with any version. But I was testing only with the latest JDev.<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-69433973472001625972013-02-14T19:48:41.255+01:002013-02-14T19:48:41.255+01:00Hi! wonderful post. does this works on any jdev ve...Hi! wonderful post. does this works on any jdev version ? we are not currently working with the last release. we are on 11.1.1.4Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-91810309156484705832013-02-08T08:53:12.070+01:002013-02-08T08:53:12.070+01:00Sounds good Filip ! :)
AndrejusSounds good Filip ! :)<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-10566126552483553382013-02-08T08:49:02.677+01:002013-02-08T08:49:02.677+01:00Great discovery Andrejus, never would have thought...Great discovery Andrejus, never would have thought of that. Can be very helpfull.<br /><br />Thx.<br /><br />Filip HuysmansAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-22068867344035494852013-02-07T20:08:01.228+01:002013-02-07T20:08:01.228+01:00thank you thank you Anonymousnoreply@blogger.com