This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Original status: 3-Accepted; Suggested Status: NEW Original submitter: jimdavidson Description: Start with SELECT * from PERSON, then use Add Query Criteria to get SELECT * from PERSON where personid IN ('?', '?') Strange things happen to the WHERE clause because of syntax highlighting. There's a call to dsdocument.remove(), with a string ('?', that only removes the first three characters. As a result the where clause becomes where personid IN ('?'', '?') Someone else reported this, but I can't find the bug. Not worth a lot of time, but worth a little effort from someone who knows DefaultStyledDocument. Evaluation: I can reproduce, will look into
reassigning
Turns out this is not a bug. a PERSONID is an integer, so the IN clause should be (?, ?) SELECT ALL TRAVEL.TRIP.TRIPID, TRAVEL.TRIP.PERSONID, TRAVEL.TRIP.DEPDATE, TRAVEL.TRIP.DEPCITY, TRAVEL.TRIP.DESTCITY, TRAVEL.TRIP.TRIPTYPEID, TRAVEL.TRIP.LASTUPDATED FROM TRAVEL.TRIP WHERE TRAVEL.TRIP.PERSONID IN ( ?,? )
Move visualsqleditor subcomponents below visualweb