@Test public void testGetDefaultColumnName() throws Exception { Facet facet = getFacet(PojoType.class, "fieldName"); assertEquals("field_name", strategy.getColumnName(facet)); }
@Override public String getColumnName(Facet facet) { Column column = facet.getAnnotation(Column.class); return column == null ? underscoreSeparated(facet.getName()) : column.value(); }
DefaultNamingStrategy implements NamingStrategy { @Override public String getColumnName(Facet facet) { Column column = facet.getAnnotation(Column.class); return column == null ? underscoreSeparated(facet.getName()) : column.value(); } }
DefaultNamingStrategy implements NamingStrategy { @Override public String getColumnName(Facet facet) { Column column = facet.getAnnotation(Column.class); return column == null ? underscoreSeparated(facet.getName()) : column.value(); }  }
DefaultNamingStrategy implements NamingStrategy { @Override public String getColumnName(Facet facet) { Column column = facet.getAnnotation(Column.class); return column == null ? underscoreSeparated(facet.getName()) : column.value(); }  static String underscoreSeparated(String camelCaseName); @Override String getColumnName(Facet facet); String getReferenceTableName(Facet facet); @Override String getTableName(Class<?> pojoClass); }
DefaultNamingStrategy implements NamingStrategy { @Override public String getColumnName(Facet facet) { Column column = facet.getAnnotation(Column.class); return column == null ? underscoreSeparated(facet.getName()) : column.value(); }  static String underscoreSeparated(String camelCaseName); @Override String getColumnName(Facet facet); String getReferenceTableName(Facet facet); @Override String getTableName(Class<?> pojoClass);  }