Open GoogleCodeExporter opened 9 years ago
What database is this? Similar bugs were fixed in Sqlite, e.g. Issue 134
(fixed in 0.20), though this appears to be in MySQL based on the stack trace.
Alternatively, could this be a case sensitivity issue? See Issue 167 and/or
Issue 200 (which were closed due to lack of response).
Basically, I need an easy way to reproduce this, and no simple reproductions
have been created yet.
Original comment by jonmpr...@gmail.com
on 17 Jul 2010 at 2:12
1)I use MySQL database.
2)I attached a file with a script to reproduce it.
3)When I run DBMetal in debug mode it seems that it cannot build an association
cause the database tables dictionary does not contain any entry for the desired
table name (see screen shots).
4)It’s not a bug cause when I run DBMetal I run it against only one database
so I guess the dictiobary contains only tables in that database.
The fact is that when a foreign key reference a table in another database
DBLink will currently look for this table into the dictionary of the current
database and it won’t find so the KeyNotFoundException is raised.
5)Is it possible to make possible to run DBMetal over more than one databse?
Could you add this functionality in a release of DBLinq?
Original comment by martials...@gmail.com
on 19 Jul 2010 at 11:56
Attachments:
Original issue reported on code.google.com by
martials...@gmail.com
on 17 Jul 2010 at 8:53