I might have found the point I was not sure on in my last email:
"3. UUID as primary key "
Would I be right in the primary key is sought by this below call:
org.geotools.jdbc.HeuristicPrimaryKeyFinder createPrimaryKey
And the lack of UUID support in this class is why the warming:
WARNING: No class for sql type 1111
I will look into this as part of this change,
John
From: John Hudson [mailto:[email protected]]
Sent: Wednesday, 16 November 2011 1:38 PM
To: [email protected]
Subject: [Geotools-devel] UUID Support
Hello,
I have been working on getting a datastore with a primary key as a UUID and
found this:
http://jira.codehaus.org/browse/GEOT-3016
I have applied it to the current trunk and have done some tests which show its
working.
I noted the TODO's on the JIRA:
1. Implement the UUID support into PostGisPsDialect
2. UUID insert/update
3. UUID as primary key
>From my testing:
1. PostGisPsDialect seems to be a pass-through to the PostGISDialect.java so
should be left as is?
2. insert and update seem to be working
3. my lack of knowledge in this area means I'm not sure what this one really
means
Is there a chance this patch can be reviewed and applied to the trunk ?
If more needs doing I'm happy to more this forward.
*a note about the patch - its double archived, to get to the actual patch you
must unzip the file in the .gz file. - which is a actually a .patch extension.
My lack of understanding might have pointed me in the entirely wrong direction
here, any pointers a definitely welcome.
Thanks for your time,
John Hudson
________________________________
The contents of this email are confidential and may be subject to legal or
professional privilege and copyright. No representation is made that this email
is free of viruses or other defects. If you have received this communication in
error, you may not copy or distribute any part of it or otherwise disclose its
contents to anyone. Please advise the sender of your incorrect receipt of this
correspondence.
________________________________
The contents of this email are confidential and may be subject to legal or
professional privilege and copyright. No representation is made that this email
is free of viruses or other defects. If you have received this communication in
error, you may not copy or distribute any part of it or otherwise disclose its
contents to anyone. Please advise the sender of your incorrect receipt of this
correspondence.
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel