mstahv / sap-hana-with-vaadin

Example project to use Vaadin UI in front of SAP Hana based backend
0 stars 0 forks source link

JPA errors #3

Open mathiasmaerker opened 9 years ago

mathiasmaerker commented 9 years ago

get for all entities the following error: Class "org.vaadin.saphana.backend.Team" is listed in the persistence.xml file, but is not annotated

mathiasmaerker commented 9 years ago

add true to persistence.xml seems to fix that issue

mstahv commented 9 years ago

Is that error given by the actual Maven build or Eclipse? I don't have any errors like that. Did you add the true value to exclude-unlisted-classes tag? I could indeed remove the explicit listing and just let EclipseLink figure out the entities.

mathiasmaerker commented 9 years ago

Well, the hana-backend does anyway contain an other very strange error, i will tell you tommorow about it, today i am fed up with HCP ;)

mstahv commented 9 years ago

Hah, that happens with technology :-) Yesterday evening I was banging my head to wall with Bluemix, no success. This morning, everything worked perfectly. Maybe both cloud vendors were pushing in some CloudFoundry updates yesterday as both had some odd issues.