I am currently using Postgres as my Database, and I would like to use
H2 for unit testing.

Something that Postgres allows is this (with the latest JDBC driver):

                UUID uuid = UUID.randomUUID();
                PreparedStatement updateSales = null;

                updateSales = c.prepareStatement("UPDATE COFFEES SET ID = ? 
WHERE
COF_TYPE = /'DECAFF/'");

                updateSales.setObject(1, uuid);


And it will be mapped to the native UUID type of Postgres in the
Database (Not Binary or Byte[] or something).

Any chance this would be possible with H2 in the near future?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to