Hi,

> H2 is mapping primitives to their boxed counterparts anyway

Yes, but it doesn't use java.lang.Integer / java.lang.Double internally.

> do the type specific
> getters/setters have any (dis)advantages - apart from compile-time
> type safety - or is it OK to use getObject/setObject everywhere?

It's OK to use getObject / setObject. There might be a slight
performance decrease for some data types (int, long) but in most cases
this decrease is very small, and not a problem usually.

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 h2-datab...@googlegroups.com.
To unsubscribe from this group, send email to 
h2-database+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to