Giter Site home page Giter Site logo

Comments (12)

otaviojava avatar otaviojava commented on June 23, 2024 3

@dearrudam it is already as 1.0.1-SNAPSHOT!

from jnosql.

otaviojava avatar otaviojava commented on June 23, 2024 1

@dearrudam, it works on CDI Weld by Red Hat.

from jnosql.

otaviojava avatar otaviojava commented on June 23, 2024 1

@dearrudam, we need to check any inject bean that does not provide a no-arg constructor and return it to the original.

from jnosql.

otaviojava avatar otaviojava commented on June 23, 2024 1

@dearrudam @tlappe
I've updated the sample project with the newest version of both TomEE and Eclipsel JNoSQL:

https://github.com/otaviojava/tomee-jnosql-sample/

Please, let me know what you think.

Ps:: Max, what do you think about moving this sample to the demo-ee one?

from jnosql.

otaviojava avatar otaviojava commented on June 23, 2024

@tlappe did you try adding the "openejb.additional.include"

https://github.com/otaviojava/tomee-jnosql-sample/blob/main/pom.xml#L44L46

from jnosql.

otaviojava avatar otaviojava commented on June 23, 2024

I've updated this repository, and I got this exception:

org.eclipse.jnosql.mapping.document.DefaultDocumentTemplate has no explicit no-arg constructor! A public or protected constructor without args is required!

So, we need to return all beans to have a no-arg constructor.

from jnosql.

dearrudam avatar dearrudam commented on June 23, 2024

@otaviojava, I'm just curious... is this requirement a default one of the CDI? I'm asking about it because we didn't face this problem when we worked on the sample codes https://github.com/JNOSQL/demos-se/tree/main/mongodb and https://github.com/JNOSQL/demo-ee/tree/main/liberty-mongodb...

I've just figured out that another DocumentTemplate implementation (e.g: https://github.com/eclipse/jnosql-databases/blob/42881b7d97b6e3be73c4d53ebf788af102c259e2/jnosql-couchbase/src/main/java/org/eclipse/jnosql/databases/couchbase/mapping/DefaultCouchbaseTemplate.java#L70C1-L71C6) has a no-arg constructor... then we should add to all CDI beans a no-arg constructor in order to avoid this issue...

from jnosql.

dearrudam avatar dearrudam commented on June 23, 2024

@otaviojava, I'm gonna work on it!

from jnosql.

otaviojava avatar otaviojava commented on June 23, 2024

@dearrudam I took this one here: eclipse/jnosql-databases#231

from jnosql.

dearrudam avatar dearrudam commented on June 23, 2024

@otaviojava I liked this idea! I've used this project to test locally the changes of the PR #402... I'll move it to there at demo-ee samples!!

from jnosql.

otaviojava avatar otaviojava commented on June 23, 2024

@tlappe, thank you, it is fixed, and we will release version 1.0.1 ASAP.
It will probably be at the end of the month.

from jnosql.

dearrudam avatar dearrudam commented on June 23, 2024

@otaviojava will you release a SNAPSHOT version?

from jnosql.

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.