Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dali-dev] Reload meta data information of JPA project

Dimiter,

This is most likely related to this bug:  https://bugs.eclipse.org/bugs/show_bug.cgi?id=192477

We are definitely experiencing difficulties closing/reopening projects (deleting/re-importing is effectively the same thing) and dealing with the WTP/EMF resource interaction.

Can you give us any insight into the use case for closing/reopening of projects?  This is something that we're working on, but it may be helpful to know why closing/reopening is something that you are dependent upon.

Paul Fullbright
Oracle Corp.
Eclipse Dali/Java Persistence Tools Development
paul.fullbright@xxxxxxxxxx


Dimitrov, Dimiter wrote:
Reload meta data information of JPA project

Hello,

I'm working with DALI 1.0 from the Europa release and I’m in big trouble with the usage of an persistence unit from my JPA project. It contains in the following: Sometimes (most frequently after close/open of the project or delete of project and import again), the persistence units of the project doesn’t presented despite the fact that provider.xml is valid. I had tried lots of approaches to rebuild the model, but unsuccessfully: when I invoke IJpaPlatform.persistenceUnitSize() it returns 0.

My appeal is could you suggest me a way to reload the metadata information, described in the descriptor file persistence.xml

Thank you in advance,
Dimiter


_______________________________________________ dali-dev mailing list dali-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/dali-dev

Back to the top