Java JPA Class for MATLAB

前端 未结 5 1963
萌比男神i
萌比男神i 2020-11-27 07:54

I\'m using MATLAB R2007b, Java 1.6 SE, Eclipse Helios, and MySql 5 on Windows XP Pro SP3.

I\'m trying to create a class library that uses JPA annotations to access a

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-27 08:48

    Are you absolutely certain that you have spelled the name of the persistence unit correctly in the call to:

    javax.persistence.Persistence.createEntityManagerFactory(String puName)
    

    That would also give you the same error. The name is case-sensitive.

提交回复
热议问题