Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

mysql replace into using hibernate

How can I implement mysql replace into using hibernate? I couldn't find this anywhere.

like image 500
Hrishi Avatar asked Oct 22 '25 20:10

Hrishi


1 Answers

I believe, being an mySQL extension behavior, it's not supported directly. As normal for all unsupported query syntax's, you may want to use native SQL in this case.

Reference for native SQL support in hibernate, could be found here.

like image 136
Yogendra Singh Avatar answered Oct 24 '25 08:10

Yogendra Singh