Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 23:11 Go to next message
Dean Schulze is currently offline Dean Schulze
Messages: 24
Registered: July 2009
Junior Member
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 16:06 Go to previous message
Neil Hauge is currently offline Neil Hauge
Messages: 469
Registered: July 2009
Senior Member
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 16:06 Go to previous message
Neil Hauge is currently offline Neil Hauge
Messages: 469
Registered: July 2009
Senior Member
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:Dali Galileo - Entities and properties naming stragety
Next Topic:Thoughts on JPA 2.0 metamodel generation in Dali 3.0
Goto Forum:
  


Current Time: Wed Oct 22 23:05:35 GMT 2014

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

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