Path: csiph.com!aioe.org!.POSTED!not-for-mail From: =?UTF-8?Q?Arne_Vajh=c3=b8j?= Newsgroups: comp.lang.java.programmer Subject: Re: [OT] Re: missing import java.lang.Comparable Date: Fri, 22 Jul 2016 23:34:19 -0400 Organization: Aioe.org NNTP Server Lines: 16 Message-ID: References: <6cbiob184r55h86pg11p45gkkmg4c877tu@4ax.com> NNTP-Posting-Host: 7SK6yTFfqwlIPNBLl3l7Qg.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:35101 On 7/21/2016 3:57 PM, Jerry Stuckle wrote: > That still doesn't answer by question. Let's see some Java code with > BigDecimal working with a Decimal field in a database. Something like > 12 places left of the decimal point and 6 places to the right. It is not very obvious what you want to see. You take the most basic Java program using JDBC you can think of and then you use DECIMAL in database and BigDecimal in Java instead of INTEGER in database and int in Java. There is nothing to it. Arne