I have several Java classes with double fields that I am persisting via Hibernate. For example, I have
@Entity
public class Node ...
private double value
There was a similar problem HHH-1598 with HSQL mappings of boolean fields, and a discussion of it here.
The solution I chose to use was in the discussion referenced above, with an extension of HSQLDialect.
I saw no problems with this, though I only use HSQL in tests.
It certainly doesn't interfere with any other DB.