Thanks for the feedback. Can you tell me why this use to work with the ancient
version of geotools (2.1) but no longer works with 10.2. I am using the same
ESRI client lib (9.2) with both the old and new versions of geotools and it
works with the old version and not the new.
Dave
From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea
Aime
Sent: Tuesday, January 21, 2014 10:44 AM
To: Miller, David J
Cc: geotools-gt2-users@lists.sourceforge.net
Subject: Re: [Geotools-gt2-users] [EXTERNAL] stripping of primary key column
when DataStore method getSchema is called
On Tue, Jan 21, 2014 at 6:33 PM, Miller, David J
<djmi...@sandia.gov<mailto:djmi...@sandia.gov>> wrote:
I am finding that, when I make a call to the DataStore getSchema
method for a single database table and then examine what is returned,
that the first column (primary key column) is always missing.
I looked at some of the user list archive messages and geotools
source code and it appears that in some of the DataStore
implementations that the primary key will be stripped
unless one makes the call to setExposePrimaryKeyColumns(true).
However, it does not appear that this method is supported in the
ArcSDEDataStore implementation. Does this mean that I can never
get back the primary key in geotools using the ArcSDE interface
or am I missing something. This is a showstopper for upgrading
since our apps need access to the primary key column through geotools.
I'm afraid the only option you have is to patch the code youself, the arcsde
module requires
access to commercial software, only few of the geotools developers have it
handy (maybe
one left, maybe none)
Cheers
Andrea
--
== Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information ==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users