Igor Kromin |   Consultant. Coder. Blogger. Tinkerer. Gamer.

NOTE: This article is 3 years or older so its information may no longer be relevant. Read on at your own discretion! Comments for this article have automatically been locked, refer to the FAQ for more details.
We've updated some of our databases to 12c recently, at the same time I was working on an issue in some of the PL/SQL packages that I've built and running some tests on these. To my surprise when I tried to run my test PL/SQL procedure, SQL Developer was not showing in its run dialog.

I tried to see if the same procedure would execute by writing an anonymous PL/SQL block and it did.

This is what SQL Developer (4.0.2) was showing me...The package clearly defines a procedure, but it is not visible in the run dialog box, instead SQL Developer is reporting an empty package definition (no public members).
sqldev12cplsqlbug3.png


I checked the DB version and the results were 12.1.0.2.0.
sqldev12cplsqlbug2.png


Thinking this is a 12c related problem, I connected to a different database that has not been upgraded, still at 11gR2 level, lo and behold, my procedure was visible in the run dialogue again. Definitely a 12c related issue then.

The DBA suggested that I try SQL Developer 4.1 Early Adopter to see if that helps. It did! Looks like SQL Developer 4.0.x is not fully compatible with 12.1.0.2 version of the database.

The fixed bug list confirms this...
sqldev12cplsqlbug1.png




Looking deeper into the bug it only seems to affect 12.1.0.2.0 database version, if you are on 12.1.0.1.0, this problem does not show up.

So there you go, if you got the latest DB version, the latest SQL Developer fixes this little problem!

-i

Skip down to comments...
Hope you found this post useful...

...so please read on! I love writing articles that provide beneficial information, tips and examples to my readers. All information on my blog is provided free of charge and I encourage you to share it as you wish. There is a small favour I ask in return however - engage in comments below, provide feedback, and if you see mistakes let me know.

If you want to show additional support and help me pay for web hosting and domain name registration, donations, no matter how small, are always welcome!

Use of any information contained in this blog post/article is subject to this disclaimer.
 
comments powered by Disqus
Other posts you may like...