Comments (5)
@ivarprudnikov Sorry about too late response, I've heavy work loads...
You need to set databaseProductName
options if did not set hibernate.dialect
on properties
.
README updated.
from jpa-schema-gradle-plugin.
I have exactly the same issue.
My config is:
- vendor = 'hibernate+spring'
- three package to scan
Nothing more.
from jpa-schema-gradle-plugin.
Okay the answer is to specify the following parameter:
databaseProductName = <your database name> (e.g. PostgreSQL)
Should be added to documentation.
By the way the documentation should be updated to reference all the possible options.
from jpa-schema-gradle-plugin.
There are more details when running with --stacktrace
option:
...
Caused by: kotlin.KotlinNullPointerException
at io.github.divinespear.plugin.TaskKt.persistenceProperties(task.kt:238)
at io.github.divinespear.plugin.TaskKt.access$persistenceProperties(task.kt:1)
at io.github.divinespear.plugin.JpaSchemaGenerationTask.doGenerate(task.kt:123)
at io.github.divinespear.plugin.JpaSchemaGenerationTask.doRun(task.kt:84)
at io.github.divinespear.plugin.JpaSchemaGenerationTask.run(task.kt:50)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:103)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:48)
....
from jpa-schema-gradle-plugin.
Did set properties = mapOf("hibernate.dialect" to "org.hibernate.dialect.MySQL5InnoDBDialect")` but still getting a NPE
from jpa-schema-gradle-plugin.
Related Issues (20)
- Support for Hibernate 5.2.10.Final HOT 1
- "Key ... is missing in the map" in version 0.3.0 HOT 2
- skip option is missed. HOT 1
- Spring Boot 2.0.0.RELEASE + Hibernate 5.2.12.Final - NoSuchFieldError: parallelCapableClassLoaderAvailable (0.3.1) HOT 4
- StackOverflow on EclipseLink 2.7 + Kotlin HOT 1
- java.io.NotSerializableException after migration from 0.2.1-1 to 0.3.5.1 HOT 2
- How can I use it in build.gradle.kts HOT 3
- Schema cannot be generated starting from Hibernate 5.4.7.Final HOT 3
- NPE while running generateSchema HOT 3
- Gradle keeps file handles on loaded jars
- kotlin dsl support HOT 1
- eclipselink 2.5 without persistence.xml
- change sql formatter
- migrate 0.3.x to 4.0 with 6.0 source HOT 1
- apply jacoco to functional test
- automate gradle plugin release HOT 2
- Could not find method generateSchema() HOT 7
- Successful generation but getting exception: The application must supply JDBC connections HOT 1
- Support Spring Boot 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jpa-schema-gradle-plugin.