Netbeans and query

Thread Solved

Join Date: Aug 2007
Posts: 238
Reputation: ceyesuma is an unknown quantity at this point 
Solved Threads: 0
ceyesuma ceyesuma is offline Offline
Posting Whiz in Training

Netbeans and query

 
0
  #1
May 6th, 2008
Using java and netbeans to write a query
How does the ( colon change this String?

String partial=("SELECT c FROM content c WHERE c.artist LIKE \"%" + like + "%\"");
String partial=("SELECT c FROM content c WHERE c.artist LIKE \"%" + :like + "%\"");
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC