title: How to use money data type in Java, SQL, ORM
body: <p>What are best practises in using money data type in Java application? Money should be in double variable? What about rounding, currencies and so on. Are special libraries for this? And what about ORM and SQL in most popular databases. As I know not in all SQL engines is Money data type. In that case <code>NUMERIC(15,2)</code>, <code>DECIMAL(15,2)</code> or REAL data type should be use?</p>