EOF access with no lock warnings
EOF access with no lock warnings
- Subject: EOF access with no lock warnings
- From: Jonathan Rochkind <email@hidden>
- Date: Thu, 25 Mar 2004 15:26:17 -0600
So, now that I've finally figured out how to turn on EOF "access with
no lock warnings"....
It kind of looks to me like every time a new EODatabaseContext is
created by EOF, I get one of these warnings. I don't think it's
anything I'm doing wrong. Can anyone confirm this?
Here's what the stack trace looks like:
at
com.webobjects.eoaccess.EODatabaseContext._EOAssertSafeMultiThreadedAccess(EODatabaseContext.java:4425)
at
com.webobjects.eoaccess.EODatabaseContext.setDelegate(EODatabaseContext.java:1897)
at
com.webobjects.eoaccess.EODatabaseContext.<init>(EODatabaseContext.java:1008)
at java.lang.reflect.Constructor.newInstance(Native Method)
at
com.webobjects.foundation._NSUtilities.instantiateObject(_NSUtilities.java:529)
at
com.webobjects.eoaccess.EODatabaseContext.registeredDatabaseContextForModel(EODatabaseContext.java:1111)
at
com.webobjects.eoaccess.EODatabaseContext.registeredDatabaseContextForModel(EODatabaseContext.java:1138)
at java.lang.reflect.Method.invoke(Native Method)
at com.webobjects.foundation.NSSelector.invoke(NSSelector.java:354)
at
com.webobjects.foundation.NSSelector._safeInvokeSelector(NSSelector.java:108)
at
com.webobjects.eoaccess.EODatabaseChannel.setEntity(EODatabaseChannel.java:114)
at
com.webobjects.eoaccess.EODatabaseChannel.setCurrentEntity(EODatabaseChannel.java:143)
at
com.webobjects.eoaccess.EODatabaseChannel._setCurrentEntityAndRelationshipWithFetchSpecification(EODatabaseChannel.java:723)
at
com.webobjects.eoaccess.EODatabaseChannel._selectWithFetchSpecificationEditingContext(EODatabaseChannel.java:790)
at
com.webobjects.eoaccess.EODatabaseChannel.selectObjectsWithFetchSpecification(EODatabaseChannel.java:216)
at
com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3179)
at
com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3320)
at
com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:535)
at
com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4016)
at
com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4395)
[My own code begins here, calling objectsWithFetchSpecification]
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.