Search found 2 matches

by mmartin
Fri 30 Jul 2010 06:36
Forum: Entity Framework support
Topic: ORA-01790
Replies: 40
Views: 18476

I passed your request to our R-department, maybe they'll respond...

Our situation looks as follows:

Code: Select all

StringBuilder queryString = new StringBuilder(@"SELECT value x FROM DB.A as A join DB.B as B on (B.A.AID = A.AID) where B.Date = ANYELEMENT((select value max(B1.Date) from DB.B as B1 where B1.A.AId = A.AID)) and B.C.CId = 7");

				ObjectQuery qu = new ObjectQuery(queryString.ToString(), context);

				List result = qu
					.Include("D.E")
					.Include("F")
					.Include("G.H.I")
					.Include("G.H.J")

					.Execute(MergeOption.NoTracking).ToList();

				List result2= null;

				ObjectQuery qu2;
				qu2 = (ObjectQuery)(from code in context.Zs
											 select x1);
				
				reuslt2= qu2
					.Include("Y.W")
					.Include("V")
					.Include("U.T")
					.Execute(MergeOption.NoTracking).ToList();
Without "TypedNulls = true" the second query fails while the first request works fine.

With "TypedNulls = true" the first query fails while the second request works fine.

(I should also remark that the 'A' in the first query is a quite complex object, with a lot of references to other elements)...
by mmartin
Mon 26 Jul 2010 07:01
Forum: Entity Framework support
Topic: ORA-01790
Replies: 40
Views: 18476

Hi,

we did the thing with "OracleEntityProviderServices.TypedNulls = true" and it solved some issues, nevertheless, there are still cases where we receive the ORA-01790 error, if we append more than one 'Include' to the Entity-Query.

Due to our requirements we are not allowed to use .Net 4.0 and have to stick with the 3.5 Version.

Is there anything else we can do to avoid this issue?

Thanks,

M. Martin