• 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
Mismatch between model and database
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mismatch between model and database


  • Subject: Mismatch between model and database
  • From: Pascal Robert <email@hidden>
  • Date: Thu, 02 Jun 2011 14:47:52 -0400

I'm getting some mismatch types for an attribute that is part of a model that was created from reverse engineering.  Look like it's a mismatch between a String type and a number column, but sadly the exception is not saying which column or attribute it is, and no success by using breakpoints.

Is there a trick to find which column is the problem? Checking manually more than 150 attributes would be a real PITA :-)

Thanks.

juin 02 14:37:33 eGM[49754] WARN  NSLog  - <er.ajax.AjaxRequestHandler>: Exception occurred while handling request:
N/A
[2011-6-2 14:37:33 EDT] <WorkerThread8> N/A
at com.webobjects.jdbcadaptor.JDBCColumn.takeInputValue(JDBCColumn.java:621)
at com.webobjects.jdbcadaptor.JDBCChannel._bindInputVariablesWithBindingsAndExecute(JDBCChannel.java:260)
at com.webobjects.jdbcadaptor.JDBCChannel._evaluateExpression(JDBCChannel.java:337)
at com.webobjects.jdbcadaptor.JDBCChannel.evaluateExpression(JDBCChannel.java:296)
at com.webobjects.jdbcadaptor.JDBCChannel.selectAttributes(JDBCChannel.java:220)
at com.webobjects.eoaccess.EODatabaseChannel._selectWithFetchSpecificationEditingContext(EODatabaseChannel.java:897)
at com.webobjects.eoaccess.EODatabaseChannel.selectObjectsWithFetchSpecification(EODatabaseChannel.java:234)
at com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3055)
at com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3195)
at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488)
at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069)
at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1206)
at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4444)
...
 _______________________________________________
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

  • Follow-Ups:
    • Re: Mismatch between model and database
      • From: Michael Gargano <email@hidden>
  • Prev by Date: Re: java.lang.OutOfMemoryError ??
  • Next by Date: Re: Mismatch between model and database
  • Previous by thread: Re: java.lang.OutOfMemoryError ??
  • Next by thread: Re: Mismatch between model and database
  • Index(es):
    • Date
    • Thread