Hibernate.id.new_generator_mappings ignored by glassfish?

I am using Hibernate 3.6.9final with Glassfish 3.1.1.

When I launch my application, I get the following warning: "Hibernate does not support SequenceGenerator.initialValue(), if only hibernate.id.new_generator_mappings."

According to the docs, I can enable / disable support for the new sequence generator by turning on / off the value hibernate.id.new_generator_mappings. In mine, persistence.xmlI set the following parameter in the properties:

<property name="hibernate.id.new_generator_mappings" value="true"/>

This seems to be completely ignored, and I still get warnings. Is this a parameter that cannot be set in persistence.xml? I do not use AnnotationConfiguration in the application, and I do not have hibernate.cfg.xmleither hbm.xml.

offers?

+5
source share
1 answer

I am running Hibernate 4.3.11 and the property counts. The warning has disappeared.

So thanks for solving my problem :)

0
source

All Articles