Giter Site home page Giter Site logo

NullPointerException is thrown when scanning a unidirectional association defined with HBM mappings about hypersistence-optimizer HOT 4 CLOSED

vladmihalcea avatar vladmihalcea commented on August 11, 2024
NullPointerException is thrown when scanning a unidirectional association defined with HBM mappings

from hypersistence-optimizer.

Comments (4)

vladmihalcea avatar vladmihalcea commented on August 11, 2024

Would you mind providing the mapping that is causing the issue? Thanks.

from hypersistence-optimizer.

antonleliuk avatar antonleliuk commented on August 11, 2024
<class name="CLASS_NAME" table="TABLE_NAME_CN" lazy="true">
		<id name="id" column="id" type="long" unsaved-value="-1">
			<generator class="native"/>
		</id>
		<bag name="PROPERTY" table="TABLE_NAME_MANY_TO_MANY">
			<key column="id_class_name" not-null="true"/>
			<many-to-many column="id_class_name_2" class="CLASS_NAME_2"/>
		</bag>
	</class>
<class name="CLASS_NAME_2" table="TABLE_NAME_2" lazy="true">
		<id name="id" column="id" type="long" unsaved-value="-1">
			<generator class="native"/>
		</id>
		<property name="name"/>
	</class>

from hypersistence-optimizer.

vladmihalcea avatar vladmihalcea commented on August 11, 2024

Thanks. I'll add it to the test suite and see if I can replicate it.

from hypersistence-optimizer.

vladmihalcea avatar vladmihalcea commented on August 11, 2024

Fixed.

from hypersistence-optimizer.

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.