File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Unknown entity: java.lang.Float

Alberto Dousdebes

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

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

should be

Martijn Verburg

Joined: Jun 24, 2003
Posts: 3275

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.
I agree. Here's the link:
subject: Unknown entity: java.lang.Float
It's not a secret anymore!