On Tuesday, 16 April 2013, Nicolas Fortin (OrbisGIS) wrote: > > Using custom datatype and functions through "CREATE DOMAIN" and "CREATE > ALIAS" leads to call theses functions to all new local H2 DataBase and > existing H2 DataBase connection with admin rights.. > > That should not be a problem because they will only be defined for a specific db file.
> > I think about creating a custom Driver for spatial > ex:"org.h2spatial.Driver" then catch admin connection on local h2 DataBase, > but it must not be a great idea ? > > For now, it might be easier for you to simply wrap h2 in a new osgi bundle and deploy it separately from normal h2. But it's not serious which way you chose now, can always be changed later. > You were talking about MVStore and custom data type (de)serialisation, but > I don't find samples, and I don't find a way to feed a Class or object > factory. But anyway it seems that this storage is not yet used in H2. May > be I should work on the snapshot release ? This stuff is still very new. I don't know that much about it, Thomas is still working on it. But if you want use it, you should probably be using the nightly builds. > Final words are, what do you think is the best strategy ? Working with you > on the trunk to incorporate h2 spatial in native or continue to stick with > version 1.3.171 and build a overloaded Driver for spatial I can't say for certain because Thomas is project leader, but I think it would be nice to integrate this in trunk :) There is one problem, your license (GPL) is not compatible with ours, so you need to relic ensue before contributing the code. Great to have you aboard, always nice to see h2 being used in new and interesting ways! > > > > > -- > You received this message because you are subscribed to the Google Groups > "H2 Database" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:_e({}, > 'cvml', 'h2-database%[email protected]');>. > To post to this group, send email to > [email protected]<javascript:_e({}, 'cvml', > '[email protected]');> > . > Visit this group at http://groups.google.com/group/h2-database?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
