Contents:
Btw you sure reloading the app everytime you made a change ?
But why address is same ?
Hash and memory address are diff na ?
The findAll() method from JpaRepository<> can return an empty list or it will throw an exception?
Btw you sure reloading the app everytime you made a change ?
But why address is same ?
Hash and memory address are diff na ?
The findAll() method from JpaRepository<> can return an empty list or it will throw an exception?
mahboy47 2022-08-10 19:29:41

mahboy47 2022-08-10 19:29:42

mahboy47 2022-08-10 19:30:04
whats wrong?
K Prabhakar Naik 2022-08-10 19:31:05
must save every time
VAifonin 2022-08-10 19:34:29
mahboy47 2022-08-10 19:29:41
why you write http://localhost:8080/spring-mvc-demo/showForm about no http://localhost:8080/showForm
VAifonin 2022-08-10 19:39:00
Try write http://127.0.0.1:8080/spring-mvc-demo/showForm or http://127.0.0.1:8080/showForm
vgopal007 2022-08-10 19:40:05
mahboy47 2022-08-10 19:30:04
whats wrong?
Make controller annotation to restcontroller annotation
mahboy47 2022-08-10 19:40:08
VAifonin 2022-08-10 19:39:00
Try write http://127.0.0.1:8080/spring-mvc-demo/showForm or http://127.0.0.1:8080/showForm
mahboy47 2022-08-10 19:40:09
VAifonin 2022-08-10 19:39:00
Try write http://127.0.0.1:8080/spring-mvc-demo/showForm or http://127.0.0.1:8080/showForm
mahboy47 2022-08-10 19:41:43
vgopal007 2022-08-10 19:40:05
Make controller annotation to restcontroller annotation
didnt work
None 2022-08-10 19:42:02

Anyone knows why the address is same
mahboy47 2022-08-10 19:42:05
vgopal007 2022-08-10 19:40:05
Make controller annotation to restcontroller annotation
vgopal007 2022-08-10 19:42:52
mahboy47 2022-08-10 19:42:05
Request mapping need to mapped with respective httpmethod i guess
vgopal007 2022-08-10 19:43:01
Try it
mahboy47 2022-08-10 19:43:15
None 2022-08-10 19:42:02
Anyone knows why the address is same
because your bean is singleton
vgopal007 2022-08-10 19:44:30
mahboy47 2022-08-10 19:42:05
@GetMapping(“yourpath”) you can also do this
mahboy47 2022-08-10 19:45:53
vgopal007 2022-08-10 19:44:30
@GetMapping(“yourpath”) you can also do this
spring do it for me
mahboy47 2022-08-10 19:46:11
change it to prototype
vgopal007 2022-08-10 19:47:04
mahboy47 2022-08-10 19:45:53
spring do it for me
Okay
vgopal007 2022-08-10 19:48:29
Btw you sure reloading the app everytime you made a change ? Or devs tools already present
VAifonin 2022-08-10 19:49:57
None 2022-08-10 19:42:02
Anyone knows why the address is same
Link different, but equals in content.
None 2022-08-10 19:50:46
VAifonin 2022-08-10 19:49:57
Link different, but equals in content.
But why address is same ?
VAifonin 2022-08-10 19:52:12
None 2022-08-10 19:50:46
But why address is same ?
No an address but a hash.
mahboy47 2022-08-10 19:53:49
vgopal007 2022-08-10 19:48:29
Btw you sure reloading the app everytime you made a change ? Or devs tools already present
Yes
Make a change
vgopal007 2022-08-10 19:54:44
Ok
None 2022-08-10 19:56:26
VAifonin 2022-08-10 19:52:12
No an address but a hash.
Thnx bro
VAifonin 2022-08-10 19:57:03
None 2022-08-10 19:42:02
Anyone knows why the address is same
Line 11 compared link, it different.
Line 12 compared objects, it equals.
None 2022-08-10 19:57:59
Hash and memory address are diff na ?
VAifonin 2022-08-10 20:31:40
None 2022-08-10 19:57:59
Hash and memory address are diff na ?
Yes
Manolache Cristian 2022-08-10 21:35:00
Hello guys!
I have a question. The findAll() method from JpaRepository<> can return an empty list or it will throw an exception? Thanks๐
I have a question. The findAll() method from JpaRepository<> can return an empty list or it will throw an exception? Thanks๐