Hello everybody,
am trying to get the the current connexion so as to execute some update
queries.
i tried to use getConnection of the  datasource and then execute the query,
but it doesn't work.
Do i have to get the PostgisDataStoreDriver like this and the get the
connection:

PostgisDataStoreDriver postgisDataStore = (PostgisDataStoreDriver)
context.getWorkbenchContext().getRegistry()
              .getEntries(DataStoreDriver.REGISTRY_CLASSIFICATION).get(0);

thnks in advance.

-- 
*Asma OUQALLI*

Élève ingénieur : 3ème  Sciences d'Information Géographique (SIG).
Chef de commission développement professionnel  - Rotaract EHTP.
Chef de cellule Media - Olympiades EHTP 2012.
  Ecole Hassania des Travaux Publics.
   Mobile : +212 672 48 23 15.
   Email : asma.ouqa...@gmail.com
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to