#10 documentation for Firebird schema management

closed-fixed
nobody
None
5
2003-02-26
2003-01-08
No

Added the following to the Table Creation section of
schema_management.html:

<p>
Auto-table creation does not work with the Firebird
database.
In Firebird, data definition language is not autocommitted
and is executed at the end of a transaction, after any
data modification language. This makes "on the fly"
table creation
in the middle of a data modification language
transaction not work.
Instead, you can use TJDO's SchemaManager to explicitly
create
the tables for your persistent classes. (But, you
still need to
enable auto-table creation mode.) For example,
<blockquote><pre>
SchemaManagerFactory.getSchemaManager(pmf.getPersistenceManager()).addClasses(
new Class[] {
Foo.class,
Bar.class
}
);
</pre></blockquote>
</p>

Also added a note and reference to this in the
autoCreateTables configuration properties part of
index.html.

Note that schema_management.html also contains the
update from the patch I posted earlier today, about
underscores in SQL identifiers.

Discussion

  • J. David Beutel

    J. David Beutel - 2003-01-08

    modified

     
    Attachments
  • J. David Beutel

    J. David Beutel - 2003-01-08

    modified

     
  • Mike Martin

    Mike Martin - 2003-02-26

    Logged In: YES
    user_id=582193

    I added a note to the DBMS Compatibility page based on your
    text. Thanks for the submission.

    Mike

     
  • Mike Martin

    Mike Martin - 2003-02-26
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks