Re: hibernatespatial-users Digest, Vol 36, Issue 2

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: hibernatespatial-users Digest, Vol 36, Issue 2

Coquelicot-2
Hi Jan,

I don't have the code here - I will try to get the details for you on Tuesday.

And - thanks for this nice addition - embeddable H2 + spatial is
something that I was really looking for!!!

Lukasz



On Sat, Aug 14, 2010 at 12:00 PM,
<[hidden email]> wrote:

> Send hibernatespatial-users mailing list submissions to
>        [hidden email]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users
>
> or, via email, send a message with subject or body 'help' to
>        [hidden email]
>
> You can reach the person managing the list at
>        [hidden email]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of hibernatespatial-users digest..."
>
>
> Today's Topics:
>
>   1. Re: Hibernate Spatial and H2 + GeoDB (Jan Boonen)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 13 Aug 2010 14:17:26 +0200
> From: Jan Boonen <[hidden email]>
> Subject: Re: [hibernatespatial-users] Hibernate Spatial and H2 + GeoDB
> To: [hidden email]
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Lukasz,
>
> Just for clarity, did you resolve the issue with SQL array type, or is
> it an omission in the H2 GeoDB dialect? If so, can you send me more
> information (e.g. a stack trace) so that I can fix this issue.
>
> Cheers,
>
> Jan
>
> On 11-8-2010 16:51, Karel Maesen wrote:
>> Hi Lukasz,
>>
>> It is now included in the regular downloads. Yesterday evening I updated the documentation to this effect.  I still had to announce it on the list, you beat me to it :-)
>>
>> The H2 GeoDB provider has been submitted by Geodan. They also wrote a short tutorial on how to use it for integration testing. You can find it here:  http://www.hibernatespatial.org/hibernate-spatial-h2-geodb/tutorial-integration-testing.html
>>
>> This may help solve your problem, but if the persists, let us know.
>>
>> Regards,
>>
>> Karel
>>
>>
>> On 11 Aug 2010, at 15:30, Coquelicot wrote:
>>
>>
>>> Karel, all,
>>>
>>> I noticed new artefact on Hibernate Spatial repository - support for
>>> H2 + GeoDB. As it is not included in 'regular' downloads, can you tell
>>> me what is the status of this dialect? it would be perfect for me to
>>> employ it in testing (embedded H2 database used as a backend would be
>>> perfect!) but right now I am stuck at trying to get the Hibernate
>>> generate the database schema using the SchemaExport class and I keep
>>> getting errors: Hibernate tool claims that GeoDBDialect does not map
>>> the JDBC SQL type 2002 (which is java.sql.Type.ARRAY, I believe).
>>>
>>> Best regards,
>>>
>>> Lukasz
>>> _______________________________________________
>>> hibernatespatial-users mailing list
>>> [hidden email]
>>> http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users
>>>
>> _______________________________________________
>> hibernatespatial-users mailing list
>> [hidden email]
>> http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users
>>
>
>
>
> ------------------------------
>
> _______________________________________________
> hibernatespatial-users mailing list
> [hidden email]
> http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users
>
>
> End of hibernatespatial-users Digest, Vol 36, Issue 2
> *****************************************************
>
_______________________________________________
hibernatespatial-users mailing list
[hidden email]
http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users
Reply | Threaded
Open this post in threaded view
|

Re: hibernatespatial-users Digest, Vol 36, Issue 2

Coquelicot-2
Jan,

I have replaced the JARs to the latest hibernate spatial 1.0 (I was
using version 1.1-SNAPSHOT build using maven) but the problem with
building the schema still presist. I am attaching the part of the ant
log file and the hibernate mapping file that breaks the build (as you
probably suspected, it contains a geometry column). I have tried to
modify the content using hints to specify the dialect to a geodb one,
as described in
(http://www.hibernatespatial.org/hibernate-spatial-h2-geodb/usage.html)
but to no avail; besides, I don't think that's needed as the schema
export code reports using proper dialect (I am forcing it using system
property -Dhibernate.spatial.dialect).

Best regards,

Lukasz



On Sat, Aug 14, 2010 at 12:00 PM,
<[hidden email]> wrote:

> Send hibernatespatial-users mailing list submissions to
>        [hidden email]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users
>
> or, via email, send a message with subject or body 'help' to
>        [hidden email]
>
> You can reach the person managing the list at
>        [hidden email]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of hibernatespatial-users digest..."
>
>
> Today's Topics:
>
>   1. Re: Hibernate Spatial and H2 + GeoDB (Jan Boonen)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 13 Aug 2010 14:17:26 +0200
> From: Jan Boonen <[hidden email]>
> Subject: Re: [hibernatespatial-users] Hibernate Spatial and H2 + GeoDB
> To: [hidden email]
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Lukasz,
>
> Just for clarity, did you resolve the issue with SQL array type, or is
> it an omission in the H2 GeoDB dialect? If so, can you send me more
> information (e.g. a stack trace) so that I can fix this issue.
>
> Cheers,
>
> Jan
>
> On 11-8-2010 16:51, Karel Maesen wrote:
>> Hi Lukasz,
>>
>> It is now included in the regular downloads. Yesterday evening I updated the documentation to this effect.  I still had to announce it on the list, you beat me to it :-)
>>
>> The H2 GeoDB provider has been submitted by Geodan. They also wrote a short tutorial on how to use it for integration testing. You can find it here:  http://www.hibernatespatial.org/hibernate-spatial-h2-geodb/tutorial-integration-testing.html
>>
>> This may help solve your problem, but if the persists, let us know.
>>
>> Regards,
>>
>> Karel
>>
>>
>> On 11 Aug 2010, at 15:30, Coquelicot wrote:
>>
>>
>>> Karel, all,
>>>
>>> I noticed new artefact on Hibernate Spatial repository - support for
>>> H2 + GeoDB. As it is not included in 'regular' downloads, can you tell
>>> me what is the status of this dialect? it would be perfect for me to
>>> employ it in testing (embedded H2 database used as a backend would be
>>> perfect!) but right now I am stuck at trying to get the Hibernate
>>> generate the database schema using the SchemaExport class and I keep
>>> getting errors: Hibernate tool claims that GeoDBDialect does not map
>>> the JDBC SQL type 2002 (which is java.sql.Type.ARRAY, I believe).
>>>
>>> Best regards,
>>>
>>> Lukasz
>>> _______________________________________________
>>> hibernatespatial-users mailing list
>>> [hidden email]
>>> http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users
>>>
>> _______________________________________________
>> hibernatespatial-users mailing list
>> [hidden email]
>> http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users
>>
>
>
>
> ------------------------------
>
> _______________________________________________
> hibernatespatial-users mailing list
> [hidden email]
> http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users
>
>
> End of hibernatespatial-users Digest, Vol 36, Issue 2
> *****************************************************
>

_______________________________________________
hibernatespatial-users mailing list
[hidden email]
http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users

ant_out.txt (23K) Download Attachment
NSIL_COVERAGE.hbm.xml (1K) Download Attachment