Note |
---|
The original content of this wiki page has been copied |
If you get SQL-exceptions, you might frown upon re-motion and think that it is a bug in re-motion (or re-store, to be more precise). After all, re-store is supposed to hide all those SQL details from you, right? So if there is an SQL-problem, it can't possibly be your problem, right? Almost. The spot where you DO work with SQL is the SortExpression
parameter in a DBBidirectionalRelation attribute. This is an SQL-fragment (for an ORDER BY
clause) and is copied into the schema on an as-is basis. If you misspell a property name, the database will throw an exception at you as soon as it tries to evaluate that expression. So if you get an "RdbmsProviderException was unhandled/Error while executing SQL command", check the spelling of your SortExpression
(the same thing applies to the ContainsKey
parameter, explained in 1:1 bidirectional relationships).DELETE ME