Re: [Pharo-users] Glorp / SQLite3 issue

2016-06-10 Thread Alistair Grant
Hi Offray, On Fri, Jun 10, 2016 at 09:37:58AM -0500, Offray Vladimir Luna C??rdenas wrote: > On 09/06/16 23:39, Alistair Grant wrote: > > [...] > > > > I have seen one other problem with UDBC-SQLite3: if a connection is open > > when the image is saved, it must be manually closed and re-opened a

Re: [Pharo-users] Glorp / SQLite3 issue

2016-06-10 Thread Offray Vladimir Luna Cárdenas
Hi, On 09/06/16 23:39, Alistair Grant wrote: [...] I've been able to define a couple of classes / tables with foreign keys and it is all working fine. I'm still to set up a many-to-many relationship and the more complex queries, but it is all looking good so far. I have seen one other probl

Re: [Pharo-users] Glorp / SQLite3 issue

2016-06-09 Thread Alistair Grant
Hi Pierce, On Thu, Jun 09, 2016 at 10:14:06PM +0800, Pierce Ng wrote: > On Wed, Jun 08, 2016 at 08:25:27PM +0200, Alistair Grant wrote: > > > asking the session to login results in the following: > > > UDBCSQLite3Connection(Object)>>doesNotUnderstand: #queryEncoding > > > PharoDatabaseAccessor>>en

Re: [Pharo-users] Glorp / SQLite3 issue

2016-06-09 Thread Pierce Ng
On Wed, Jun 08, 2016 at 08:25:27PM +0200, Alistair Grant wrote: > > asking the session to login results in the following: > > UDBCSQLite3Connection(Object)>>doesNotUnderstand: #queryEncoding > > PharoDatabaseAccessor>>encoding > > GlorpSession>>loginIfError: > > GlorpSession>>login > > GlorpBookDes

Re: [Pharo-users] Glorp / SQLite3 issue

2016-06-08 Thread stepharo
Thanks Alistair This is a great initiative. Documentation is our shared knowledge. I spent time editing the document but I do not have time and the need for glorp now. Stef Le 8/6/16 à 09:50, Alistair Grant a écrit : Hi All, I'm working my way through some of the examples in PharoInProgre

Re: [Pharo-users] Glorp / SQLite3 issue

2016-06-08 Thread Alistair Grant
On Wed, Jun 08, 2016 at 07:49:13PM +0200, Alistair Grant wrote: > Hi Pierce, > > On Wed, Jun 08, 2016 at 09:22:10PM +0800, Pierce Ng wrote: > > On Wed, Jun 08, 2016 at 09:50:41AM +0200, Alistair Grant wrote: > > > PharoDatabaseAccessor DefaultDriver: GlorpSQLite3Driver. > > > session := GlorpB

Re: [Pharo-users] Glorp / SQLite3 issue

2016-06-08 Thread Alistair Grant
Hi Pierce, On Wed, Jun 08, 2016 at 09:22:10PM +0800, Pierce Ng wrote: > On Wed, Jun 08, 2016 at 09:50:41AM +0200, Alistair Grant wrote: > > PharoDatabaseAccessor DefaultDriver: GlorpSQLite3Driver. > > session := GlorpBookDescriptorSystem sessionForLogin: login. > > Listing 1.12 on page 9

Re: [Pharo-users] Glorp / SQLite3 issue

2016-06-08 Thread Pierce Ng
On Wed, Jun 08, 2016 at 09:50:41AM +0200, Alistair Grant wrote: > PharoDatabaseAccessor DefaultDriver: GlorpSQLite3Driver. > session := GlorpBookDescriptorSystem sessionForLogin: login. Listing 1.12 on page 9 of the PDF says your code is missing a line: session login. The example