title: Sql developer ORA-29531
body: <p>Trying to make Java function work from member function. I am new to this so i don't know where the mistake might be. Will copy all the relevant code.</p>
  
  <pre><code>create or replace
  type sfera as object(
  radius number(10,2),
  member function tilpums(radius double precision) return double precision);
  
  create or replace and compile JAVA source named "Papild" as 
  public class Papild {
  public static double rek(double radius)
  {
  return 3.14*radius*radius*radius*4/3;
  }   
  }
  
  create or replace
  type body sfera as
  member function tilpums(radius double precision) return double precision as Language java 
  Name 'Papild.rek(double) return double';
  end;
  
  Create table sferas of sfera;
  
  Insert into sferas values(4);
  
  select value(a).tilpums(radius) from sferas a;
  </code></pre>
  
  <p>and from the select i get the following error message:</p>
  
  <pre><code>Error starting at line 1 in command:
  select value(a).tilpums(radius) from sferas a
  Error report:
  SQL Error: ORA-29531: no method rek in class Papild
  29531. 00000 -  "no method %s in class %s"
  *Cause:    An attempt was made to execute a non-existent method in a
             Java class.
  *Action:   Adjust the call or create the specified method.
  </code></pre>
  
  <p>All help will be appreciated.</p>