Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGL Development Tools » WHY "The type SQLRecord cannot be resolved" ?(WHY "The type SQLRecord cannot be resolved" ?)
icon5.gif  WHY "The type SQLRecord cannot be resolved" ? [message #726756] Mon, 19 September 2011 12:52 Go to next message
eric.tan.6508 is currently offline eric.tan.6508
Messages: 1
Registered: September 2011
Junior Member
Hi,

I tried to compile the EGL file with EGL2IR XML in EDT, but got the error message like this: "The type SQLRecord cannot be resolved".

I think "SQLRecord" should be a pre-defined stereotype, and the compiler should accept it. But it seems I was wrong. What should I do to solve this problem ?

Any reply will be appreciated greatly.


the content of the file is :

Record CustomerRecord type SQLRecord
{ tableNames=[["Customer"]], keyItems=["customerNumber"] }
customerNumber INT {column = "customer_number"};
customerName STRING {column = "customer_name"};
customerBalance DECIMAL(9,2) {column = "customer_balance"};
end

program CustomerTest type BasicProgram

myCustomer CustomerRecord;

function main()
myCustomer.customerNumber = 1001;
get myCustomer;
printCustomer(myCustomer);
end

end
Re: WHY "The type SQLRecord cannot be resolved" ? [message #735321 is a reply to message #726756] Tue, 11 October 2011 14:29 Go to previous message
Matt Heitz is currently offline Matt Heitz
Messages: 36
Registered: July 2009
Member
In case anyone is wondering, this question was asked and answered on the edt-dev mailing list. Here's a link to the last item in that thread http: //dev.eclipse.org/mhonarc/lists/edt-dev/msg00181.html

The answer is "SqlRecord is not in EDT. See the SQL Data Access specification as part of bug 35573 (https: //bugs.eclipse.org/bugs/show_bug.cgi?id=355573)".
Previous Topic:is there an easy way to rebuild the source from EDT model
Next Topic:Unable to compile EGL code
Goto Forum:
  


Current Time: Sat Sep 20 16:09:08 GMT 2014

Powered by FUDForum. Page generated in 0.17767 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software