| 
							
					| Beginner |  
					|  |  Joined: Thu Sep 30, 2004 4:17 am
 Posts: 21
 | 
				
					| Hibernate version: 
2.1.4
 
 Mapping documents:
 
 Code between sessionFactory.openSession() and session.close():
 
 Full stack trace of any exception that occurs:
 
 Name and version of the database you are using:
 
 The generated SQL (show_sql=true):
 
 Debug level Hibernate log excerpt:
 
 
 I have a POJO that is mapped to a database table. I am passing this POJO from the EJB layer to the web-tier. The web-tier updates the POJO model object and sends it back to the EJB to persist. Everything works fine until this.
 
 Now, the web-tier needs to put some *extra* information into the POJO model object. For this, I need additional fields in my POJO. Can I add additional fields to my POJO class without affecting Hibernate?
 
 Any help is appreciated.
 
 
 |  |