This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Running application on web start Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Running application on web start" Watch "Running application on web start" New topic
Author

Running application on web start

Alessandro Rogerio Araujo
Greenhorn

Joined: Jul 18, 2011
Posts: 1
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




 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Running application on web start
 
Similar Threads
Problem using EclipseLink -> org.springframework.dao.InvalidDataAccessApiUsageException
Transaction failure crashes program
Using Stored procedure in spring with hibernate
Spring 2.5 - Transaction example
Spring JDBC Problem getting log messages