| 
					
						 Hi everyone,
 
 I've been using Hibernate for a while now and everything seems to be going okay.   I'm beginning to implement the DAO's for the objects.  Focusing on "Retrieve" as a parser will be written to insert the data.
 
 I have a problem that I haven't been able to find a solution for.  
 
 I created the tables using a java class called execute.  Within this class I have been setting the values for the fields just as a test.  These values were inserted successfully.
 
 I am now wanting to test the data access objects I have been creating.
 
 And here's my problem:
 
 When I run the manager class which has my retrieve method, the values I set in the database are deleted as the program creates the tables again.  
 
 I tried to:
 
 - Block out the references to the mapping file in hibernate.cfg.xml - no luck - an error occur asking for the "X" Mapping file.
 
 - Take out the execute methods that create the tables and set the values.
 
 If you could help that would be great, please post your suggestion.  I know this is one of those things that is really hard to help with.
 
 Thanks, Alyssa. 
					
  
						
					 |