Hi, > How do expressions work with OTHER datatype?
It compares the byte array. See also http://h2database.com/html/datatypes.html#other_type > could it be added as feature request? Sure. It's not one of my priorities, but I can add a feature request. I would need to know how would "Hi" (in this case) be converted to an object of the given class? Or would you call the objects toString() method and use String compare? In that case the security problems are relatively low I guess. > UUID This is not just an alias for BINARY(16). I will change the documentation to: == UUID == Universally unique identifier. This is a 128 bit value. To store values, use PreparedStatement.setBytes, setString, or setObject(uuid) (where uuid is a java.util.UUID). ResultSet.getObject will return a java.util.UUID. For details, see the documentation of java.util.UUID. Regards, Thomas -- 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.
