Lae's Blog

CODE LIFE --像蚂蚁一样工作,像蝴蝶一样生活

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

  使用SubSonic生成的controller类提供的FetchByID()方法根据主键字段获取对象集合时,在Oracle数据库中出现"ORA-00904"错误。

  提请大家修改源代码OracleDataProvider.cs文件808行

“query = select + columns + " FROM " + table.Name + where + order;”-》“query = select + columns + " FROM " + table.ToString() + where + order;”

问题解决。

 

--subsonic 2.1

posted on 2008-10-23 14:27  lae  阅读(814)  评论(1编辑  收藏  举报