ecalderonp
|
Posted: April 13, 2011 10:28 by ecalderonp
|
|
Hi again!! I'm working with OpenEMPI core in a local host. And I have a problem, an exception occurs when the context startup. A part of the trace is here: Invocation of init method failed; nested exception is org.hibernate.AnnotationException: @OneToOne or @ManyToOne on org.openhie.openempi.model.Person.phoneType references an unknown entity: org.openhie.openempi.model.PhoneType In org.openhie.openempi.model.Person, there is a method like this: @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "phone_type_cd") public PhoneType getPhoneType() { return this.phoneType; } In this way, in the table "person" should have a column named "phone_type_cd" but there isn't this colum in the database creation script. I think the exception occurs for this reason. What do you think about it?? |
phone_type_cd
Replies: 1 - Last Post: April 13, 2011 21:40
by: Csaba Toth
by: Csaba Toth
showing 1 - 2 of 2
Csaba Toth
|
Posted: April 13, 2011 21:40 by Csaba Toth
|
| That pretty much seems to be a bug. Could you file a bug report in the Issue tracking system? It's very important to know which version of OpenEMPI you use. |
Replies: 1 - Last Post: April 13, 2011 21:40
by: Csaba Toth
by: Csaba Toth







