Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » SQL refactored, adding per-thread option, added second SQLR
Re: SQL refactored, adding per-thread option, added second SQLR [message #38322 is a reply to message #38319] Mon, 10 December 2012 05:24 Go to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
kropniczki wrote on Sun, 09 December 2012 18:10

mirek wrote on Tue, 28 February 2012 08:09


SQL = MySession;
SQL.PerThread();


The syntax is valid, but it might not do what you expect. You need to create and assign a session in each thread again.



Is there an example on how to use it? If not, could you please briefly provide us with a few code lines on how to do it?

thanks!



It is used in e.g. Skylark. See examples/AddressBookWeb.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Testers wanted for new .deb packages
Next Topic: U++ logging refactored
Goto Forum:
  


Current Time: Thu Sep 18 05:35:12 CEST 2025

Total time taken to generate the page: 0.06918 seconds