Search found 12 matches

by jlentrichia
Thu 28 Jul 2011 16:58
Forum: dotConnect for Oracle
Topic: ORA-04043: object XXXXXX does not exist
Replies: 3
Views: 1925

I removed all the elements and added only those that were in our staging environment and now it works. It is entirely possible that the original model had pipelined functions.

Curious why you need the metadata during this time instead of at compile time?

-Joe
by jlentrichia
Thu 28 Jul 2011 11:42
Forum: dotConnect for Oracle
Topic: ORA-04043: object XXXXXX does not exist
Replies: 3
Views: 1925

ORA-04043: object XXXXXX does not exist

Does the Context object query Oracle when instantiated?

And if so, what is it querying for?

I'm getting this error when we are moving to staging environment but I can't pinpoint why/what it's asking oracle for, some kind of meta-data or something?

-Joe
by jlentrichia
Fri 24 Jun 2011 13:41
Forum: LinqConnect (LINQ to SQL support)
Topic: System.InvalidCastException: Object must implement IConverti
Replies: 3
Views: 1428

i will email you the schema. it's not many tables but the tables have many columns. no complex types. at least none that i created, i'm assuming these aren't derived from the DB.
by jlentrichia
Thu 23 Jun 2011 12:24
Forum: LinqConnect (LINQ to SQL support)
Topic: System.InvalidCastException: Object must implement IConverti
Replies: 3
Views: 1428

System.InvalidCastException: Object must implement IConverti

System.InvalidCastException: Object must implement IConvertible

I have a table with a VersionNumber column, not sure if this is related. But there are about 50 columns in this table, not sure which is throwing the error. I removed the VersionNumber column, but for some reason the generated SQL is still pulling this from the database. Any idea what's going on?

-Joe

SQL log here:


SELECT VersionNumber FROM dbo.ContactBase WHERE ContactId = @key1
-- key1: Input UniqueIdentifier (Size = 0; DbType = Guid) [71618408-7613-de11-bc5e-005056a0787b]
-- Context: Devart.Data.SqlServer.Linq.Provider.SqlDataProvider Model: ap Build: 2.50.24.0
by jlentrichia
Wed 15 Jun 2011 17:29
Forum: LinqConnect (LINQ to SQL support)
Topic: How to debug or get SQL statement?
Replies: 8
Views: 1792

No

The error is definitely being thrown from Oracle.
by jlentrichia
Tue 14 Jun 2011 17:57
Forum: LinqConnect (LINQ to SQL support)
Topic: How to debug or get SQL statement?
Replies: 8
Views: 1792

debugging

Also - I must be missing something because I did the above and I don't see anything being written to the console outside of exceptions.

-Joe
by jlentrichia
Tue 14 Jun 2011 16:14
Forum: LinqConnect (LINQ to SQL support)
Topic: How to debug or get SQL statement?
Replies: 8
Views: 1792

single character bug

It appears I found the problem. When a default value for a single character column (char(1)) in oracle the default value in the generated code is producing something like:

_XyzFlag = @"'N'";

This seems to be trying to insert the value as it is, with the tic marks. That would cause the error since you are trying to insert 3 characters into a 1 character length field. This might be a wide-spread default value bug.

In order to get the row inserted I am over-riding the default value in the object to be just "N".

-Joe
by jlentrichia
Mon 13 Jun 2011 14:23
Forum: LinqConnect (LINQ to SQL support)
Topic: How to debug or get SQL statement?
Replies: 8
Views: 1792

How to debug or get SQL statement?

I'm doing what should be inserts but I'm getting a 'data too large for column' error. I can't figure out which column it's referring to so I'd like to see the generated SQL statement. Is it possible?

I'm using LinqConnect for Oracle.
by jlentrichia
Sun 22 May 2011 15:53
Forum: LinqConnect (LINQ to SQL support)
Topic: Model not loading Sequences
Replies: 2
Views: 1408

Model not loading Sequences

The model isn't loading the sequences back into the diagram when I re-open the designer after adding sequences, saving, and closing it.

This is rather irritating as I've gone through several times adding all my sequences, only to open and have it over-write the file again removing them.

-Joe
by jlentrichia
Fri 20 May 2011 22:31
Forum: dotConnect for Oracle
Topic: Cross Schema Relationship
Replies: 4
Views: 1002

I'm using the wizard from LinqConnect inside VS 2010.
by jlentrichia
Fri 20 May 2011 22:30
Forum: dotConnect for Oracle
Topic: How to get value of auto generated primary key after insert
Replies: 4
Views: 2533

Not Loading Sequences from XML

Set IdGenerator to Sequence and specify a sequence name.

Save the document.

Close.

Open.

Sequence is no longer set.
by jlentrichia
Wed 11 May 2011 15:15
Forum: dotConnect for Oracle
Topic: Cross Schema Relationship
Replies: 4
Views: 1002

Cross Schema Relationship

Hi,

I noticed the tool does not identify relationships across schemas. Is there something I'm missing or is that a known issue?