This week's book giveaway is in the Spring forum.
We're giving away four copies of Spring in Action (5th edition) and have Craig Walls on-line!
See this thread for details.
Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Error compiling the query. Unknown entity type [mlsUser]  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello EJB Enthusiasts,

I am running an EJB application (swing client) for several years just fine. In the transition of upgrading to Netbeans 7 / GlassFish 3.x something has broken and I can figure out what it is.

The runtime message is:



The application compiles, deploys, and starts without errors and it is when the applicent access the server for the first time that I get the error mentioned above.

mlsUser mapps to a MySQL table "users" as follows:



The persistence unit mapps to data source "MindlinerDataSource" and the underlying connection pool pings successfully.

Any help is much appreciated.

Thanks,
Marius
 
Ranch Hand
Posts: 553
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ensure the class is listed in your persistence.xml, or in the jar if using unlisted classes.

Check for any errors that occurred on startup.

Do other Entitys work, what is different about this one?
 
Marius Messerli
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perfect. Many (!) thanks, James. I accidentally unchecked "Include All Entity in "MindlinerServer" Module.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!