The Java Importer generates one PL/SQL package for each class imported. Within each generated PL/SQL package, the Java Importer generates PL/SQL functions and procedures that correspond to Java public fields, methods, and constructors. Private and protected methods do not generate corresponding PL/SQL.
The PL/SQL Generator uses the reflection mechanism provided by the Java API to look inside a Java class and extract all of the field and method information from the class. The method information includes the name of the method, the return type, the method parameters and their type, and the method modifier. The field information includes the existence and details of any class level variables.
With the information extracted from the Java class, the PL/SQL Generator creates a PL/SQL package specification and package body for every class you specify with the Java Importer.
Understanding Java to PL/SQL Mappings
Understanding the Java Importer Mapping Options
Naming Rules for Generated PL/SQL
Understanding the Persistent Naming Option
Copyright © 1984, 2005, Oracle. All rights reserved.