This is a migrated thread and some comments may be shown as answers.

using a duplicate table name exception

1 Answer 126 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
adi
Top achievements
Rank 1
adi asked on 19 Apr 2011, 09:13 AM
Hi,

I've got an exception but can't find the place the message suggested to use to resolve the issue. I don't use the classic ORM.

The exception:

Using a duplicate table name attempted for table 'vw_mydata' of class 'datamodel.MyObject'.
There seems to be table mapping defined in class 'datamodel.Order' using the same name.
You must explicitly specify a different table name for class 'datamodel.MyObject'. Open the 'Forward Mapping' dialog from OpenAccess, select the class 'datamodel.MyObject' and set the table name. This generates the needed db-table-name extension in the config file.

How can I resolve this?

Adi

1 Answer, 1 is accepted

Sort by
0
adi
Top achievements
Rank 1
answered on 19 Apr 2011, 12:51 PM
I've solved this. The model had a quirks structure after updating to the latest version of OpenAccess. I had to remap some columns and to recreate some associations and now it works.
Tags
General Discussions
Asked by
adi
Top achievements
Rank 1
Answers by
adi
Top achievements
Rank 1
Share this question
or