> Diogo Saad wrote:
> >
> > > if you name your properties like:
> > >
> > > getKey_Number
> > > setKey_Number
> >
> > my getters and setters are right , I'm using torque generated om classes
> >
>
> Generally torque would generate property names like "KeyNumber" are you
> forcing the underscore through using the javaName attribute in your
> schema.xml? what do you mean they are "right". They are whatever you
> have chosen to name them. The "right" way according to Sun is to not
> use underscores, but you are saying you want to use underscores, so how
> are you defining "right"?
What I meant with "right" was that the getters and setters were working as
they should , didn't mean "right" as the sun convencion for properties were
wrong.... sorry for that...
My problem is that I have underscores in DB tables , that's why I've got
to put underscores in schema.xml ( om classes), intake.xml , etc....
But I can't make intake work with them ..... any clue???
> john mcnally
>
>
>
> > >
> > > intake should not complain about it, but maybe the java.bean classes
> > > used to perform the introspection do not like the odd syntax. _ are
not
> > > used in java naming conventions. I assumed the introspection just
tried
> > > adding "get", "set", "is", maybe more to the property name and tested
> > > for a match.
> > > john mcnally
> >
> > thats the error I get :
> >
> > ERROR -- Property, salary_range for class,
br.com.ibnetwork.ib.om.Research
> > could not be found.
> >
> > Exception: java.lang.reflect.InvocationTargetException
> > Stack Trace follows:
> > java.lang.reflect.InvocationTargetException:
java.lang.NullPointerException
> > at
> ...
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]