Skip to main content



      Home
Home » Archived » 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 08:52 Go to next message
Eclipse UserFriend
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 10:29 Go to previous message
Eclipse UserFriend
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: Thu Jul 10 09:59:10 EDT 2025

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

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

Back to the top