My Oracle Support Banner

"J2T-130 Error Reflecting Element Type For Collection Type" When Generating Data Access Object Using JPublisher, Collection Types Within Packages Are Not Generating In The Java Code. (Doc ID 2879793.1)

Last updated on AUGUST 01, 2023

Applies to:

JPublisher - Version 12.2.0.0.0 and later
Information in this document applies to any platform.

Symptoms

When Generating data access object using jpublisher, collection types within packages are not generated in the java code.


ERROR
-----------------------
------------Start JPublisher Output------------------
jpub -sql=jpub_sr_test:JPubSRTest -dir=./jpub-output -url='<DB_CONNECT_STRING>' -user=<DB_CREDS> -plsqlpackage=j_jpub_sr_test -plsqlfile=jpub_sr_test_cr.sql,jpub_sr_test_dr.sql -package=oracle.jpub.test -omit_schema_names -generatebean=true -compatible=ORAData -codegen=jdbc -numbertypes=jdbc -builtintypes=jdbc -lobtypes=oracle -usertypes=oracle -compile=false -overwritedbtypes=true -status
0% 0 0 reading database USER_ARGUMENTS
0% 0 0 processing
0% 1 0 processing
OCSMOKE_ASP_OIW.JPUB_SR_TEST
0% 2 0 processing
0% 3 0 processing
OCSMOKE_ASP_OIW."JPUB_SR_TEST.COLUMN_TAB"
Error reflecting element type for collection type COLUMN_TAB
J2T-130, ERROR: Array element type (typecode 0) is not supported
J2T-130, ERROR: Array element type (typecode 0) is not supported
OCSMOKE_ASP_OIW."JPUB_SR_TEST.COLUMN_REC"
0% 3 0 publishing JPUB_SR_TEST
33% 3 1 processing
33% 3 1 publishing JPUBSRTEST_COLUMN_TAB
66% 3 2 processing
66% 3 2 publishing JPUBSRTEST_COLUMN_REC
100% 3 3 processing
J2T-138, NOTE: Wrote PL/SQL package j_jpub_sr_test to file ./jpub-output/jpub_sr_test_cr.sql. Wrote the dropping script to file ./jpub-output/jpub_sr_test_dr.sql
------------End JPublisher Output------------------

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.