This question is locked. New answers and comments are not allowed.
I'm getting this error when trying to return a table mapped using reverse mapping. The problem is that i don't have a column named 'voa_version' and can't find it defined anywhere in the rlinq file.
This is the exact exception:
{"Error executing query: Telerik.OpenAccess.RT.sql.SQLException: Invalid column name 'voa_version'.\r\nStatement(s) could not be prepared.\r\n at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.executeQuery()\r\n at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.executeQuery()\r\n at OpenAccessRuntime.Relational.fetch.FetchResultImp.execute()\nSQL:\nSELECT TOP(??T) a.[Pk_ProdusID] AS COL1, a.[Descriere] AS COL2, a.[Logo] AS COL3, a.[Nume] AS COL4, a.[voa_version] AS COL5 FROM [Produse] a WHERE a.[Nume] = ? Telerik.OpenAccess.RT.sql.SQLException: Invalid column name 'voa_version'.\r\nStatement(s) could not be prepared.\r\n at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.executeQuery()\r\n at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.executeQuery()\r\n at OpenAccessRuntime.Relational.fetch.FetchResultImp.execute()"}
Any ideas why OpenAccess thinks that this table has a column named 'voa_version'?
This is the exact exception:
{"Error executing query: Telerik.OpenAccess.RT.sql.SQLException: Invalid column name 'voa_version'.\r\nStatement(s) could not be prepared.\r\n at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.executeQuery()\r\n at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.executeQuery()\r\n at OpenAccessRuntime.Relational.fetch.FetchResultImp.execute()\nSQL:\nSELECT TOP(??T) a.[Pk_ProdusID] AS COL1, a.[Descriere] AS COL2, a.[Logo] AS COL3, a.[Nume] AS COL4, a.[voa_version] AS COL5 FROM [Produse] a WHERE a.[Nume] = ? Telerik.OpenAccess.RT.sql.SQLException: Invalid column name 'voa_version'.\r\nStatement(s) could not be prepared.\r\n at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.executeQuery()\r\n at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.executeQuery()\r\n at OpenAccessRuntime.Relational.fetch.FetchResultImp.execute()"}
Any ideas why OpenAccess thinks that this table has a column named 'voa_version'?