1. I'm fine with unchecked exceptions so long as they are documented. I think it especially makes sense in this case because users will be asking "what happens if my insert violates a constraint? What will this method do?".
2. Thank you for the clarification. I wasn't aware of "insert into ... select ..." until just now. It makes perfect sense.
1. I'm fine with unchecked exceptions so long as they are documented. I think it especially makes sense in this case because users will be asking "what happens if my insert violates a constraint? What will this method do?".
2. Thank you for the clarification. I wasn't aware of "insert into ... select ..." until just now. It makes perfect sense.