title: How can I define a parameterless constructor in an Oracle PL/SQL type?
body: <p>How can I define a parameterless constructor in an Oracle PL/SQL type? I've tried this:
  </p>
  
  <pre><code>create or replace type FooBar as object
  (
      constructor function FooBar() return self as result
  );
  
  ...
  
  foo_bar := FooBar();
  </code></pre>
  
  <p>But the empty parameter list in the type declaration raises PLS-00103.</p>