We can't help you when we don't have any information to work with: Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with - we get no other context for your project.
Imagine this: you go for a drive in the country, but you have a problem with the car. You call the garage, say "it broke" and turn off your phone. How long will you be waiting before the garage arrives with the right bits and tools to fix the car given they don't know what make or model it is, who you are, what happened when it all went wrong, or even where you are?
That's what you've done here. So stop typing as little as possible and try explaining things to people who have no way to access your project!
In order to even start helping you, we need to know where your car is (what code did you write?), what make and model it is (what exactly are you passing to SQL?), what happened when it went wrong (what data is in your database?). And we have none of that!
Start with the debugger -
Introduction to the Swing UI Debugger in JDeveloper[
^] is one example, but I have no idea what exactly you are using - and start looking at exactly what is going on.
And next time you have a problem, remember that
Asking questions is a skill[
^] and think about what you need to know, and what you need to tell us in order to get help.