Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Deleting views

Hi

We think it is probably a bug where the connection is kept open. Could you write an operation that does what you want instead. In RC9 you can obtain the actual Connection object and use that to modify the table/view.

Jesse

On 20-Feb-07, at 6:14 AM, Sébastien Barboteau wrote:

Guys,

We're using uDig (RC5) within our application to display PostGIS views. We would like to be able to drop one of these views (for instance to recreate it with different criteria). The problem is that if, at any time during the session, a map was opened with a layer pointing to that view, the application will crash whenever we try to delete the view, even if the map was deleted beforehand.

The issue sounds simple enough but we've been unable, probably due to our lack of in-depth knowledge of udig, to pinpoint the object where the appropriate "pointers" are stored and can be manipulated (unlocked... ?)..

Any clues ?

Thanks,

Sebastien Barboteau

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel



Back to the top