Search

Help

Page 2 of 13. Showing 125 results (0.053 seconds)

  1. EOF-Using EOF-Memory Management

    Contents Overview Memory Management in Java is a bit of a black art. When combined with EOF, there are certain issues that you need to be aware of. In WebObjects 5.2, there was a major change to the memory management system in EOF that provided support for WeakReferences to EO snapshots rather than only relying
    DocumentationJul 28, 2010
  2. EOF-Using EOF-Primary Keys

    some uncaught exception thrown by some surprised Apple code. Assigning Primary Keys Usually EOF doesn't get around to generating/inserting primary keys until you … , will generate the pk in the same way that EOF would have generated it later, but do it right away. WO:Thanks to Pierre Barnard public void insertObjectWithGlobalID
    DocumentationSep 03, 2007
  3. EOF-Using EOF-Deleting

    Deleting in EOF Usually deleting is pretty easy: Person person; //Assume is an EO that exists EOEditingContext ec = person.editingContext(); //Always make sure you are using the correct editing context ec.deleteObject(person); //Mark the EO for deletion ec.saveChanges(); //Commit A little more robust example: Person
    DocumentationSep 12, 2010
  4. EOF-Using EOF-Fetching

    Overview There are many ways to specify what Entities to fetch using EOF. Model a Fetch Specification in EntityModeler Create a FetchSpecification in code Use … EOGenerator, JavaEOGenerator For complete details please read the EOF Documentation, the rest of this article will give some simple examples of the different kinds
    DocumentationSep 12, 2010
  5. EOF-Using EOF-Undo and Redo

    Overview Can anyone tell me if the NSUndoManager is only used with EOF or can I use it in my own application (not using EOF) ? Undo/Redo can be used with any kind of app (that's why you find NSUndoManager in Foundation and not some higher policy level framework like WOF or EOF). Of course WOF and EOF come
    DocumentationSep 03, 2007
  6. EOF-Using EOF-Context and Database Locking

    are doing more than the usual EOF manipulation, it is advised to lock EOObjectStoreCoordinator in the following situations: When using methods … the usual EOF manipulation, it is advised to lock EODatabaseContext in the following situations: When using methods of EODatabaseContext directly When using
    DocumentationSep 09, 2010
  7. EOF-Modeling-Booleans

    , in WO 5.2, regardless of how you have set the 'value type' in EOModeler, EOF will sometimes automatically convert any numeric db column to a Boolean value. If you … that point), and whenever I save changes to the database, EOF thinks that that attribute has changed from '1' to 'true', and it writes this to the database, even
    DocumentationSep 03, 2007
  8. EOF-Modeling-Overview

    Modeling Enterprise Object Framework (EOF) is an Entity Relational Mapping (ERM) layer that eases data driven application development by abstracting the database schema into Objects. For EOF to know about the parts of the database schema that are important to you, you need to tell it how to map it's Entities
    DocumentationSep 12, 2010
  9. EOF-Using EOF-Overview

    , they have been converted by EOF to full fledged Java objects and can be manipulated as such. The first element of the array is the first row retrieved … or iVar (key). The EOModel defines that mapping including not only the name correspondence, but also the property correspondence so that EOF can take any
    DocumentationSep 03, 2007
  10. Using Strategy Design Pattern with EOF

    Work In Progress Introduction EOF and Entity Modeler allow you to model class inheritance using a number of strategies for mapping the inheritance hierarchy to the database. A complex EOF inheritance hierarchy can sometimes be challenging to implement, unwieldy to maintain, difficult to refactor, complex to add
    DocumentationMay 16, 2008