Welcome to the Toad Data Modeling Community
Advanced Search - Help - Search Toad World
Welcome, Guest
Login Login / Register
Help
NEW? Get Plugged In

Forums » Join Discussions About... » Toad Data Modeler

Thread: Error RE package from DDL script

This question is not answered. Helpful answers available: 2. Answered answers available: 1.


Permlink Replies: 3 - Pages: 1 - Last Post: Oct 29, 2009 5:39 AM by: modelingadmin
moakes

Posts: 254
Registered: 11/29/07
Error RE package from DDL script
Posted: Oct 27, 2009 4:26 AM
 
  Click to reply to this thread Reply

Hi,

I get a JScript runtime error in REDataMigtratorDDLOR, LoadPackage() at line 4262
[start = parseInt(dataNode.getAttribute("offset*))].

This occurs in a package that declares a number of variables in the Spec and has no Body content.

Maybe you could add some protection for this case.

Regards
Malcolm



modelingadmin

Posts: 101
Registered: 2/14/07
Re: Error RE package from DDL script
Posted: Oct 29, 2009 4:51 AM   in response to: moakes
 
  Click to reply to this thread Reply

Hi Malcolm,

can you send us sample SQL for the package, plese? Thank you in advance.

Regards,

Vaclav


moakes

Posts: 254
Registered: 11/29/07
Re: Error RE package from DDL script
Posted: Oct 29, 2009 5:10 AM   in response to: modelingadmin
 
  Click to reply to this thread Reply

Hi Vaclav,

Here is the code that gives rise to the error.

Regards
Malcolm

CREATE OR REPLACE PACKAGE XYZ
IS

NOTE_ID INTEGER;
SYMBOL_ID INTEGER;
END XYZ;
/
CREATE OR REPLACE PACKAGE BODY XYZ
IS
END XYZ;
/




modelingadmin

Posts: 101
Registered: 2/14/07
Re: Error RE package from DDL script
Posted: Oct 29, 2009 5:39 AM   in response to: moakes
 
  Click to reply to this thread Reply

Hi Malcolm,

thank you. Good news. The problem is fixed. Next version will work better :)

Regards,

Vaclav


Legend
Guru: 2001 + pts
Expert: 751 - 2000 pts
Enthusiast: 31 - 750 pts
Novice: 0 - 30 pts
Moderators
Helpful answer (5 pts)
Answered (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums