Project

General

Profile

Bug #2577

Data Manager Library: API to enumerate table and field names

Added by Duane Costa over 13 years ago. Updated over 13 years ago.

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.

History

#1 Updated by Duane Costa over 13 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)

#2 Updated by Redmine Admin over 7 years ago

Original Bugzilla ID was 2577

Also available in: Atom PDF