|
I'm using NHibernate primarily against an MSSQL database, where I've used MSSQL schemas for the various tables.
In my NH mapping (HBM) files, I've specified the schema for each table in the mapping as follows:
<?xml version="1.0"?> <hibernate...
Started by VirtualStaticVoid on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You can specify the schema (if you need it) in the configuration file using property default_schema....
SQLite to ignore schema name other than to have a separate set of mappings for every scenario (or preprocessing them before compilation).
|
|
Does anyone know of any specific DSL implementations used to import legacy Oracle database schemas. I have tried to just run db:schema:dump on my existing db I want to port to a new ruby app. However, the rake dies about halfway through with out any error...
Started by mugafuga on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
But if you want to use Rails with some existing Oracle database then you don't need to recreate this schema - you can just point database.yml to this existing database improvements for ....
To maintain schema and not raw SQL.
|
|
I'm trying to figure out how to use NHibernate configuration with mapping to update table schemas, rather than dropping and recreating them.
Currently I'm using the NHibernate.Tool.hbm2ddl.SchemaExport obj with FluentNHibernate to generate the database...
Started by Mark Rogers on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The SchemaUpdate object provides database schema updating, by apparently void Update_an_existing_database_schema() { _cfg = new Configuration(); _cfg.Configure.
Check out SchemaUpdate.
|
Ask your Facebook Friends
|
I know that the title might sound a little contradictory, but what I'm asking is with regards to ORM frameworks (SQLAlchemy in this case, but I suppose this would apply to any of them) that allow you to define your schema within your application.
Is it...
Started by ryeguy on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
The best way to define your database schema is to start with modeling your application going to be hard ....
End up changing the schema by hand anyway, and then you'll be stuck with a brittle database schema my advice.
|
|
What are the differences in database terminology between MsSQL and MySQL?
Can a mysql instance have more than one database? It appears that it can only create different schemas.. However the sql command is "create database".
In MsSQL you can create multiple...
Answer Snippets (Read the full thread at stackoverflow):
This....
An SQL schema is simply a namespace ".".
To database users; each schema is now a distinct namespace that exists independently of the database user incorrectly implemented, overlap with that of the parent-database.
|
|
Hello,
I'm developing applications which can be build partly from modules. For example I would be able to develop some online community which contains the modules 'forum', 'blog', 'gallery', etc.
Currently I have one large database ERM containing all ...
Started by harald on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Unfortunatly the database community....
I then add schema's to the database that corresponds.
I keep separate database build scripts for each modules schema and just note in comments what other modules they are dependent on.
|
|
Hi
I have a migration that runs an SQL script to create a new Postgres schema. When creating a new database in Postgres by default it creates a schema called 'public', which is the main schema we use. The migration to create the new database schema seems...
Started by Chris Knight on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Check your database.yml config file to a new Postgres schema....
Correct-schema-list or this in postgresql_adapter.rb
# Drops a PostgreSQL database # # Example the version of the Rails schema into the schema_info table.
|
|
Is there a way I can generate a database schema from an erlang application like I can do with hibernate.
Started by Emotu Balogun on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You might could write some really messy ugly code that walked a Mnesia database and tried to document the various records, you already have the "schema....
It is by its very design and implementation "schemaless".
Of the Mnesia database.
|
|
Is there a good tool to generate an image of the database schema used in a Rails app?
Started by Readonly on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
It'll take all of the tables and indexes in said database and then write....
Have you tried rake db:schema:dump?
Essentially, make sure that your database.yml file is referencing the database you wish to dump, and then run the command.
|
|
In Microsoft SQL Server 2005, there is the option to store within the database under "Database -> Type -> XML Schema Collection" a XML schema to validate against if you are viewing the database within SQL management studio.
What I need to do is ...
Started by Aaron on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
It's for validating XML stored in an XML column in the database, and for creating XML indexes, and for support of XQuery....
Research, I found that you are able to query the xsd from the database using the xml_schema_namespace for SSMS.
|