Hi, > Well, unless I'm mistaken there is no java.sql.Types.UUID (not even in Java > 7).
Hmm, I was sure that such a constant exists but it really does not. Ok, I fixed it with instanceof, added test and committed to trunk. > By the way, using randomly UUIDs as the primary key is very problematic for > performance, once you have a few million rows. This isn't just for H2, it's > a problem for all databases. Yes, I know but it's not a reason to disallow it at all and also as far as I understand this problem relates to caching efficiency and is actual only for on-disk databases while for in-memory it doesn't make much sense. At GridGain we use H2 to provide SQL access to our distributed in-memory caches so it's normal for us. Sergi -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
