U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ SQL » SqlArray Join
Re: SqlArray Join [message #4122 is a reply to message #4115] Sun, 23 July 2006 19:15 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Quote:


luzr

Opening session in constructor is really bad thing Smile

I guess this is also because there will only be one DB session but possibly multiple instances of my app window, also performance.



The reson why it is bad thing is that if open fails, you will end with semiconstructed object...

Quote:


I have lots of data that is currently in a spreadsheet. I will use php or perl to parse it out into a usable CSV or something similar. The actual structure of the DB can still be changed. The reason I did not opt for schemas was because I thought it might add a little extra (code size, memory usage) to the final product.


Only a little - and it is also possible to exculde that using #ifdef _DEBUG

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ODBC ?
Next Topic: MS SQL Server connection possible?
Goto Forum:
  


Current Time: Thu Jun 11 16:05:49 GMT+2 2026

Total time taken to generate the page: 0.00643 seconds