-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a simple JPA CRUD example app #77
Comments
Dear Sir, I am new both vaadin and spring. Thankfully, this add on helps me to understand both frameworks. I have some issues, however, which I need to clarify for better understand. I can run vaadin app smoothly if I put the extended UI class the same package as application class. Vaadin app will run failed, on the other hand, if I put the extended UI class and application class on different packages. Is this normal case or I do something wrong? Best regards, |
Hi, A very simple JPA CRUD example is here: But I think your issue is real. Vaadin UIs are detected only from the same or sub packages, related to the configuration class. If in the above project you move the Application class to "crud.springboot" package, the Vaadin UI is not found. Not sure though if it is by design or not. Josh or Petter can answer that. |
Hi, Thanks |
@peholmst Suggestion: Import the mentioned sample within the vaadin4Spring samples? |
I could try to polish it a bit some day, add some simple example of a relation handling as well and push it in as simple-jpa-crud-example. Petter any opinions? |
@mstahv Would it be possible to create a branch from your master purely for the import into Vaadin4Spring. Could you already import the license header of vaadin4spring into every Java file ? |
@mstahv Go ahead! |
This would be good for beginners and evaluators. Best would be to push this to Springs own examples as well.
The text was updated successfully, but these errors were encountered: