nhibernate / nhibernate.mysqlconnector Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU Lesser General Public License v2.1
License: GNU Lesser General Public License v2.1
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.github/workflows/pack.yml
actions/checkout v4
actions/setup-dotnet v4
Directory.Build.props
Microsoft.NETFramework.ReferenceAssemblies 1.0.3
GitVersion.MsBuild 5.12.0
global.json
dotnet-sdk 8.0.203
src/NHibernate.Driver.MySqlConnector/NHibernate.Driver.MySqlConnector.csproj
NHibernate 5.4.9
MySqlConnector 1.0.0
I wonder if this project is still maintained?
FluentNHibernate 3.1.9
NH 5.3.9
MySqlConnector 1.3.11
NHibernate.Driver.MySqlConnector 2.0.0
Executing the following code doesn't work:
var config = Fluently.Configure()
.Database(MySQLConfiguration.Standard
.ConnectionString("User Id=aaa;Password=bbb;Host=localhost;Port=3306;Database=test;Default Command Timeout=120;Min Pool Size=0;Max Pool Size=100;Connection Lifetime=0;Character Set=utf8;")
.Dialect<MySQLDialect>()
.Driver<MySqlConnectorDriver>()
.ShowSql()
.FormatSql())
.Mappings(x => x.FluentMappings.AddFromAssemblyOf<User>())
.BuildConfiguration();
//var updater = new SchemaExport(config);
//updater.Create(true, true);
var updater = new SchemaUpdate(config);
updater.Execute(true, true);
Note: create does work (but update doesn't)
Hi,
I'm using .net core 2.2 with NHibernate 5.1.3. I forked MySqlConnector and made a version that works with NHibernate but every time I must follow the updates, so I tried your version but I get an error "Could not create the driver from NHibernate.Driver.MySqlConnectorDriver,NHibernate.Driver.MySqlConnector." . the hibernate.cfg.xml is
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
<session-factory>
<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
<property name="dialect">NHibernate.Dialect.MySQL5Dialect</property>
<property name="cache.use_query_cache" >false</property>
<property name="connection.driver_class">NHibernate.Driver.MySqlConnectorDriver,NHibernate.Driver.MySqlConnector</property>
<property name="connection.connection_string">Server=localhost;Port=3307;Database=gsicore;Userid=root;Password=******;Pooling=true;MinPoolSize=5;MaxPoolSize=20;;UseCompression=True;default command timeout=120;Connection Timeout=30;</property>
<mapping assembly="gsiFrameworkNetCore"/>
</session-factory>
</hibernate-configuration>
Can you help and point what I'm doing wrong?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.