Hi all,
I'm pleased to announce the release of Glorp-SQLite3 for Pharo 5. Written and tested on 64-bit Linux Mint 17. You'll need to place the 32-bit libsqlite3.so where your Pharo 5 VM can find it. Take a fresh Pharo 5 image. Run the following: Gofer it smalltalkhubUser: 'TorstenBergmann' project: 'UDBC'; configuration; load. (Smalltalk at: #ConfigurationOfUDBC) loadBleedingEdge. Gofer it smalltalkhubUser: 'DBXTalk' project: 'Garage'; configurationOf: 'GarageGlorp'; load. #ConfigurationOfGarageGlorp asClass project stableVersion load. Gofer it smalltalkhubUser: 'DBXTalk' project: 'Glorp'; package: 'Glorp-SQLite3'; load. GlorpSQLite3CIConfiguration new configureSqlite3. GlorpDemoTablePopulatorResource invalidateSetup. Then run the Glorp tests in TestRunner. You should get 889 passing tests, with 12 tests skipped. The database file is sodbxtestu.db in your image directory. Feedback welcome. Pierce -- You received this message because you are subscribed to the Google Groups "glorp-group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/glorp-group. For more options, visit https://groups.google.com/d/optout. |
Hi. Good job. Does queries block image? 2016-06-05 15:44 GMT+02:00 Pierce Ng <[hidden email]>: Hi all, You received this message because you are subscribed to the Google Groups "glorp-group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/glorp-group. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by Pierce Ng-3
This is excellent news Pierce.
Thank you very much for your collaboration. I loaded the package as per your instructions, and all the tests are passing! Regarding the load script, since you don't use Garage and use UDBC instead, you can load Glorp directly, as per the following. Gofer it smalltalkhubUser: 'TorstenBergmann' project: 'UDBC'; configuration; load. (Smalltalk at: #ConfigurationOfUDBC) loadBleedingEdge. Gofer it smalltalkhubUser: 'DBXTalk' project: 'Glorp'; configurationOf: 'Glorp'; load. #ConfigurationOfGlorp asClass project stableVersion load. Gofer it smalltalkhubUser: 'DBXTalk' project: 'Glorp'; package: 'Glorp-SQLite3'; load. GlorpSQLite3CIConfiguration new configureSqlite3. GlorpDemoTablePopulatorResource invalidateSetup. Regards! Esteban A. Maringolo 2016-06-05 10:44 GMT-03:00 Pierce Ng <[hidden email]>: > Hi all, > > I'm pleased to announce the release of Glorp-SQLite3 for Pharo 5. > > Written and tested on 64-bit Linux Mint 17. You'll need to place the 32-bit > libsqlite3.so where your Pharo 5 VM can find it. > > Take a fresh Pharo 5 image. Run the following: > > Gofer it > smalltalkhubUser: 'TorstenBergmann' project: 'UDBC'; > configuration; > load. > (Smalltalk at: #ConfigurationOfUDBC) loadBleedingEdge. > > Gofer it > smalltalkhubUser: 'DBXTalk' project: 'Garage'; > configurationOf: 'GarageGlorp'; > load. > #ConfigurationOfGarageGlorp asClass project stableVersion load. > > Gofer it > smalltalkhubUser: 'DBXTalk' project: 'Glorp'; > package: 'Glorp-SQLite3'; > load. > > GlorpSQLite3CIConfiguration new configureSqlite3. > GlorpDemoTablePopulatorResource invalidateSetup. > > Then run the Glorp tests in TestRunner. You should get 889 passing tests, with > 12 tests skipped. The database file is sodbxtestu.db in your image directory. > > Feedback welcome. > > Pierce > > -- > You received this message because you are subscribed to the Google Groups "glorp-group" group. > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. > To post to this group, send email to [hidden email]. > Visit this group at https://groups.google.com/group/glorp-group. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "glorp-group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/glorp-group. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by Denis Kudriashov
On Sun, Jun 05, 2016 at 07:48:08PM +0200, Denis Kudriashov wrote:
> Does queries block image? The driver uses Pharo's FFI functionality which to my understanding is blocking. Pierce -- You received this message because you are subscribed to the Google Groups "glorp-group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/glorp-group. For more options, visit https://groups.google.com/d/optout. |
2016-06-06 15:24 GMT+02:00 Pierce Ng <[hidden email]>:
And there is no asynchronous API for queries? (in libsqlite3.so) You received this message because you are subscribed to the Google Groups "glorp-group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/glorp-group. For more options, visit https://groups.google.com/d/optout. |
On Mon, Jun 06, 2016 at 06:07:30PM +0200, Denis Kudriashov wrote:
> 2016-06-06 15:24 GMT+02:00 Pierce Ng <[hidden email]>: > > The driver uses Pharo's FFI functionality which to my understanding is > > blocking. > > > And there is no asynchronous API for queries? (in libsqlite3.so) SQLite's C API supports a callback mechanism, by which an application-supplied callback function is invoked for each row of data. However, I haven't built that callback mechanism for the Pharo SQLite3 wrapper, and it remains to be seen whether the Pharo VM will run other Smalltalk code when it is invoked by callback. Pierce -- You received this message because you are subscribed to the Google Groups "glorp-group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/glorp-group. For more options, visit https://groups.google.com/d/optout. |
Free forum by Nabble | Edit this page |