Re: JDBCAdaptor.isValidQualifierType NullPointer
Re: JDBCAdaptor.isValidQualifierType NullPointer
- Subject: Re: JDBCAdaptor.isValidQualifierType NullPointer
- From: Lachlan Deck <email@hidden>
- Date: Tue, 10 Jul 2007 13:29:38 +1000
On 10/07/2007, at 12:35 PM, Peter Vandoros wrote:
I've seen this issue and it has come down to your eomodel being
inconsistent or the JDBC plug-in not finding the details for a
column in the JDBC typeInfo.
Things to check:
1. Make sure that the JDBC TypeInfo (jdbc2Info) defines all the
attributes column types in your entity.
2. Make sure you have "capitalizeTypeNames=true" in your jdbc
connection url for MySQL.
3. If you are using prototypes, make sure that they have been
initialised and your entity is actually using them. Also make sure
that you aren't using the prototype definitions of a different
DBMS. eg. using PostgrSQL prototype definitions with MySQL.
Thanks Peter, yes it seems to have been resolved now. There was a
prototype column defined for MySQL that wasn't in the generic
prototypes model.
with regards,
--
Lachlan Deck
_______________________________________________
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