Skip to content

version property injected and considered a persistentProperty regardless of version mapping #14562

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
4 tasks done
zyro23 opened this issue Jun 28, 2018 · 1 comment
Open
4 tasks done

Comments

@zyro23
Copy link
Contributor

zyro23 commented Jun 28, 2018

  • Steps to reproduce provided
  • Stacktrace (if present) provided
  • Example that reproduces the problem uploaded to Github
  • Full description of the issue provided (see below)

Steps to Reproduce

  1. define a domain class Dummy with
static mapping = {
    version false
}
  1. try to access new Dummy().version or check the entities' persistentProperties

Expected Behaviour

no version property is injected because of version false

Actual Behaviour

Environment Information

  • Operating System: win x64
  • GORM Version: 6.1.10
  • Grails Version (if using Grails): 3.3.6
  • JDK Version: oracle 8u151

Example Application

sample app will be referenced asap

zyro23 referenced this issue in zyro23/grails-data-mapping-1120 Jun 28, 2018
@graemerocher
Copy link
Contributor

We are aware of this issue, unfortunately due to how the transform works it is not easy to fix

@jdaugherty jdaugherty transferred this issue from apache/grails-data-mapping Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants