🔥 Welcome to Ashok IT..!! 👉 Register Here For Online Training : bit.ly/4dBYJbX 👉 Follow us in Instagram : bit.ly/3jzEKl8 👉 Follow Us in WhatsApp : bit.ly/49wCWje 👉 Visit Our Website : ashokit.in/
You've to use auto_increment constraint from MYSQL database side, and @GeneratedValue(strategy = GenerationType.IDENTITY) annotation for PRIMARY KEY in Entity class primary key
🔥 Welcome to Ashok IT..!!
👉 Register Here For Online Training : bit.ly/4dBYJbX
👉 Follow us in Instagram : bit.ly/3jzEKl8
👉 Follow Us in WhatsApp : bit.ly/49wCWje
👉 Visit Our Website : ashokit.in/
Superb explanation😁Thanks
thanks alot for the explanation. specifically regarding how to generate sequence generator in db.
Thank you so much sir....
Most welcome
Good Explanation Sir
Nice Explanation Ashok Sir...
Thank You
👉 Subscribe To Our RUclips Channel: bit.ly/41IHJdj
stucked at creating sequence, does anyone know how to create sequence with MySql ? I am using MySql Workbench. Thank you
You've to use auto_increment constraint from MYSQL database side, and @GeneratedValue(strategy = GenerationType.IDENTITY) annotation for PRIMARY KEY in Entity class primary key
How to write Junit test case for the same? I m getting custom id = null in JUnit test case. Any help would be appreciated
Can we use h2data base in the place of oracle driver
what is the diff b/w
saveAndFlush( ) and save( )
21:00 practical begins
Please Contact Our Admin Team:wa.me/+919985396677
👉 Subscribe To Our RUclips Channel: bit.ly/41IHJdj
can the prefix be dynamic?
Is it possible to do that?
yes by using @Value annotation ,and declare in properties file
you can make the dynmic value
sir in generate() method session.connection() is not available so what should i do to connect with oracle database now?
please contact our admin team : +91 9985396677
Sir in this way i want javax.persistance but i am getting jakarta.persistance package in sts
same thing bro
Java 10 onwards Jakarta
i am not getting the "serializable generate()" only getting "object generate()"
And resolution you got
I am using
org.springframework.boot
spring-boot-starter-parent
3.2.5
sir how can we perform custom generator in mysql database...
Please Contact Our Admin Team:wa.me/+919985396677
👉 Subscribe To Our RUclips Channel: bit.ly/41IHJdj
mysql doesn't have sequence right?
no... it dont support
@@ashokit Then how to implement this in mysql?
43:00 from dual ... what is dual ?
Please Contact Our Admin Team:wa.me/+919985396677
👉 Subscribe To Our RUclips Channel: bit.ly/41IHJdj
Pls insert 10digit number