Project

General

Profile

Actions

Bug #2577

closed

Data Manager Library: API to enumerate table and field names

Added by Duane Costa about 18 years ago. Updated about 18 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.

Actions #1

Updated by Duane Costa about 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 #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 2577

Actions

Also available in: Atom PDF