![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi All, I'm trying to install eclipse on my PC and establish a connection to an Ingres database. I'm trying to create the connection profile and have followed the instructions: Click Window, Open Perspective, Other in the Eclipse SDK. The Open Perspective dialog appears. Select the Database Development perspective and click OK. In the Data Source Explorer, right-click the Database folder and select New from the context menu. The New Connection Profile dialog appears. Select the "Ingres JDBC Connection" wizard and click Next. At which point I get a pop-up with the message: Error loading new wizard in "org.eclipse.datatools.enablement.ingres.profile"! Anyone (this means you Emma!) got any idea what I've done wrong? And why am I trying to do this? Not a day goes by I don't ask myself the same thing! I have a user who downloaded eclipse and now swears to me that they cannot run the following update: update xy_dup_attributes e from xy_dupl_NID_TEL d set nid = 1, nid_tel=1 where d.studyid = e.studyid and d.creation_date=e.creation_date my test steps: put above code in a SQL file in Eclipse; select the code; press alt+X keys; Syntax error. Last symbol read was: 'set'. And the only way they can get that error message is if the eclipse has removed that pesky 'update ... from ...' crap at the start of the statement....which I don't believe for a second. |
#3
| |||
| |||
|
|
Don't know why the installation of eclipse fails on your PC. I did a quick test with "SQuireL" where you also can execute SQL statements via JDBC. The update statement works fine there, but when there is a newline before the set you will get the same error. In fact SQuirelL passes only the part of the statement after the LAST newline, so if there is a newline before the where, you get the syntax error for the where. This is a problem in SQuireL, not in the Ingres JDBC driver, you can see the truncated statements in the jdbc trace. In a standalone java program newlines within a SQL statement doesn't harm, the command is still executed. May be Eclipse has the same problem as SQuireL. |
#4
| |||
| |||
|
|
Don't know why the installation of eclipse fails on your PC. I did a quick test with "SQuireL" where you also can execute SQL statements via JDBC. The update statement works fine there, but when there is a newline before the set you will get the same error. In fact SQuirelL passes only the part of the statement after the LAST newline, so if there is a newline before the where, you get the syntax error for the where. This is a problem in SQuireL, not in the Ingres JDBC driver, you can see the truncated statements in the jdbc trace. In a standalone java program newlines within a SQL statement doesn't harm, the command is still executed. May be Eclipse has the same problem as SQuireL. |
#5
| |||
| |||
|
|
Error loading new wizard in "org.eclipse.datatools.enablement.ingres.profile"! Anyone (this means you Emma!) got any idea what I've done wrong? |
#6
| |||
| |||
|
|
Error loading new wizard in "org.eclipse.datatools.enablement.ingres.profile"! Anyone (this means you Emma!) got any idea what I've done wrong? |
#7
| |||
| |||
|
|
Error loading new wizard in "org.eclipse.datatools.enablement.ingres.profile"! Anyone (this means you Emma!) got any idea what I've done wrong? |
#8
| |||
| |||
|
#9
| |||
| |||
|
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |