WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Websphere 7 JPA

    Posted 01/12/15 12:36 PM
    Hi,

    I am working in Websphere 7. It's taking the default JPA. Its not overriding my application JPA. My Application JPA is in the persistence.xml .I have mentioned 



    org.hibernate.ejb.HibernatePersistence
    jdbc/tlocal_emedicaid



    emedicaid.hpe.beans.reference.ApplicationStatus
    emedicaid.hpe.beans.reference.DenyReason
    emedicaid.hpe.beans.reference.HpeGender
    emedicaid.hpe.beans.reference.EligibilityGroup


    emedicaid.hpe.beans.model.HpeTxnLog
    emedicaid.hpe.beans.model.HpeApplication
    emedicaid.hpe.beans.model.HpeUserTestRecord



    emedicaid.healthhomes.beans.reference.Race
    emedicaid.healthhomes.beans.reference.Ethnicity
    emedicaid.healthhomes.beans.reference.Gender
    emedicaid.healthhomes.beans.reference.MaritalStatus
    emedicaid.healthhomes.beans.reference.SexualOrientation
    emedicaid.healthhomes.beans.reference.RiskFactor


    This is working for my coworker.But for me websphere is not overriding the default JPa. I have set classes loaded with parent last in the websphere.

    Any suggestions please.

    Thanks,