Permalink
Browse files

Merge pull request #117 from jecoute/master

Massive.Oracle.cs
  • Loading branch information...
robconery committed Dec 29, 2011
2 parents 83cb229 + 647a126 commit cf3a3a4a4a16e47c4c0663c5330d08eb52bee0e4
Showing with 1 addition and 1 deletion.
  1. +1 −1 Massive.Oracle.cs
View
@@ -185,7 +185,7 @@ public static DynamicModel Open(string connectionStringName)
public IEnumerable<dynamic> Schema {
get {
if (_schema == null)
- _schema = Query("SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = @0", TableName);
+ _schema = Query("SELECT * FROM USER_TAB_COLUMNS WHERE TABLE_NAME = :0", TableName);
return _schema;
}
}

0 comments on commit cf3a3a4

Please sign in to comment.