dbix::class::storage::dbi::uniqueidentifier(3pm) [debian man page]
DBIx::Class::Storage::DBI::UniqueIdentifier(3pm) User Contributed Perl Documentation DBIx::Class::Storage::DBI::UniqueIdentifier(3pm)NAME
DBIx::Class::Storage::DBI::UniqueIdentifier - Storage component for RDBMSes supporting GUID types
DESCRIPTION
This is a storage component for databases that support GUID types such as "uniqueidentifier", "uniqueidentifierstr" or "guid".
GUIDs are generated automatically for PK columns with a supported data_type, as well as non-PK with auto_nextval set.
METHODS
new_guid
The composing class must set "new_guid" to the method used to generate a new GUID. It can also set it to "undef", in which case the user is
required to set it, or a runtime error will be thrown. It can be:
string
In which case it is used as the name of database function to create a new GUID,
coderef
In which case the coderef should return a string GUID, using Data::GUID, or whatever GUID generation method you prefer.
For example:
$schema->storage->new_guid(sub { Data::GUID->new->as_string });
AUTHOR
See "AUTHOR" in DBIx::Class and "CONTRIBUTORS" in DBIx::Class.
LICENSE
You may distribute this code under the same terms as Perl itself.
perl v5.14.2 2011-05-10 DBIx::Class::Storage::DBI::UniqueIdentifier(3pm)
Check Out this Related Man Page
DBIx::Class::Storage::DBI::ACCESS(3) User Contributed Perl Documentation DBIx::Class::Storage::DBI::ACCESS(3)NAME
DBIx::Class::Storage::DBI::ACCESS - Support specific to MS Access
DESCRIPTION
This is the base class for Microsoft Access support.
This driver supports last_insert_id, empty inserts for tables with "AUTOINCREMENT" columns, nested transactions via auto_savepoint, "GUID"
columns via DBIx::Class::Storage::DBI::UniqueIdentifier.
SUPPORTED VERSIONS
This module has currently only been tested on MS Access 2010.
Information about how well it works on different version of MS Access is welcome (write the mailing list, or submit a ticket to RT if you
find bugs.)
USING GUID COLUMNS
If you have "GUID" PKs or other "GUID" columns with auto_nextval you will need to set a new_guid callback, like so:
$schema->storage->new_guid(sub { Data::GUID->new->as_string });
Under Catalyst you can use code similar to this in your Catalyst::Model::DBIC::Schema "Model.pm":
after BUILD => sub {
my $self = shift;
$self->storage->new_guid(sub { Data::GUID->new->as_string });
};
AUTHOR
See "AUTHOR" in DBIx::Class and "CONTRIBUTORS" in DBIx::Class.
LICENSE
You may distribute this code under the same terms as Perl itself.
perl v5.18.2 2013-12-16 DBIx::Class::Storage::DBI::ACCESS(3)
Hi,
I have a Oracle Database on Solaris 5.10 .
Following file are showing with SUID/GUID bits .
-rwsr-xr-x root dba /optware/oracle/10.2.0.2/db/bin/extjob
What will happen if this is changed to oracle dba .
I need to know the will there be a effect if the owner of extjob is... (3 Replies)
Using Solaris 10 with Veritas Storage Foundation running. I want to copy all contents from DISKA LUN1 to DISKB LUN2. What would be the command syntax to do this? (0 Replies)
hi
i am using 6130 sun storage with 72gb*10 harddisk . Client want to increase the storage space. They asked me will it support 300 gb harddisk for the free slots(4 nos).
What procedure i have to follow for inserting new hardisk in this storage.
Storage is in production envirnment.
... (4 Replies)
Hello all,
I have searched high and low for a solution to this, many have come really close but not quite what I'm after.
I have 2 files. One contains GUID's, for example:
8121E002-96FE-4C9C-BC5A-6AFF20DACECD
84468F30-F3B7-418B-81F0-0908E80792BF
A second file, contains a path to the... (8 Replies)