Commit | Line | Data |
3b44ccc6 |
1 | =head1 NAME |
9c82c181 |
2 | |
40dbc108 |
3 | DBIx::Class::Manual::FAQ - Frequently asked questions |
9c82c181 |
4 | |
40dbc108 |
5 | =head1 GENERAL |
ee38fa40 |
6 | |
130c6439 |
7 | =head2 What is the point of this module? Is it a fork of Class::DBI? |
ee38fa40 |
8 | |
40dbc108 |
9 | This is an alternative to L<Class::DBI>, intended to provide greater |
159a8515 |
10 | functionality and simplicity. |
11 | |
40dbc108 |
12 | It is inspired by the L<Class::DBI> framework, and meant to support |
159a8515 |
13 | compability with it, while restructuring the internals and making it |
40dbc108 |
14 | possible to support some new features like self-joins, C<DISTINCT>, |
15 | C<GROUP BY>s and more. |
ee38fa40 |
16 | |
130c6439 |
17 | =head2 What databases does it support? |
ee38fa40 |
18 | |
159a8515 |
19 | At least MSSQL, MySQL, Oracle, PostgreSQL and SQLite. |
20 | |
130c6439 |
21 | =head2 What's the current status of this module? |
ee38fa40 |
22 | |
159a8515 |
23 | This project is still at an early stage, so the maintainers don't make |
24 | any absolute promise that full backwards-compatibility will be |
25 | supported; however, if we can without compromising the improvements |
26 | we're trying to make, we will, and any non-compatible changes will |
27 | merit a full justification on the mailing list and a CPAN developer |
28 | release for people to test against. |
29 | |
130c6439 |
30 | =head2 Where can I go for support? |
ee38fa40 |
31 | |
40dbc108 |
32 | Mailing list: http://lists.rawmode.org/mailman/listinfo/dbix-class/ |
159a8515 |
33 | |
40dbc108 |
34 | SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/ |
159a8515 |
35 | |
40dbc108 |
36 | Wiki: http://dbix-class.shadowcatsystems.co.uk/ |
159a8515 |
37 | |
40dbc108 |
38 | IRC: irc.perl.org#dbix-class |
159a8515 |
39 | |
40dbc108 |
40 | =head1 POSTGRESQL-SPECIFIC PROBLEMS |
159a8515 |
41 | |
40dbc108 |
42 | =head2 Can't get last insert ID; inserts with serial primary keys fail |
159a8515 |
43 | |
40dbc108 |
44 | Older L<DBI> and L<DBD::Pg> versions do not handle C<last_insert_id> |
45 | correctly, causing code that uses auto-incrementing primary key |
46 | columns to fail with a message such as: |
159a8515 |
47 | |
40dbc108 |
48 | Can't get last insert id at /.../DBIx/Class/Row.pm line 95 |
159a8515 |
49 | |
50 | In particular the RHEL 4 and FC3 Linux distributions both ship with |
40dbc108 |
51 | combinations of L<DBI> and L<DBD::Pg> modules that do not work |
52 | correctly. |
159a8515 |
53 | |
40dbc108 |
54 | L<DBI> version 1.50 and L<DBD::Pg> 1.43 are known to work. |
159a8515 |
55 | |
40dbc108 |
56 | =head1 SEE ALSO |
57 | |
58 | =over 4 |
ee38fa40 |
59 | |
40dbc108 |
60 | =item L<DBIx::Class::Manual::Intro> |
61 | |
62 | =back |
63 | |
64 | =cut |