Preferences -> Validation, JPA Validator, turn off for Build. This probably shouldn’t be on by default anyhow, people are most likely going to build new apps […]" />

EclipseLink JPA in Eclipse dumb error message

Sometimes you’re developing an app along with a new database schema to go with it, but you get this: Schema "null" cannot be resolved for table "XXXX".

Window -> Preferences -> Validation, JPA Validator, turn off for Build.

This probably shouldn’t be on by default anyhow, people are most likely going to build new apps from scratch than build new apps to fit old databases; and even if they do build from old, Eclipse’s JPA Tools has a build entities from tables function.

Written by
Open Source software architect and technologist. He's just this guy, you know? Follow him him on Google+.
Published in
Transmissions from the Little Blue Marble

Published August 11th, 2009

Comments

3 Responses

Thank you! This was very helpful with a “table ‘X’ cannot be resolved” error.

Leave a Reply