Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 32D9F63406B; Wed, 10 Mar 2010 03:19:51 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 60786-01; Wed, 10 Mar 2010 07:19:40 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qy0-f178.google.com (mail-qy0-f178.google.com [209.85.221.178]) by mail.postgresql.org (Postfix) with ESMTP id 800CD63274B; Wed, 10 Mar 2010 03:19:40 -0400 (AST) Received: by qyk8 with SMTP id 8so5943453qyk.4 for ; Tue, 09 Mar 2010 23:19:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=CjS+fdTDHJRl6VJW4UTKKE4qngggEyElPJWYO0fHVJ8=; b=TL3BfCDcdeuzgxsAoaosMb3qwf440/250SHw80N1McOScx3LClEhpskvexRFtrWr+T /omyLfDJPy/CT4AGSbhMSccOABEGxt972KNFLFNZPNPTrFCEqBXRFqYkdPjcgayffUqJ hn0rpOhlI+BJe9XS/xKepIS92TsVLmcim+YWU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=KY5qyl13p5K+c9sb7Myge/Ol47UXTL9DpiaLY6tUivOzO1sRHifL1g4kPbSIJFWqM6 szDO08/FscLWPUd7EUtfZQhbJHgd564qQVx06zG9anqbq3IYKEeveMp2bqU3Hp/eKuMH DCzpAVjRpK/gjqr53g49PhjB+4wgRYNbyO38w= MIME-Version: 1.0 Received: by 10.220.122.24 with SMTP id j24mr98004vcr.28.1268205579464; Tue, 09 Mar 2010 23:19:39 -0800 (PST) Date: Wed, 10 Mar 2010 12:49:39 +0530 Message-ID: <4e98ec861003092319q457aa3camb9b4bcd36cfbfc15@mail.gmail.com> Subject: Clarification With Money data type From: Navanethan Muthusamy To: pgsql-jdbc@postgresql.org, pgsql-sql@postgresql.org Content-Type: multipart/alternative; boundary=0016e68e9a5510f1f504816d1fcb X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.184 tagged_above=-10 required=5 tests=BAYES_40=-0.185, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 201003/43 X-Sequence-Number: 20383 --0016e68e9a5510f1f504816d1fcb Content-Type: text/plain; charset=ISO-8859-1 Hi, I am using Postgresql 8.4, Can you tell me How Can I use Money data type? I want to store the money and retrieve. Please give me idea to work on that. I am using Java with Postgresql, I have tried java.math.BigDecimal with Money, but its giving error. (Its asking me to do the casing) Thanks in advance. Regards, Navanethan --0016e68e9a5510f1f504816d1fcb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

I am using Postgresql 8.4, Can you tell me How Can I use Money = data type?

I want to store the money and retrieve. Please give me id= ea to work on that.

I am using Java with Postgresql, I have tried ja= va.math.BigDecimal with Money, but its giving error. (Its asking me to do t= he casing)

Thanks in advance.

Regards,
Navanethan
--0016e68e9a5510f1f504816d1fcb--