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

i fount a bug in "IBatisNet.DataMapper/Commands/DefaultPreparedCommand.cs" line 66 #8

Open
GoogleCodeExporter opened this issue Mar 31, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What version of the MyBatis.NET are you using?
1.9.2
1.6.2

in this method "Create",you just set the "IDbCommand.CommandText" ,but 
some times,"IDbCommand.Connection.ConnectionString" will missing, 


should add 


" 
if (request.IDbCommand.Connection.ConnectionString == "") 
{ 
                request.IDbCommand.Connection.ConnectionString = 
session.SqlMapper.DataSource.ConnectionString; 



} 


" 

is this a bug ?? 


Original issue reported on code.google.com by [email protected] on 11 Aug 2010 at 2:28

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

No branches or pull requests

1 participant