Skip to content

Instantly share code, notes, and snippets.

@sebersole
Last active April 4, 2018 19:06
Show Gist options
  • Select an option

  • Save sebersole/516143f8fe6a5c454f3f6ee3f7358c3c to your computer and use it in GitHub Desktop.

Select an option

Save sebersole/516143f8fe6a5c454f3f6ee3f7358c3c to your computer and use it in GitHub Desktop.
package org.hibernate.jpa;
public interface AvailableSettings {
...
/**
* @deprecated use {@link #JPA_METAMODEL_POPULATION} instead.
*/
@Deprecated
String JPA_METAMODEL_GENERATION = "hibernate.ejb.metamodel.generation";
/**
* Setting that indicates whether to build the JPA types. Accepts
* 3 values:<ul>
* <li>
* <b>enabled</b> - Do the build
* </li>
* <li>
* <b>disabled</b> - Do not so the build
* </li>
* <li>
* <b>ignoreUnsupported</b> - Do the build, but ignore any non-JPA features that would otherwise
* result in a failure.
* </li>
* </ul>
*
*
*/
@Deprecated
String JPA_METAMODEL_POPULATION = "hibernate.ejb.metamodel.population";
/**
* Setting that controls whether we seek out JPA "static metamodel" classes and populate them. Accepts
* 3 values:<ul>
* <li>
* <b>enabled</b> -Do the population
* </li>
* <li>
* <b>disabled</b> - Do not do the population
* </li>
* <li>
* <b>skipUnsupported</b> - Do the population, but ignore any non-JPA features that would otherwise
* result in the population failing.
* </li>
* </ul>
*/
String STATIC_METAMODEL_POPULATION = "hibernate.jpa.static_metamodel.population";
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment