• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: BigDecimal help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BigDecimal help


  • Subject: Re: BigDecimal help
  • From: James Cicenia <email@hidden>
  • Date: Mon, 7 Feb 2005 13:01:04 -0600

I think you were right.

On Feb 7, 2005, at 12:47 PM, Chuck Hill wrote:

Check the Value Type in the model.  It needs to be B, it is probably d.


On Feb 7, 2005, at 7:20 AM, James Cicenia wrote:

Hello -


Why would this throw a class cast exception:

if(!this.approvedBudget().equals(null)){

which calls:

public BigDecimal approvedBudget() {
return (BigDecimal)storedValueForKey("approvedBudget"); <----- class cast exception here ???
}


I am using the GAP pattern and the above is auto generated from eogenerator.

Thanks,
James Cicenia

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
village.net


This email sent to email@hidden

--
Practical WebObjects - a book for intermediate WebObjects developers who want to increase their overall knowledge of WebObjects, or those who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects





_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >BigDecimal help (From: James Cicenia <email@hidden>)
 >Re: BigDecimal help (From: Chuck Hill <email@hidden>)

  • Prev by Date: EOModeler Connection Issue
  • Next by Date: Re: EOModeler Connection Issue
  • Previous by thread: Re: BigDecimal help
  • Next by thread: EOModeler 5.2 cannot generate SQL for tables using unsigned int columns?
  • Index(es):
    • Date
    • Thread