Hi All
Am working in a project & want to migrate our work from mysql to postgress we used dbunit to test & when we used to get the connection the url was like this
jdbc:mysql://localhost:3306/testDB?sessionVariables=FOREIGN_KEY_CHECKS=0
but the forigen key checks is not working with postgres. Any idea ???
thnx for any reply
Best Regards,,,
Mohamed Badawy
Yes, you can't disable them like that in postgresql, you'd have to drop the referential checks in sql first.Hi All
Am working in a project & want to migrate our work from mysql to postgress we used dbunit to test & when we used to get the connection the url was like this
jdbc:mysql://localhost:3306/testDB?sessionVariables=FOREIGN_KEY_CHECKS=0
but the forigen key checks is not working with postgres. Any idea ???
thnx for any reply
Best Regards,,,
Mohamed Badawy
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера