org.hibernate.AssertionFailure: Unknown type Java type: int[]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Hibernate JIRA by Stephen Friedrich, 1 year ago
Unknown type Java type: int[]
via Hibernate JIRA by Stephen Friedrich, 1 year ago
Unknown type Java type: int[]
via Hibernate JIRA by Tim McCune, 1 year ago
Unable to extract type of property writableVersion: VersionType
via Hibernate JIRA by Tim McCune, 1 year ago
Unable to extract type of property writableVersion: VersionType
org.hibernate.AssertionFailure: Unknown type Java type: int[]
at org.hibernate.cfg.PropertyInferredData.extractType(PropertyInferredData.java:233)
at org.hibernate.cfg.PropertyInferredData.execute(PropertyInferredData.java:124)
at org.hibernate.cfg.PropertyInferredData.skip(PropertyInferredData.java:60)
at org.hibernate.cfg.AnnotationBinder.addAnnotatedElement(AnnotationBinder.java:900)
at org.hibernate.cfg.AnnotationBinder.addElementsOfAClass(AnnotationBinder.java:868)
at org.hibernate.cfg.AnnotationBinder.getElementsToProcess(AnnotationBinder.java:717)
at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:547)
at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:276)
at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:210)
at org.hibernate.cfg.Configuration.generateDropSchemaScript(Configuration.java:647)
at org.hibernate.tool.hbm2ddl.SchemaExport.(SchemaExport.java:96)
at com.fortis.texas.server.tools.GenerateDbSchema.main(GenerateDbSchema.java:27)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.