-
Notifications
You must be signed in to change notification settings - Fork 12
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
unknown property 'dbName' #17
Comments
Those things have been fixed but not released yet. In the meantime you can use a build from jitpack which has been working fine for me. The below is including my fix for dbname from PR16:
|
The this it the output I get when I run > Task :hbm2java
[ant:hibernatetool] [Task worker for ':'] INFO org.hibernate.cfg.reveng.OverrideRepository - Override file: /home/merve/NetBeansProjects/test/build/generated/src/resources/hibernate.reveng.xml
HHH10001002: Using Hibernate built-in connection pool (not for production use!)
[ant:hibernatetool] [Task worker for ':'] WARN org.hibernate.tool.hbm2x.TemplateHelper - template path/home/merve/NetBeansProjects/test/templates either does not exist or is not a directory |
I get that too, it's just a warning and doesn't fail the build. Try passing |
I think it's worth noting that the hbm2java sources will be generated in /build/generated/src/java, not in /src/main/java. Since /build is on .gitignore by default, these will be hidden from a git status. |
Could we please get a release of the plug-in to fix this issue? |
The plugin does not seem to recognize the
dbName
property. It also asks for username and password, even though I specified it in thedatabase
task.The gradle version I'm using is
4.3.1
.This is my
build.gradle
:The text was updated successfully, but these errors were encountered: