Two Laptop Bag*
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 Android Security Essentials Live Lessons this week in the Android forum!
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: 3274

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
Similar Threads
Unexpectedly getting exception in JSF 1.2 (Urgent)
Hibernate-Criteria: Group by column alias
Libraries Conflict for Quartz
sending mail hangs - no exception thrown, mail not sent
protecting web services using OpenSSO tutorial