JPA - Oracle Spatial (JGeometry) Support

Java Conceptuel Diagram

Download the toplink-spatial-template.jar (to support Oracle Spatial) Launch the Config Wizard (/common/bin/ (or .cmd).
  • Select Extend an existing WebLogic domain.
  • Browse and select your WebLogic Server domain.
  • Select Extend my domain using an existing extension template.
  • Browse and select the required template JAR (toplink-spatial-template.jar for Oracle Spatial
  • Complete the remaining pages of the wizard and finish
Weblogic Extend Domain Configuration Summary Toplink Spatial Template
Extracting Domain Extension Contents...
Saving the Domain Information...
Updating Domain Information...
String Substituting Domain Files...
Performing OS Specific Tasks...
Performing Post Domain Creation Tasks...
Domain Extension Applied Successfully!

Domain Location: /bishiphome/Middleware/user_projects/domains/bifoundation_domain
Admin Server URL:

  • Restart Weblogic
Annotation Example
@StructConverter(name = "JGeometry", converter = 
public class Hotstar implements Serializable {
	private static final long serialVersionUID = 1L;
	private JGeometry point;
	private JGeometry point90112;

java.lang.NoClassDefFoundError: oracle/spatial/geometry/JGeometry
Exception in thread "main" javax.ejb.EJBException: EJB Exception: ; 
nested exception is: java.lang.NoClassDefFoundError: oracle/spatial/geometry/JGeometry; 
nested exception is: java.rmi.RemoteException: EJB Exception: ; 
nested exception is: java.lang.NoClassDefFoundError: oracle/spatial/geometry/JGeometry

You must complete the configuration of your application server.
Documentation / Reference

Discover More
Card Puncher Data Processing
JPA - Entity (Managed Classes)

xmlparserv2.jar Introduction to EclipseLink JPA (ELUG) for more information on the annotation.

Share this page:
Follow us:
Task Runner