"java.lang.IllegalStateException: Found no mapping for -102" exception #806

Closed
abdelrahmansamir opened this Issue Jun 15, 2014 · 7 comments

Comments

Projects
None yet
2 participants
@abdelrahmansamir

When i am trying to export [generate java classes] from OracleXE112_Win64, i got an error
and some generated java classes have "class not found" exception

code trace:-
Exception in thread "main" java.lang.IllegalStateException: Found no mapping for -102 (WWV_FLOW_WORKSHEET_NOTIFY.START_DATE)
at com.mysema.query.sql.codegen.MetaDataExporter.handleColumn(MetaDataExporter.
java:272)
at com.mysema.query.sql.codegen.MetaDataExporter.handleTable(MetaDataExporter.
java:347)
at com.mysema.query.sql.codegen.MetaDataExporter.export(MetaDataExporter.
java:242)

my Querydsl version 3.4.0

there is my code:-

    MetaDataExporter exporter = new MetaDataExporter();
    exporter.setPackageName(packageName);
    exporter.setTargetFolder(new File(generationPath));
    exporter.export(dbConnection.getMetaData());

the exception occurred in the last line of code.

@abdelrahmansamir abdelrahmansamir changed the title from "java.lang.IllegalStateException: Found no mapping for -102" exception to "java.lang.IllegalStateException: Found no mapping for -102" exception #789 Jun 15, 2014

@abdelrahmansamir abdelrahmansamir changed the title from "java.lang.IllegalStateException: Found no mapping for -102" exception #789 to "java.lang.IllegalStateException: Found no mapping for -102" exception #789 Jun 15, 2014

@abdelrahmansamir abdelrahmansamir changed the title from "java.lang.IllegalStateException: Found no mapping for -102" exception #789 to "java.lang.IllegalStateException: Found no mapping for -102" exception Jun 15, 2014

@timowest

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Jun 15, 2014

Member

Thanks for the bug report. Could you also provide a CREATE TABLE clause to reproduce the issue?

Member

timowest commented Jun 15, 2014

Thanks for the bug report. Could you also provide a CREATE TABLE clause to reproduce the issue?

@timowest timowest added the bug label Jun 15, 2014

@abdelrahmansamir

This comment has been minimized.

Show comment
Hide comment
@abdelrahmansamir

abdelrahmansamir Jun 15, 2014

There is no CREATE TABLE clause, only the code above.
Is there something i missed?

thanks for your time

There is no CREATE TABLE clause, only the code above.
Is there something i missed?

thanks for your time

@timowest

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Jun 15, 2014

Member

How does WWV_FLOW_WORKSHEET_NOTIFY look like?

Member

timowest commented Jun 15, 2014

How does WWV_FLOW_WORKSHEET_NOTIFY look like?

@timowest

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Jun 15, 2014

Member

Ok, looks like WWV_FLOW_WORKSHEET_NOTIFY is a table of an Oracle internal schema. I was now able to reproduce the issue.

A workaround is to use the schemaPattern when exporting the tables.

Member

timowest commented Jun 15, 2014

Ok, looks like WWV_FLOW_WORKSHEET_NOTIFY is a table of an Oracle internal schema. I was now able to reproduce the issue.

A workaround is to use the schemaPattern when exporting the tables.

@timowest timowest referenced this issue Jun 15, 2014

Merged

Add jdbc types #809

@timowest timowest added this to the 3.4.1 milestone Jun 15, 2014

@timowest timowest added the fixed label Jun 15, 2014

@abdelrahmansamir

This comment has been minimized.

Show comment
Hide comment
@abdelrahmansamir

abdelrahmansamir Jun 18, 2014

thanks, it is working.

thanks, it is working.

@timowest timowest modified the milestone: 3.4.1 Jun 25, 2014

@timowest

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Jun 29, 2014

Member

Released in 3.4.1

Member

timowest commented Jun 29, 2014

Released in 3.4.1

@timowest timowest closed this Jun 29, 2014

@abdelrahmansamir

This comment has been minimized.

Show comment
Hide comment
@abdelrahmansamir

abdelrahmansamir Jun 30, 2014

thank you very much.

2014-06-29 13:08 GMT+02:00 Timo Westkämper notifications@github.com:

Released in 3.4.1

Reply to this email directly or view it on GitHub
#806 (comment).

,best regards

Abdelrahman

Abdelrahman Samir
Alazhar University
Systems and Computers Engineering
IEEE Egypt Section
Email: abdelrahman.halawa@ieee.org.eg
Cell phone: +2 0111 954 63 75

thank you very much.

2014-06-29 13:08 GMT+02:00 Timo Westkämper notifications@github.com:

Released in 3.4.1

Reply to this email directly or view it on GitHub
#806 (comment).

,best regards

Abdelrahman

Abdelrahman Samir
Alazhar University
Systems and Computers Engineering
IEEE Egypt Section
Email: abdelrahman.halawa@ieee.org.eg
Cell phone: +2 0111 954 63 75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment