Hi Uwe,
> when I try to open a Postgis-table with
> Open...>Writable Data Store
> I get the exception:
> java.lang.Exception: Missing Primary Key Name
>       at
> org.openjump.core.ui.plugin.datastore.AddWritableDataStoreLayerWizard.run(AddWritableDataStoreLayerWizard.java:90)
>       at
> org.openjump.core.ui.plugin.file.OpenWizardPlugIn.run(OpenWizardPlugIn.java:103)
>       at
> com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:152)
>       at java.lang.Thread.run(Unknown Source)
>
>
> It is true. The table has no primary key
> but with OJ 1.6.3 it works.
Writable Data Store was not available in OJ 1.6.3.
You have now
1 - DataStore which should work as in 1.6.3
2 - WritableDataStore which works with a transaction manager
The doc of WritableDataStore is in
https://sourceforge.net/projects/jump-pilot/files/Documentation/OpenJUMP%201.6%20Docs/
 


Probably a bit confusing. Completely replacing DataStore by 
WritableDataStore
could be a long term goal, but it will need more time and tests.
Currently, the former one may be more flexible for read-only datasources.

Michaƫl

>
> Tested with:
>
> OJ Version 20140427 snapshot rev.3954
> JRE 1.7_51
> W7 (64 bit)
>
> Regards
>
> Uwe
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.  Get
> unparalleled scalability from the best Selenium testing platform available.
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to