This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Running application on web start

 
Alessandro Rogerio Araujo
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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




 
Why is the word "abbreviation" so long? And this ad is so short?
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!