Not sure what you mean by remote system.   I run JBOSS locally.  Our
database is remote tho'.  I have all my sources for building locally
as well.  My model fields ("fields do"), including my foreign keys
(belongs_to) match exactly what is in the database table.  The fields
that are being referenced are not IDs and not in the "fields do"
block.

I guess my next step will be to unpack a fresh JBOSS tree, re-check
out the trunk for our app and build and deploy.  It seems as tho' some
old model was cached somewhere.  Another possibility could be
something cached on the oracle side of things, but it looks fine when
I view it via SQLDeveloper.

To be sure... I did a file scan of the app source tree looking for the
fields mentioned and they are nowhere to be found...  so I am tending
toward thinking something weird is happening with JBOSS but...  who
knows.  The thing is, the table structure has been stable for at least
2 weeks, and while I haven't done anything with it in the past week,
it WAS working fine.

I'll let you know if checking out the sources fresh and starting with
a fresh JBOSS app works...

Thanks for the responses.

On Nov 10, 2:17 pm, Domizio Demichelis <[email protected]> wrote:
> IF the sql is wrong compared to what should be in the table
> THEN the model is wrong
>
> so probably you are assuming that the model is right BUT it probably is an
> old version. Try doing a simple `cat app/models/yourmodel` on the remote
> system and check whether it is ok or not.
>
> ciao
> dd

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to