Re: Core Data with ODBC databases?

2013-10-21 Thread Mikael Hakman
without locking other users and applications. /Mikael On Oct 18, 2013, at 10:23 PM, Mikael Hakman wrote: > Good thinking Noah, very good indeed. > > I was blinded by how I currently do things in my Persistent Store for ODBC. > You are quite right, when using optimistic transaction cont

Re: modal window and quit menu item

2013-10-18 Thread Mikael Hakman
Is it an error message that you display at the time your user quits the application? /Mikael On Oct 19, 2013, at 1:35 AM, trid...@ihug.co.nz wrote: > > > I have done a net search concerning the problem and I have found > discussions on it, but no solution. > > Problem : quit menu stays acti

Re: Core Data with ODBC databases?

2013-10-18 Thread Mikael Hakman
o. Where did I > go wrong? > > -Noah > > > > On Oct 18, 2013, at 9:12 AM, Mikael Hakman wrote: > >> Both of you, Jens and Chris, are right. Core Data uses transactions >> internally for each NSFetchRequest and NSSaveChanges request. However, the >>

Re: Core Data with ODBC databases?

2013-10-18 Thread Mikael Hakman
Both of you, Jens and Chris, are right. Core Data uses transactions internally for each NSFetchRequest and NSSaveChanges request. However, the transactions are not available in the user application. Let's consider the above mentioned banking application - a clerk making a withdrawal or deposit o

Re: Core Data with ODBC databases?

2013-10-16 Thread Mikael Hakman
In the case of the second, it would be possible to create a layer much like > BaseTen was for PostgreSQL, but honestly, the XCmodeler lacks too many > features to make this practical. > > > Dru > > On Oct 16, 2013, at 6:58 AM, Mikael Hakman wrote: > >> I used the

Re: NSTextView without word wrap

2013-10-16 Thread Mikael Hakman
Works as advertised. Many thanks. /Mikael On Oct 16, 2013, at 7:55 AM, Jens Alfke wrote: > > On Oct 12, 2013, at 2:42 PM, Mikael Hakman wrote: > >> How can I make NSTextView not to do word wrap? Thanks. > > Basically you have to make the view’s text container infinite

Re: Core Data with ODBC databases?

2013-10-16 Thread Mikael Hakman
I used the NSIncrementalStore to create an OdbcStore so that you can use Core Data with ODBC databases. You find it on https://github.com/mhakman/osx-cocoa-odbc. /Mikael On Oct 16, 2013, at 12:12 PM, Zac Bowling wrote: > CoreData is not an ORM. It's a object database that happens to use SQLit

NSTextView without word wrap

2013-10-15 Thread Mikael Hakman
How can I make NSTextView not to do word wrap? Thanks. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubs

Re: Correct way to change NSPersistentDocument subclass MOC type?

2013-10-15 Thread Mikael Hakman
On Oct 11, 2013, at 12:37 PM, Rick Mann wrote: In ManagedObjectContext there is method – initWithConcurrencyType:. Perhaps you can use it. /Mikael > I want to change my NSPersistentDocument subclass to use a different > concurrency type. But I can't find a way to override -managedObjectConte

Core Data Persistent Store for ODBC

2013-10-15 Thread Mikael Hakman
I have working Core Data Persistent Store for ODBC. If you are interested see https://github.com/mhakman/osx-cocoa-odbc. Thanks. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list