Currently, a straightforward application of custom data types as described in the Developer's Guide will have a problem when implemented in Java. Specifically, saving an Enterprise Object with a custom data type attribute to the database will result in a java,lang,CloneNotSupportedException. The solution is to implement your own clone() method in the custom data type's class. As with the java.lang.Object.clone() your method must return a new instance of the class. Any manipulation or selection of the custom data object can also be accomplished in the clone() method.