我尝试查找有关它的信息,但似乎没有关于它的示例。
我有这条线:
long userID = user.getId();
String query = "select userclient.username from twitter_content.userclient where userclient.userid = " +
"(select follower.followerid from twitter_content.follower where follower.followerid = userclient.userid and follower.userid = "+userID+")";
但 Eclipse 将“userID”读取为字符串,而不是变量。如何让 Eclipse 将“userID”读取为变量?