Changes between Version 8 and Version 9 of StoryConvertPhenoData
- Timestamp:
- 2011-12-01T14:27:54+01:00 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
StoryConvertPhenoData
v8 v9 21 21 * Run the convertor as Java application 22 22 * If you encounter errors, find out what the last part of "our" code was where it went wrong. Probably it's an issue with an entity that's not saved before being flushed. Go to the offending line and find out which entity is the problem. Scroll to the right in the Console to find out which Many-to-One relation of the Entity is the cause. Go to the generated Java class of the entity and uncomment the "cascade" part in the "@ManyToOne" line just above the line where the relation is defined. Re-run. 23 24 Tips from Joris: 25 * Acceptatie moet je opnieuw data inladen! 26 * Test is al ingeladen! 27 * Vergeet niet de persistence.xml aan te passen voor het data inladen van <property name="hibernate.hbm2ddl.auto" value="none"/> 28 naar <property name="hibernate.hbm2ddl.auto" value="create-drop"/> of iets anders als er een nieuwe set komt! 29 * Even eendachtpuntje voordat je de applicatie start vergeet niet dit terug te zetten anders is je database leeg! 30 * Aanpassen naar juiste omgeving <property name="javax.persistence.jdbc.url" value="jdbc:oracle:thin:@//localhost:2000/llptest"/> met b.v. 31 jdbc:oracle:thin:@//orawise01.target.rug.nl:15300/llptest of llpacc 32 * Test- en Acceptatieomgevingen: application23 en 24 23 33 24 34 Short-term to do's (according to Joris)