use of com.querydsl.codegen.Property in project querydsl by querydsl.
the class DefaultNamingStrategyTest method getPropertyNameForPrimaryKey_clash.
@Test
public void getPropertyNameForPrimaryKey_clash() {
entityModel.addProperty(new Property(entityModel, "id", Types.STRING));
assertEquals("idPk", namingStrategy.getPropertyNameForPrimaryKey("id", entityModel));
}
Aggregations