Maybe I'm wrong, but can you not provide the VersionInfo table name by setting custum meta data (see https://github.com/schambers/fluentmigrator/wiki/Create-custom-metadata-for-the-VersionInfo-table) and set your version table to VERSIONTABLE?Then when you migrate it will look at the correct table?-Julius
--
You received this message because you are subscribed to the Google Groups "FluentMigrator Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentmigrator-goog...@googlegroups.com.
To post to this group, send email to fluentmigrato...@googlegroups.com.
Visit this group at http://groups.google.com/group/fluentmigrator-google-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
You may force NHibernate to quote an identifier in the generated SQL by enclosing the table or column name in backticks in the mapping document. NHibernate will use the correct quotation style for the SQL Dialect(usually double quotes, but brackets for SQL Server and backticks for MySQL).
<class name="LineItem" table="`Line Item`">
<id name="Id" column="`Item Id`"/><generator class="assigned"/></id>
<property name="ItemNumber" column="`Item #`"/>
...
</class>Just tested NHibernate SQL quoted identifiers by adding ' quotes for all our databases using INamingStrategy, and it does not work for SQL server and SQL CE.
-Julius--
-Julius--
-Julius--
Asking around it seems that most Oracle developers uppercase everything and pretty much no one quotes. Like Shane says.Generally, Oracle pull requests are really hard to review as I (personally) know nothing about Oracle and don't use it. We could really use some help with those if there are any volunteers. This issue is typical. I had no idea that the standard was to uppercase all variable names.I run the integration tests for all the databases except Oracle when I review a pull request. Do you run the Oracle tests, Tom? So together with Jet, the Oracle has the worst test coverage and could really use a bit of TLC.//Daniel
Shane,You got some strong arguments. I think you might be right using unquoted as default. This also prevents others from experiencing what you are experiencing.I might not remember all the details correctly (concering NHibernate defaults etc), but I remember we tried a lot of things and we saw a lot of strange behaviors.I think most of it boiled down to trying to support both Postres and Oracle, which where implemented differently in FluentMigrator (I think also in NHibernate), and behaves different internally concerning case sensitivity.
-Julius--
You received this message because you are subscribed to the Google Groups "FluentMigrator Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentmigrator-google-group+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentmigrator-goog...@googlegroups.com.
I hesitate to say I could fulfill the role of an Oracle expert. My skills with Oracle are wide, not deep. Since we use NHibernate to support SqlServer and Oracle from the same code base, we avoid stored procedures and any database specific code.However, I would be glad to help setup an Oracle instance for integration tests. I just need to know where we will do it and have the proper credentials.How should we proceed with our current issue? Should I add another runner context property for QuotedIdentifiers?
Thanks,-Shane
On Wed, Mar 27, 2013 at 5:27 AM, Tom Marien <tomm...@gmail.com> wrote:
Hi
When pulling this pull, i ran all tests on oracle, but there are not much of them.
I think fluentmigrator should grow to a common base framework and provider nugets, like we allready discussed. But to do that we need owners for all the providers, if we do not find them we will cannot support them. I am even thinking of separating the releases and codebases from eachother
Regards
Tom
Op dinsdag 26 maart 2013 19:25:12 UTC+1 schreef Daniel Lee het volgende:
Asking around it seems that most Oracle developers uppercase everything and pretty much no one quotes. Like Shane says.Generally, Oracle pull requests are really hard to review as I (personally) know nothing about Oracle and don't use it. We could really use some help with those if there are any volunteers. This issue is typical. I had no idea that the standard was to uppercase all variable names.I run the integration tests for all the databases except Oracle when I review a pull request. Do you run the Oracle tests, Tom? So together with Jet, the Oracle has the worst test coverage and could really use a bit of TLC.//Daniel
Shane,You got some strong arguments. I think you might be right using unquoted as default. This also prevents others from experiencing what you are experiencing.I might not remember all the details correctly (concering NHibernate defaults etc), but I remember we tried a lot of things and we saw a lot of strange behaviors.I think most of it boiled down to trying to support both Postres and Oracle, which where implemented differently in FluentMigrator (I think also in NHibernate), and behaves different internally concerning case sensitivity.
-Julius--
You received this message because you are subscribed to the Google Groups "FluentMigrator Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentmigrator-google-group+unsubs...@googlegroups.com.
To post to this group, send email to fluentmigrato...@googlegroups.com.
Visit this group at http://groups.google.com/group/fluentmigrator-google-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "FluentMigrator Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentmigrator-goog...@googlegroups.com.
Julius