Hei Nils, I don't have really an idea since I have never worked with PostGIS, but what if you test first in pgAdmin and look for errors (see the OGRS tutorial[1], and Ravi Kumars tutorial on mineral prog[2] for using pgadmin).
Not sure but maybe the new book on PostGIS ("PostGIS in Action") could help, see: http://www.bostongis.com/?content_name=postgis_tut01 Btw. wouldn't you get some error messages in Eclipse? stefan [1] http://sourceforge.net/projects/jump-pilot/files/Documentation/OpenJUMP%201.3%20Docs%20%28English%29/ogrs2009_tutorial.pdf/download [2] http://sourceforge.net/projects/jump-pilot/files/Documentation/OpenJUMP%201.3%20Docs%20%28English%29/mockex_mineral_targeting_v2.zip/download Nils Kuhn wrote: > Hi, > I get an org.postgresql.util.PSQLException (syntax error at or near ")") > if I try to load empty postgis-tables or -views. I am using the function > File>>Open>>DataStoreLayer in oj 1.3. I am changing the data source of > some layers programmatically and can't prevent that the view I "link" to > the layer is just empty in some cases. > My workaround is to use the postgis-plugin by uwe dalluege which can > actually load empty tables, but unfortunately some of the standard > oj-functions doesn't work together with these layers (like "refresh > layer" from layer-context-menu or save dataset as shape-file). > Can anybody help me? > Can I get the stacktrace of the Exceptions that occur while oj is running? > Nils > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel