Changes for page The EOModel

Last modified by Pascal Robert on 2012/03/10 15:42

From version 29.1
edited by Pascal Robert
on 2012/03/10 10:30
Change comment: There is no comment for this version
To version 15.1
edited by Pascal Robert
on 2012/03/10 08:32
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -347,23 +347,10 @@
347 347  
348 348  == EOGenerator ==
349 349  
350 -For many years, a tool called **EOGenerator** was used by many developers to use the Generation Gap Pattern on the Enterprise Objects. Since **EOGenerator** was using a ObjectiveC <-> Java that Apple killed in Mac OS X 10.5, a 100% Java tool, **Veogen**, was added to WOLips, so by default everyone is now using it.
351 -
352 -By using **Veogen**, when you create a new EO entity in your data model, two Java class will be generated, one called //EntityName.java, and the other EntityName.java. The class starting with the underscore will be regenerated every time you modify the entity in the model, if you want to change something in that class, you need to change the template. The class without the underscore is the place where you can add other variables or methods.//
353 -
354 354  == Handling Blob Data ==
355 355  
356 356  == Connection Dictionary ==
357 357  
358 -In each EOModel, you can store one or many database configurations. A database configuration consists of the prototype selection for your database (MySQL, H2, etc.), the adaptor (99% of the time, it's JDBC), the URL (JDBC connection string), the username and password to connect to the datastore, the driver (JDBC driver name) and the name of the EOAdaptor plugin.
359 -
360 -If you wish
361 -
362 -#dbConnectUserGLOBAL=
363 -#dbConnectPasswordGLOBAL=
364 -dbConnectURLGLOBAL = jdbc:h2:file:,,/politimo
365 -dbConnectPluginGLOBAL = H2PlugIn,,
366 -
367 367  == Runtime Selection of the Connection Dictionary and Prototypes ==
368 368  
369 369  == Debugging JDBC Connections and Jdbc2info ==