Having an Oracle view containing 'rowid' does not work when using TOracleDataset. The field simply does not appear in the dataset. However using a TOracleQuery, it works fine. Now, I can not just switch over using TOracleQuery.
Is this an error in DOA, or is there some setting somewhere, that I missed?
An example of a view containing this problem:
CREATE VIEW doa_view
(
ID
)
AS
SELECT rowid FROM sometable.....
What we had to do in this topical situation was to implement the following "hack" in the view:
CREATE VIEW doa_view
(
ID
)
AS
SELECT concat('1', rowid) FROM
sometable.....
This forces the dataset component to believe it is a string field. This works in our current situation.
Regards
Torben.
------------------
Torben M. Christensen
Is this an error in DOA, or is there some setting somewhere, that I missed?
An example of a view containing this problem:
CREATE VIEW doa_view
(
ID
)
AS
SELECT rowid FROM sometable.....
What we had to do in this topical situation was to implement the following "hack" in the view:
CREATE VIEW doa_view
(
ID
)
AS
SELECT concat('1', rowid) FROM
sometable.....
This forces the dataset component to believe it is a string field. This works in our current situation.
Regards
Torben.
------------------
Torben M. Christensen