1. ClassCastException - merge() with one-to-one on FK forum.hibernate.orgExpert Joined: Wed Apr 06, 2005 5:03 pm Posts: 273 Location: Salt Lake City, Utah, USA Hibernate version: 3.1 All the mapping files, code, logs, etc. are below. I am getting a ClassCastException when calling merge() on an object (Station) that has a dependent object (StationState) with a one-to-one foreign key. Here are my tables (generated by Hibernate Tools from mapping ... |
2. ClassCastException with one-to-many joined using non-PK cols forum.hibernate.orgAuthor Message russeaid Post subject: ClassCastException with one-to-many joined using non-PK cols Posted: Wed Sep 20, 2006 3:34 am Newbie Joined: Mon Sep 11, 2006 11:13 am Posts: 3 Location: Germany Need help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version: 3.1 Mapping documents: pls see below for code Code between sessionFactory.openSession() and session.close(): private void findT_BASKET() ... |