Hi Emiliano, You need to run the DataNucleus enhancer. See the doc [1] and also the third screencast on [2]
Cheers Dan [1] http://isis.apache.org/components/objectstores/jdo/maven-and-eclipse.html [2] http://isis.apache.org/getting-started/screencasts.html On 26 February 2013 16:27, Emiliano Pereyra <[email protected]>wrote: > Hi all! > I have a problem when i try to start-up a webserver from eclipse > (using quickstart_wicket_restful_jdo-viewer-webapp.launch). > > I got the following error when the process try to alter a table: > > 1. ALTER TABLE TODO_DEPENDENCIES ADD CONSTRAINT TODO_DEPENDENCIES_FK2 > FOREIGN KEY (DEPENDENT_TODO_ID) > REFERENCES TODOITEM (TODOITEM_ID) > 12:41:25,186 [audit main ERROR] 1. > Statement.execute(ALTER TABLE TODO_DEPENDENCIES ADD CONSTRAINT > TODO_DEPENDENCIES_FK2 FOREIGN KEY (DEPENDENT_TODO_ID) REFERENCES TODOITEM > (TODOITEM_ID) ) ALTER TABLE TODO_DEPENDENCIES ADD CONSTRAINT > TODO_DEPENDENCIES_FK2 FOREIGN KEY (DEPENDENT_TODO_ID) REFERENCES TODOITEM > (TODOITEM_ID) > > java.sql.SQLSyntaxErrorException: la columna de tipo LOB o ARRAY no se > puede usar en esta operación > > In the other hand, when i run webapp using maven goals (antrun:run or > jetty:run) this problem not happen. > > My dev environment is: > - Fedora Linux 16 (3.6.10-2) > - Java version "1.6.0_30" > - Maven 3.0.4 (r1232337; 2012-01-17 05:44:56-0300) > - Eclipse Juno Service Release 1 Build id: 20120920-0800 + Maven plugin > 1.2.0-20120903 > > Steps I follow to reproduce: > 1. Create a demo app (myapp) with isis archetype > 2. Import into eclipse > 3. Run mvn clean install > 4. Run quickstart_wicket_restful_jdo-viewer-webapp.launch > > > Someone had a similar error running > quickstart_wicket_restful_jdo-viewer-webapp.launch? Is a dev environment > issue (eg, libs conflict)? > > Thanks in advance. > > -- > Emiliano Pereyra >
