When Java is enabled in the database, you can use convert to change datatypes in a number of ways.
Convert Java object types to SQL datatypes.
Convert SQL datatypes to Java types.
Convert any Java-SQL class installed in the SAP ASE server to any other Java-SQL class installed in the SAP ASE server if the compile-time datatype of the expression (the source class) is a subclass or superclass of the target class.