Actions
Bug #2577
closedData Manager Library: API to enumerate table and field names
Status:
Resolved
Priority:
Normal
Assignee:
Category:
datamanager
Target version:
Start date:
10/27/2006
Due date:
% Done:
0%
Estimated time:
Bugzilla-Id:
2577
Description
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.
Updated by Duane Costa almost 18 years ago
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)
Actions