File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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.
 
Don't get me started about those stupid light bulbs.
 
subject: Unknown entity: java.lang.Float