Announcement Announcement Module
Collapse

Spring Dynamic Modules forum decommissioned in favor of Eclipse Gemini Blueprint

With the official first release of Eclipse Gemini Blueprint shipped, the migration of the Spring Dynamic Modules code base to the Eclipse Foundation, as part of the Gemini project, has been completed.

As such, this forum has been decommissioned in favour of the Eclipse Gemini forums.
See more
See less
with Spring Dynamic modules + hibernate Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • with Spring Dynamic modules + hibernate

    Hi All,

    I am trying Hibernate/JPA with Spring ,
    ------------------------------------------------------------------------
    My problem is JPA persistence provider not finding Dynamic imported Entites
    -----------------------------------------------------------------------
    here ,all my annoted persistence entites are there in another(EntityDomainModel) bundle .All those Exported Enties are Getting imported in JPAHibernateImpl Bundle.


    (From Test Bundle)when ever i am trying to save an entity at runtime i am getting error like

    Unknown entity: com.sample.Student

    even if i specify in persistence.xml also i am getting same error.
    can any one help me in this regard.
    Thanks in advance
    ---------------
    Eswar S

  • #2
    JPA and LoadTimeWeaving in OSGi are a bit more complex since they imply crossing the bundles bounderies. I would recommend taking S2AP for a spin and deploying your application there, at least until things are working for you.
    Additionally, besides the documentation, you could read the blogs available at:
    http://blog.springsource.com/main/ca...tion-platform/

    Comment

    Working...
    X