String partial = ("SELECT c FROM content AS c WHERE c.artist LIKE \"%" + like + "%\"");

Is there any one that can explain the proceedure to get this query introduced into the persistence unit so it can be run?
(netbeans6.1,MySQL,JDescktopApp)
Thanks

I haven't actually used SQL with Java before, but there are plenty of tutorials / examples out there in the world wide web. This link might be a good place to start since you are using MySQL. Good luck :)

Thanks
I looked at that link and It might not address MySQL and the netbeans.
It looks like a helpful site though.
-Steve

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.