Also, thank you for supplying the download link for this exact starter pack, i found the link in one of your response to the comments from an earlier video... GREAT JOB With the responses ...
@lumea-arboris4 жыл бұрын
This is amazing. Thank you very much, this is an amazing technology
@giavudai654311 ай бұрын
Hello thank you for your course, i would like to ask u if you cant send me link with the test data and all the libraries, as i cant see any on the website
@keldur1611 ай бұрын
I believe the link is in the description
@dermacon51723 жыл бұрын
Great Tutorial
@vaadinofficial3 жыл бұрын
Glad it was helpful!
@tensonchan97404 жыл бұрын
Sorry, when i try to add @MappedSuperclass to AbstractEntity, it seem didnt find the javax library ... i am using windows desktop
@tensonchan97404 жыл бұрын
i found need to add code to pom.xml org.eclipse.persistence javax.persistence 2.2.1
@rifatburaktozkoparan14543 жыл бұрын
Excellent tutorial, thanks. What happens at 2:52 does not happen on my ide, can you give a hint please? how do you create a bunch of code there? I have only enum when I type e
@vaadinofficial3 жыл бұрын
That is a template I used to avoid having to type so much. If you just started with this tutorial, I strongly recommend following the latest version that's up on vaadin.com/docs/latest/flow/tutorials/in-depth-course, it removes the need for a lot of this boilerplate. I'm in the process of recording an updated version of the video tutorial, hopefully out in the next couple of weeks.
@rifatburaktozkoparan14543 жыл бұрын
@@vaadinofficial thank you, can't wait!
@anujchaturvedi62964 жыл бұрын
What does Logger do ?
@q7_4 жыл бұрын
You can make logs with it.
4 жыл бұрын
Hi I have one veeeerryy important question! when you write there service:testdata ... It come automaticaly! why it does not come to my Intellij?? Thnx.
@jonybear16914 жыл бұрын
Hello! love this series. one question: my intellij cant find the two dependencies you added (h2 and the boot starter) from the websites you listed. why is that?
@trdngy82303 жыл бұрын
it is probably about dependency management in pom file. You should create a question on Stackoverflow and post your pom.xml there for the convenience :-)
@kvngferg Жыл бұрын
Is there a reason my maven jpa-h2 isn't poping up ?
@vaadinofficial Жыл бұрын
It was a custom shortcut I used to save some typing
@bathulanagendra46214 жыл бұрын
Hi sir nice video,Today i learnt how to generate primary key for all entitys using abstract class with sequence,nice trick you explained.but had a small doubt like , what is the purpose of clonable interface you used in contact entity.if you don't mind can you guide me on use of clonable interface with entity classes.thanks in advance. I'm following your videos regularly.and I'm very much interested to learn vaadin.Please share more videos on Vaadin and don't stop sharing Vaadin videos.im trying to implement full stack project in vaadin with your video tutorials.
@johanneshayry84984 жыл бұрын
Cloneable is a marker interface to signal Object.clone() that is legal to make a field-by-field copy of the object. The default clone method creates a shallow copy. What comes to this tutorial and using it with Entity, I don't think it's actually needed.
@marcushellberg134 жыл бұрын
You're right. That interface was there on an earlier version of this tutorial app before it had a database, and I forgot to remove it. Thanks for the heads up.
@skoczman4 жыл бұрын
Thank you for great tutorial! Can you tell what plugin do you use to generate entity code (when you type entity)? Thanks!
@vaadinofficial4 жыл бұрын
It's a custom live template I created, you can copy the code from the text version of the tutorial. The link is in the description.
@thebackendguru4 жыл бұрын
Hi, please help, i have followed the tutorial successfully until the adding of the 2 Dependencies, i can see that the spring-boot-starter-jpa seems to have been replaced with the spring-boot-starter-json , so what has replaced the com.h2database because i can't continue with the tutorial unless those two are configured ... PLEASE RESPOND
@vaadinofficial4 жыл бұрын
spring-boot-starter-jpa has not been replaced, it is the correct dependency. The H2 dependency is also correct. See github.com/vaadin-learning-center/crm-tutorial/blob/29bd9d62d6a5c08b65124fb3139aa491045eec77/pom.xml#L120
@thebackendguru4 жыл бұрын
@@vaadinofficial Ok, and thank you very much ... am now having a new error which is saying import java.persistence.GeneratedValue; does not exist ... NB: I copied and pasted from the file, and the manual import as well as the auto import is not working for me ... Also I could not find the actual template you used, hence i created a new one from the start.vaadin.com/?preset=lts and attempted to follow the tutorial .... please help ...
@thebackendguru4 жыл бұрын
Hi, can you also please create a video with mysql database option ... i think it would be a great complement to the current videos ...
@vaadinofficial4 жыл бұрын
The last video and text tutorial covers using MySQL for production.
@dmitryvoronov6694 жыл бұрын
Hi, how to create a class relationship with Oracle? What needs to be changed in the code?
@marcushellberg134 жыл бұрын
I'm not that familiar with Oracle, but it should be enough that you add the oracle driver to your pom.xml and configure it in application.properties, something like spring.jpa.hibernate.ddl-auto=create-drop spring.datasource.url=jdbc:oracle:thin:@localhost:1521:xe spring.datasource.username=system spring.datasource.password=password spring.datasource.driver-class-oracle.jdbc.driver.OracleDriver There are good tutorials on using Spring Boot and Oracle, for instance mkyong.com/spring-boot/spring-boot-spring-data-jpa-oracle-example/, that will be helpful
@dmitryvoronov6694 жыл бұрын
@@marcushellberg13 ,thanks! One question. If I work through Oracle base. I have to create 2 tables: "Contact" and "Company"? Or something else? What set of fields should the tables have?
@vaadinofficial4 жыл бұрын
@@dmitryvoronov669 If you define spring.jpa.hibernate.ddl-auto=create, it should create the tables for you.
@dmitryvoronov6694 жыл бұрын
@@vaadinofficial Fire! Everything works!
@dimitriosgerontopoulos51654 жыл бұрын
Link with Text version does not work. Thanks
@vaadinofficial4 жыл бұрын
It seems like our website was down for a bit. See if you can access it now.
@malinmalindic85824 жыл бұрын
Hi there, thanks for tutorials, but I have one question, when work with SpringBoot, in my opinion it is enough to have interfaces that extends JpaRepository, and we already have nice rest end point (JSON response) , is there any kind of need to make Service.
@marcushellberg134 жыл бұрын
There's not a strict need to do that, but in my opinion, it's a good practice. If you let the UI layer use the repository directly, you have no way of restricting which methods should be available to it. For instance, maybe you don't want to expose the delete method to the UI directly. Since it's an interface, you also cannot add any additional business logic to calls: updating related entities, triggering sales transactions, etc. So, in a simple app like this, it doesn't give you that much benefit, but in almost any real app, I would recommend having a service layer where you can keep your business logic and orchestrate access to the database and other sub-systems.
@malinmalindic85824 жыл бұрын
@@marcushellberg13 thanks a lot
@ayrat114 жыл бұрын
Very usefull!
@mr.abdullahabdulmajeed77693 жыл бұрын
wow
@mogulisvalar33692 жыл бұрын
Why? project builds without errors, but fails when ran... "@OneToOne or @ManyToOne on org.vaadin.example.backend.entity.Contact.company references an unknown entity: org.vaadin.example.backend.entity.Company"