Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » persistence.xml file not detected on restart
persistence.xml file not detected on restart [message #600069] Wed, 13 June 2007 01:15
Brian Fernandes is currently offline Brian FernandesFriend
Messages: 68
Registered: July 2009
Member
To reproduce:

1) Choose a JPA project which has no validation issues. Restart eclipse.
2) Bring up the context menu for this project and select Validate.
3) Observe the "No persistence.xml file in project" error marker on the
project.
4) Invoke the Validate action again, marker disappears.

If I had opened an entity in the Java editor before step 2 and waited for
the JPA synchronization to complete, then validating the project in step 2
does not result in any markers for the project.

I used a bare bones JPA project with persistence.xml at
src/META-INF/persistence.xml under the project root. I tried with other JPA
projects and could still reproduce this issue.

Brian.
Previous Topic:Problems closing and reopening DALI projects
Next Topic:Dali: Not correctly mapping column name 'class'
Goto Forum:
  


Current Time: Fri Apr 26 05:29:21 GMT 2024

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

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

Back to the top