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.

Bug 232571 - named query doesn't sugest when i separate the query String in two lines
Summary: named query doesn't sugest when i separate the query String in two lines
Status: RESOLVED DUPLICATE of bug 231925
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 7.3.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-11 15:05 UTC by montblack
Modified: 2013-07-11 19:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
print screen about the error (112.58 KB, image/png)
2013-07-11 15:14 UTC, montblack
Details

Note You need to log in before you can comment on or make changes to this bug.
Description montblack 2013-07-11 15:05:36 UTC
Product Version = NetBeans IDE 7.3.1 (Build 201306052037)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.25-b01

named query doesnt sugest when i separate the query String in two lines for example 

@Entity
@NamedQueries({
    @NamedQuery(name = "Usuario.findByLogin", 
        query = "SELECT u FROM Usuario u "
        + "WHERE u.nombres = :nombres AND u.clave = :clave AND u.activo = TRUE"
        + " AND u.")
})
public class Usuario implements Serializable {


the last "u." doesnt sugest variables.
Comment 1 montblack 2013-07-11 15:13:30 UTC
+ attatch print screen
Comment 2 montblack 2013-07-11 15:14:18 UTC
Created attachment 137010 [details]
print screen about the error
Comment 3 Sergey Petrov 2013-07-11 19:54:11 UTC

*** This bug has been marked as a duplicate of bug 231925 ***