Life With Java, Part 2

In Part 1, I was struggling with Oracle over whether I did or did not have a method in the class. In the end, the problem was pretty basic, and specific to Oracle’s implementation of Java within the database: all methods must be declared both public and static. As soon as I’d done that, it worked (Dave, I did use your simplified code). So, I’m on to bigger and better things withing Javadom.

This entry was posted in Geek Stuff. Bookmark the permalink.

2 Responses to Life With Java, Part 2

  1. Dave says:

    Static? So in other words, “classes” in Oracle Java are really only namespaces and/or structs, rather that full-fledged classes. Weird.

  2. Harry says:

    I should clarify – this applies only when you’ve created a Java stored procedure. It may be that, since it’s an object within the database, there are inherent restrictions.

Comments are closed.