List of usage examples for org.hibernate.mapping KeyValue isIdentityColumn
public boolean isIdentityColumn(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect);
From source file:org.web4thejob.orm.MetaUtil.java
License:Open Source License
public static boolean isIdentityKey(KeyValue key) { return key.isIdentityColumn( ContextUtil.getBean(HibernateConfiguration.class).getConfiguration() .getIdentifierGeneratorFactory(), ContextUtil.getBean(SessionFactoryImplementor.class).getDialect()); }