Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull Request #107

Open
wants to merge 1,302 commits into
base: master
Choose a base branch
from
Open

Pull Request #107

wants to merge 1,302 commits into from

Conversation

lvaleriu
Copy link
Contributor

I've included all your different advancements and added new functionality since the last time :

1° Added the InsertBatchWithIdentity ( which uses oracle bulk options with OdpDataProvider and Batch insertion sql when using GenericDataProvider with UserQueryText = true). In oracle we reach 1500 insertions (with sequences) per sec.
2° Added the "ContainsExactly" string extension and its linq implementation in order to use the sql fonction "Contains"
3° FullMapping optimisation

"Hello
It has been quite some time since we last exchanged some words. I have continued to work on bltoolkit driven by my collegues' and my projects needs and I've tried to get sync with your advancement.

I've added a GenericDataProvider which permits to use any data provider installed on a machine without having a strong link to a specific dataprovider dll (it uses DbProviderFactories concept).
I've added a UseQueryText property on DataProvider Base which permits to generate plain text query instead of using command parameters (It's useful for Oracle when some "select queries" are way to fast in plain text).
I've added an InsertWithIdentity method on SqlQuery object in order to mentain a similitude with the DbManager class.
Some bugs were fixed on JointureAddon which permit now more complex associations.

Would you take a look on these and tell me if it's possible to pull this code into your branch?
Thanks!
Valeriu"

P.S : I dont have VisualBasic installed so I hope there wont be any compilation errors. But dont hesitate to tell me about.

lvaleriu and others added 30 commits June 19, 2012 20:52
…span implemented)

Added DataProviderInterpreters for using specific sql data provider implementations in GenericDataProvider.cs
Tests Updated
AutoRevision set to 3 -> 4.1.9.3
- Use concurrent dictionary and key by connection id instead of custom comparer.
- Removed UpdateConnection from ITransportHeartBeat.
- Release previous connection if Add called twice with same connection id.
- Only perform keep alive logic for transports that support it (SupportsKeepAlive)
- Cleaned up and simplified logic in ITransportHeartBeat.Beat.
…ectly.

- Optimized type conversation so we don't end up parsing JSON twice on hub calls.
…fety in mind.

- Check to make sure we're doing valid state transitions.
- Made State get only and added ChangeSet method which makes sure
  state transitions are valid.
Fixes #474
- Change the state for reconnecting when we're about to open a new connection.
- Added protected method OnSending instead.
- HubConnection no longer has to re/de register events.
- Close EventSourceStreamReader on error.
- Only reconnect if the request isn't aborted.
…d safe invocation.

- Added ThreadSafeInvoker for thread safe fire once delegates.
- Use ThreadSafeInvoker for ServerSentEventsTransport and LongPollingTransport.
- Changed stream.Close to stream.Dispose.
- Only Close the HttpResponse not the stream (since it's unnecessary).
Added Raw/eventSource to samples.
- Added tracing to asp.net samples for the TransportHeartBeat.
- When the connection loop is broken trigger the tcs that holds the request open
  as well as the tcs that only fires after the receive loop as started.
- Don't treat cancelled message bus subscriptions as timed out messages
- Set timeout on response if IsTimedOut is true.
stsrki and others added 22 commits October 29, 2013 16:13
…ping at run time

(
DbManager.SetMappingTypeSequence<T>(sequenceName);
DbManager.SetMappingTypeOwner<T>(ownerName);
)
Conflicts:
	DataProviders/DevartOraclePro/app.config
	DataProviders/DevartOraclePro/packages.config
	Extensions/JointureAddOn/BLToolkit.4.JointureAddOn.csproj
	UnitTests/CS/packages.config
	packages/NUnit.2.6.3/lib/nunit.framework.xml
	packages/NUnit.2.6.3/license.txt
	packages/dotConnect.Express.for.Oracle.8.1.36/content/app.config.transform
	packages/dotConnect.Express.for.Oracle.8.1.36/content/web.config.transform
	packages/dotConnect.Express.for.Oracle.8.1.36/dotConnect.Express.for.Oracle.8.1.36.nuspec

Code refactoring
…pe in the method InsertBatch for OdpDataProvider
@CITnDev
Copy link

CITnDev commented Dec 6, 2013

First of all nice job. It is a very useful framework.

In my poduction environment we are using Oracle databases. After several discussions with Oracle team, there is a case where we have to set the value in the query and not use the the DataParameter : this case is when the column is the partition key. If you use the DataParameter for this field, the explain plan is not optimized.

Thank you in advance to include these optimization.

…hen executing a linq query (with or without UseQueryText = true).

This will cut the DateTime value and take only the Date value, as logically intented by the mapping.
- Code refactoring
…d of TO_TIMESTAMP. Query over indexes/partition columns performances are WAY better when using TO_DATE oracle fonction

- Code refactoring
Conflicts:
	BLToolkit.2012.sln
	packages/FirebirdSql.Data.FirebirdClient.3.0.2.1/FirebirdSql.Data.FirebirdClient.3.0.2.1.nuspec
	packages/FirebirdSql.Data.FirebirdClient.3.2.0.0/FirebirdSql.Data.FirebirdClient.3.2.0.0.nuspec
	packages/FirebirdSql.Data.FirebirdClient.4.0.0.0/FirebirdSql.Data.FirebirdClient.4.0.0.0.nuspec
Conflicts:
	Source/Data/Sql/SqlProvider/BasicSqlProvider.cs
@waheb-benzaid
Copy link

nice job

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.