• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JPA Named query returns partial Result

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have a table PhoneModels
ID, Name , Vendor
1, iphone, Apple
2, Xperia, Sony Erricson
3, Razor, Motorola



and a corresponding named query

@NamedQuery(name = "phones.findAll", query = "select o from PhoneModels o"),

but weirdly sometimes the result of the above NamedQuery returns me partial result

ID, Name , Vendor
1, <---------------------------missing name and vendor most importantly it is SPORADIC once in 1000 times and it goes of without any change in code or server
2, Xperia, Sony Erricson
3, Razor, Motorola

this is the version we use
EclipseLink, version: Eclipse Persistence Services - 2.1.2.v20101206-r8635



 
reply
    Bookmark Topic Watch Topic
  • New Topic