Re: [fpc-pascal] Database Metadata proposal

2014-06-01 Thread LacaK
Hi Daniel, If I understand correctly, when you will use new GetObjectNames then you must itterate throught returned collection to obtain "schema names" + "object names" (f.e. "table names"). IMO very similar result you can get also with existing implementation, when you use: with SQLQuery1

Re: [fpc-pascal] Database Metadata proposal

2014-06-01 Thread Daniel Gaspary
An Issue was created with the patch: http://bugs.freepascal.org/view.php?id=26254 On Sun, Jun 1, 2014 at 11:28 AM, Daniel Gaspary wrote: > I see no problem. It was just a wrong impression that I had about > TCollectionItem. ___ fpc-pascal maillist -

Re: [fpc-pascal] Java crash when fpc library CallVoidMethod in a thread.

2014-06-01 Thread fredvs
@ Ewald and Sven => many thanks ;-) > The ideal thing would be to find some java mechanism that allows him to >`append` this checksynchronize to `the` main loop, some main-loop hook of sorts. Yep, i will be hyper-interested by that feature... So, until that day will come, i will use a Java-timer

Re: [fpc-pascal] Database Metadata proposal

2014-06-01 Thread Daniel Gaspary
On Sun, Jun 1, 2014 at 11:18 AM, Michael Van Canneyt wrote: >> But I was thinking that TSqlObjectIdenfier could be reused at Data >> Dictionary Units. As a TCollectionItem could be harder to reuse, as it >> will depend of the existence of a TCollection. > > I don't understand what you mean with th

Re: [fpc-pascal] Database Metadata proposal

2014-06-01 Thread silvioprog
2014-06-01 11:18 GMT-03:00 Michael Van Canneyt : > > On Sun, 1 Jun 2014, Daniel Gaspary wrote: > >> On Sun, Jun 1, 2014 at 5:27 AM, Michael Van Canneyt >> wrote: >> >>> Make this a TCollection/TCollectionItem. Generics are not used in the DB >>> units, and they should not be used for consistency.

Re: [fpc-pascal] Database Metadata proposal

2014-06-01 Thread Michael Van Canneyt
On Sun, 1 Jun 2014, Daniel Gaspary wrote: On Sun, Jun 1, 2014 at 5:27 AM, Michael Van Canneyt wrote: Make this a TCollection/TCollectionItem. Generics are not used in the DB units, and they should not be used for consistency. But I was thinking that TSqlObjectIdenfier could be reused at Da

Re: [fpc-pascal] Database Metadata proposal

2014-06-01 Thread Daniel Gaspary
On Sun, Jun 1, 2014 at 5:27 AM, Michael Van Canneyt wrote: > Make this a TCollection/TCollectionItem. Generics are not used in the DB > units, and they should not be used for consistency. But I was thinking that TSqlObjectIdenfier could be reused at Data Dictionary Units. As a TCollectionItem cou

Re: [fpc-pascal] Database Metadata proposal

2014-06-01 Thread Michael Van Canneyt
On Sat, 31 May 2014, Daniel Gaspary wrote: Hi. In December 2012, this[1] thread has brought some ideas about Database metadata, in special the retrieving of Schema names. This[2] wiki page summarizes what was discussed. Some further conclusion after that thread? I agree that using In