Closed mbjones closed 7 years ago
Original Redmine Comment Author Name: Duane Costa (Duane Costa) Original Date: 2006-12-15T16:53:34Z
This is now supported with the following four methods in the DataManager class:
public static String getDBFieldName(Entity entity, Attribute attribute) public static String[] getDBFieldNames(String packageID, String entityName) public static String getDBTableName(String packageID, String entityName) public static String getDBTableName(Entity entity)
Original Redmine Comment Author Name: Redmine Admin (Redmine Admin) Original Date: 2013-03-27T21:20:38Z
Original Bugzilla ID was 2577
Author Name: Duane Costa (Duane Costa) Original Redmine Issue: 2577, https://projects.ecoinformatics.org/ecoinfo/issues/2577 Original Date: 2006-10-27 Original Assignee: Duane Costa
Some applications may want to do direct queries on the data tables in the database. The application will need to map entity names to table names, and attribute names to field names. Extend the Data Manager Library API to provide a method to enumerate the table and field names for a given entity.