Skip to main content



      Home
Home » Eclipse Projects » Dali » How do I turn off JPA validation?
How do I turn off JPA validation? [message #435556] Sun, 26 July 2009 19:11 Go to next message
Eclipse UserFriend
The JPA validator hangs Eclipse for several minutes when I open the
project of add a new class:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=283912

Is there a way to turn off the JPA validator?

I don't remember what kind of project this is, but it's probably a JPA
project (I've never found a way to tell what kind of Eclipse project any
given project is.) If there is no way to turn off JPA validation is there
a way to convert this into a straight Java project so none of the JPA
stuff gets invoked?

Thanks.

Dean
Re: How do I turn off JPA validation? [message #435558 is a reply to message #435556] Wed, 29 July 2009 12:06 Go to previous message
Eclipse UserFriend
JPA validation can be turned off for the Workspace via
Preferences->Validation or on a per project basis under Project
Properties->Validation. You will want to look for "JPA Validator".

Validation can be run manually from the project context menu. Leaving the
"Manual" selection checked for JPA Validator will allow you to get JPA
validation when you specifically ask for it.


Adding JPA functionality to a given Java project is done using a concept
called Facets. Facets can be managed via the project properties under
"Project Facets".

Hope this helps,
Neil

Dean Schulze wrote:

> The JPA validator hangs Eclipse for several minutes when I open the
> project of add a new class:

> https://bugs.eclipse.org/bugs/show_bug.cgi?id=283912

> Is there a way to turn off the JPA validator?

> I don't remember what kind of project this is, but it's probably a JPA
> project (I've never found a way to tell what kind of Eclipse project any
> given project is.) If there is no way to turn off JPA validation is there
> a way to convert this into a straight Java project so none of the JPA
> stuff gets invoked?

> Thanks.

> Dean
Re: How do I turn off JPA validation? [message #616677 is a reply to message #435556] Wed, 29 July 2009 12:06 Go to previous message
Eclipse UserFriend
JPA validation can be turned off for the Workspace via
Preferences->Validation or on a per project basis under Project
Properties->Validation. You will want to look for "JPA Validator".

Validation can be run manually from the project context menu. Leaving the
"Manual" selection checked for JPA Validator will allow you to get JPA
validation when you specifically ask for it.


Adding JPA functionality to a given Java project is done using a concept
called Facets. Facets can be managed via the project properties under
"Project Facets".

Hope this helps,
Neil

Dean Schulze wrote:

> The JPA validator hangs Eclipse for several minutes when I open the
> project of add a new class:

> https://bugs.eclipse.org/bugs/show_bug.cgi?id=283912

> Is there a way to turn off the JPA validator?

> I don't remember what kind of project this is, but it's probably a JPA
> project (I've never found a way to tell what kind of Eclipse project any
> given project is.) If there is no way to turn off JPA validation is there
> a way to convert this into a straight Java project so none of the JPA
> stuff gets invoked?

> Thanks.

> Dean
Previous Topic:Thoughts on JPA 2.0 metamodel generation in Dali 3.0
Next Topic:Dali Galileo - Entities and properties naming stragety
Goto Forum:
  


Current Time: Sat Jul 05 10:20:50 EDT 2025

Powered by FUDForum. Page generated in 0.21254 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top