Git Product home page Git Product logo

Comments (7)

riba2101 avatar riba2101 commented on May 22, 2024 1

Sure,

it will just take some time

from infobip-spring-data-querydsl.

lpandzic avatar lpandzic commented on May 22, 2024

Are you using jdbc module? What does the implementation entity look like?

from infobip-spring-data-querydsl.

riba2101 avatar riba2101 commented on May 22, 2024

yes, the spring-data-jdbc is loaded.
this fails even before coming to the impl entity ( this is in the source, the impl entity is in tests)

from infobip-spring-data-querydsl.

lpandzic avatar lpandzic commented on May 22, 2024

Ok, but what do you mean by missing constructors? What is the exception?

from infobip-spring-data-querydsl.

riba2101 avatar riba2101 commented on May 22, 2024
[ERROR] /Users/de164039/work/laganini/laganini-cloud-storage-parent/laganini-cloud-storage-service-r2dbc/target/generated-sources/annotations/org/laganini/cloud/storage/r2dbc/entity/QAbstractIdEntity.java:[37,9] no suitable constructor found for RelationalPathBase(java.lang.Class<org.laganini.cloud.storage.r2dbc.entity.AbstractIdEntity>,com.querydsl.core.types.PathMetadata,java.lang.String,java.lang.String)
[ERROR]     constructor com.querydsl.sql.RelationalPathBase.RelationalPathBase(java.lang.Class<? extends org.laganini.cloud.storage.r2dbc.entity.AbstractIdEntity<?>>,java.lang.String,java.lang.String,java.lang.String) is not applicable
[ERROR]       (argument mismatch; java.lang.Class<org.laganini.cloud.storage.r2dbc.entity.AbstractIdEntity> cannot be converted to java.lang.Class<? extends org.laganini.cloud.storage.r2dbc.entity.AbstractIdEntity<?>>)
[ERROR]     constructor com.querydsl.sql.RelationalPathBase.RelationalPathBase(java.lang.Class<? extends org.laganini.cloud.storage.r2dbc.entity.AbstractIdEntity<?>>,com.querydsl.core.types.PathMetadata,java.lang.String,java.lang.String) is not applicable
[ERROR]       (argument mismatch; java.lang.Class<org.laganini.cloud.storage.r2dbc.entity.AbstractIdEntity> cannot be converted to java.lang.Class<? extends org.laganini.cloud.storage.r2dbc.entity.AbstractIdEntity<?>>)
[ERROR] /Users/de164039/work/laganini/laganini-cloud-storage-parent/laganini-cloud-storage-service-r2dbc/target/generated-sources/annotations/org/laganini/cloud/storage/r2dbc/entity/QAbstractIdEntity.java:[42,9] no suitable constructor found for RelationalPathBase(java.lang.Class<org.laganini.cloud.storage.r2dbc.entity.AbstractIdEntity>,com.querydsl.core.types.PathMetadata,java.lang.String,java.lang.String)
[ERROR]     constructor com.querydsl.sql.RelationalPathBase.RelationalPathBase(java.lang.Class<? extends org.laganini.cloud.storage.r2dbc.entity.AbstractIdEntity<?>>,java.lang.String,java.lang.String,java.lang.String) is not applicable
[ERROR]       (argument mismatch; java.lang.Class<org.laganini.cloud.storage.r2dbc.entity.AbstractIdEntity> cannot be converted to java.lang.Class<? extends org.laganini.cloud.storage.r2dbc.entity.AbstractIdEntity<?>>)
[ERROR]     constructor com.querydsl.sql.RelationalPathBase.RelationalPathBase(java.lang.Class<? extends org.laganini.cloud.storage.r2dbc.entity.AbstractIdEntity<?>>,com.querydsl.core.types.PathMetadata,java.lang.String,java.lang.String) is not applicable
[ERROR]       (argument mismatch; java.lang.Class<org.laganini.cloud.storage.r2dbc.entity.AbstractIdEntity> cannot be converted to java.lang.Class<? extends org.laganini.cloud.storage.r2dbc.entity.AbstractIdEntity<?>>)
[ERROR] /Users/de164039/work/laganini/laganini-cloud-storage-parent/laganini-cloud-storage-service-r2dbc/target/generated-sources/annotations/org/laganini/cloud/storage/r2dbc/entity/QAbstractCompositeIdEntity.java:[37,9] no suitable constructor found for RelationalPathBase(java.lang.Class<org.laganini.cloud.storage.r2dbc.entity.AbstractCompositeIdEntity>,com.querydsl.core.types.PathMetadata,java.lang.String,java.lang.String)
[ERROR]     constructor com.querydsl.sql.RelationalPathBase.RelationalPathBase(java.lang.Class<? extends org.laganini.cloud.storage.r2dbc.entity.AbstractCompositeIdEntity<?>>,java.lang.String,java.lang.String,java.lang.String) is not applicable
[ERROR]       (argument mismatch; java.lang.Class<org.laganini.cloud.storage.r2dbc.entity.AbstractCompositeIdEntity> cannot be converted to java.lang.Class<? extends org.laganini.cloud.storage.r2dbc.entity.AbstractCompositeIdEntity<?>>)
[ERROR]     constructor com.querydsl.sql.RelationalPathBase.RelationalPathBase(java.lang.Class<? extends org.laganini.cloud.storage.r2dbc.entity.AbstractCompositeIdEntity<?>>,com.querydsl.core.types.PathMetadata,java.lang.String,java.lang.String) is not applicable
[ERROR]       (argument mismatch; java.lang.Class<org.laganini.cloud.storage.r2dbc.entity.AbstractCompositeIdEntity> cannot be converted to java.lang.Class<? extends org.laganini.cloud.storage.r2dbc.entity.AbstractCompositeIdEntity<?>>)
[ERROR] /Users/de164039/work/laganini/laganini-cloud-storage-parent/laganini-cloud-storage-service-r2dbc/target/generated-sources/annotations/org/laganini/cloud/storage/r2dbc/entity/QAbstractCompositeIdEntity.java:[42,9] no suitable constructor found for RelationalPathBase(java.lang.Class<org.laganini.cloud.storage.r2dbc.entity.AbstractCompositeIdEntity>,com.querydsl.core.types.PathMetadata,java.lang.String,java.lang.String)
[ERROR]     constructor com.querydsl.sql.RelationalPathBase.RelationalPathBase(java.lang.Class<? extends org.laganini.cloud.storage.r2dbc.entity.AbstractCompositeIdEntity<?>>,java.lang.String,java.lang.String,java.lang.String) is not applicable
[ERROR]       (argument mismatch; java.lang.Class<org.laganini.cloud.storage.r2dbc.entity.AbstractCompositeIdEntity> cannot be converted to java.lang.Class<? extends org.laganini.cloud.storage.r2dbc.entity.AbstractCompositeIdEntity<?>>)
[ERROR]     constructor com.querydsl.sql.RelationalPathBase.RelationalPathBase(java.lang.Class<? extends org.laganini.cloud.storage.r2dbc.entity.AbstractCompositeIdEntity<?>>,com.querydsl.core.types.PathMetadata,java.lang.String,java.lang.String) is not applicable
[ERROR]       (argument mismatch; java.lang.Class<org.laganini.cloud.storage.r2dbc.entity.AbstractCompositeIdEntity> cannot be converted to java.lang.Class<? extends org.laganini.cloud.storage.r2dbc.entity.AbstractCompositeIdEntity<?>>)

As said the generator does not add (Class) cast to the constructors

from infobip-spring-data-querydsl.

lpandzic avatar lpandzic commented on May 22, 2024

Can you please provide a project that reproduces the issue?

from infobip-spring-data-querydsl.

lpandzic avatar lpandzic commented on May 22, 2024

I'm closing this down as stale. Feel free to reopen if you can provide more info or a reproduction.

from infobip-spring-data-querydsl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.