• 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

Running application on web start

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys!!! I'm from Brazil.


I'm developing a web start desktop application with hibernate, spring and mysql.
when I run local (without jboss), everything works fine, I run the queries in the database normally.
when I deploy in jboss (jboss-5.1.0.GA) and run the webstart, the queries in database returns the following error:
org.hibernate.hql.ast.QuerySyntaxException: Empresa is not mapped [ select distinct e from Empresa e left join fetch e.ambientes a where 1=1 order by e.nome ]


I'm trying to figure out the problem to a long time, but without success. I do not know what to do.


Can someone help me, please ?


I thank everyone in advance




 
What's gotten into you? Could it be this tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic