From: Y. T. G. <yon...@pc...> - 2005-10-28 03:12:04
|
Which version of WDK did you use? I strongly recommend installing stable versions of WDK from download site= =20 (or tagged/branched versions, not trunk, from svn)=20 WDK 1.6 and 1.7 has been tested against postgres (which looks like is what= =20 you are trying to use), with the command you are running executed=20 successfully. The same tests was not repeated in WDK 1.8 but there were no= =20 code changes relevant to postgres. -Thomas On Thu, 27 Oct 2005, [ISO-8859-1] Henrique Juc=E1 wrote: > Hi. > > Thanks for the attention again =3D) > > I got this error while trying to create a toyModel (I guess this is > the last version): > > $ wdkTestDb -model toyModel -create > Loading table usertest.WDKTestEst to database from file > > ERROR: column "row_project_id" is of type numeric but expression is of > type character varying > java.sql.SQLException: ERROR: column "row_project_id" is of type > numeric but expression is of type character varying > at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(Q= ueryExecutorImpl.java:1471) > at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryEx= ecutorImpl.java:1256) > at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorI= mpl.java:175) > at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdb= c2Statement.java:392) > at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(Ab= stractJdbc2Statement.java:330) > at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(Abstr= actJdbc2Statement.java:282) > at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpda= te(DelegatingPreparedStatement.java:233) > at org.gusdb.wdk.model.implementation.SqlUtils.getResultSet(SqlUti= ls.java:51) > at org.gusdb.wdk.model.test.TestDBManager.main(TestDBManager.java:= 117) > > > > > Henrique Cesar Lemos Juc=E1 - http://www.bioinformatica.ufsc.br > > "As soon as you concern yourself with the "good" and "bad" of your fellow= s, > you create an opening in your heart for maliciousness to enter. Testing, > competing with, and criticizing others weaken and defeat you." > > Morihei Ueshiba, O-Sensei (1883-1969) > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today * Register for a JBoss Training Course > Free Certification Exam for All Training Attendees Through End of 2005 > Visit http://www.jboss.com/services/certification for more information > _______________________________________________ > Gusdev-gusdev mailing list > Gus...@li... > https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev > |