aspose file tools*
The moose likes Object Relational Mapping and the fly likes Unknown entity: java.lang.Float Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Unknown entity: java.lang.Float " Watch "Unknown entity: java.lang.Float " New topic
Author

Unknown entity: java.lang.Float

Alberto Dousdebes
Greenhorn

Joined: Sep 02, 2008
Posts: 22
Hi!!. I'm a begginner with Hibernate and i'm having a little trouble :S. Running my program i've got the exeption.


This is my class Precio.class.


This is my mapping file PreciosV2.hbm



And i'm trying to use from the class ManejadorPrecio.class



And i've got the output:


Anyone has any idea? i'm totally stuck!

Thanks a lot in advance!
Alberto Dousdebes
Greenhorn

Joined: Sep 02, 2008
Posts: 22
found the problem!!!


should be



Thanks!
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

It's always nice to see problems solved this way, well done!


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
 
wood burning stoves
 
subject: Unknown entity: java.lang.Float
 
Similar Threads
Libraries Conflict for Quartz
protecting web services using OpenSSO tutorial
Unexpectedly getting exception in JSF 1.2 (Urgent)
sending mail hangs - no exception thrown, mail not sent
Hibernate-Criteria: Group by column alias