dbix::class::storage::dbi::autocast(3) [osx man page]
DBIx::Class::Storage::DBI::AutoCast(3) User Contributed Perl Documentation DBIx::Class::Storage::DBI::AutoCast(3)NAME
DBIx::Class::Storage::DBI::AutoCast - Storage component for RDBMS requiring explicit placeholder typing
SYNOPSIS
$schema->storage->auto_cast(1);
DESCRIPTION
In some combinations of RDBMS and DBD drivers (e.g. FreeTDS and Sybase) statements with values bound to columns or conditions that are not
strings will throw implicit type conversion errors.
As long as a column data_type is defined and resolves to a base RDBMS native type via "_native_data_type" as defined in your Storage
driver, the placeholder for this column will be converted to:
CAST(? as $mapped_type)
This option can also be enabled in connect_info as:
on_connect_call => ['set_auto_cast']
connect_call_set_auto_cast
Executes:
$schema->storage->auto_cast(1);
on connection.
Used as:
on_connect_call => ['set_auto_cast']
in connect_info.
AUTHOR
See "CONTRIBUTORS" in DBIx::Class
LICENSE
You may distribute this code under the same terms as Perl itself.
perl v5.16.2 2012-08-16 DBIx::Class::Storage::DBI::AutoCast(3)
Check Out this Related Man Page
DBIx::Class::Storage::DBI::Sybase::ASE::NoBindVars(3) User Contributed Perl Documentation DBIx::Class::Storage::DBI::Sybase::ASE::NoBindVars(3)NAME
DBIx::Class::Storage::DBI::Sybase::ASE::NoBindVars - Storage::DBI subclass for Sybase ASE without placeholder support
DESCRIPTION
If you're using this driver then your version of Sybase or the libraries you use to connect to it do not support placeholders.
You can also enable this driver explicitly using:
my $schema = SchemaClass->clone;
$schema->storage_type('::DBI::Sybase::ASE::NoBindVars');
$schema->connect($dsn, $user, $pass, \%opts);
See the discussion in "Using ? Placeholders & bind parameters to $sth->execute" in DBD::Sybase for details on the pros and cons of using
placeholders.
One advantage of not using placeholders is that "select @@identity" will work for obtaining the last insert id of an "IDENTITY" column,
instead of having to do "select max(col)" in a transaction as the base Sybase driver does.
When using this driver, bind variables will be interpolated (properly quoted of course) into the SQL query itself, without using
placeholders.
The caching of prepared statements is also explicitly disabled, as the interpolation renders it useless.
AUTHORS
See "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::Sybase::ASE::NoBindVars(3)
Hi All...
I have never really touched any form of unix so any help would be appraciated.
I am looking at creating/building another PC to add to my network for storage purposes only.
Would unix be the best OS to use in this situation as all I have available to me is a very low end PC.
As... (10 Replies)
Hi.
I've been working with UNIX/Linux for several years, but never in a VSF environment where I actually got to use any of it.
I downloaded the basic package for free (Don't worry, Symantec now allows for this for limited use) and intend to try this out on Linux and Solaris (also not my... (2 Replies)
Hey All,
I had some minor questions regarding Sun's open storage
I understand it uses standard industry hardware (is the warranty void if we were to mix and match drives?)
I know it uses OpenSolaris for the storage features (but can it use any os?)
Does it have to be OpenSource? I... (7 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 everyone
I would like to hear your opinions about Aix 6.1 and Aix 5.3 with Storage Hitachi the model is USP VM.
We buy it and I want to know day to day task with this storage and Aix.
Thanks for your comments.
Best wishes for this 2010 (2 Replies)
We have 2 controllers in storage
controller A is working, configured in Storage
Controller B is not configured in Storage, but Power supply is connected for controller B.
my query is, for some reason if power goes down for Controller A, wheather it will be redundant using Controllers... (1 Reply)
Hello,
I wanted to simulate SAN on my VMware PLayer running RHEL.
Is there any tool that can be used to simulate storage setup for learning/testing?
THanks, (1 Reply)
It seems like I lost one path on my Solaris-11 box. But I want to make sure before going to Storage team, if issue is from OS side or Storage side. Storage team is able to see that only one wwwn is looged in their switch. I am not at server's physical location. What does below output says ? I... (0 Replies)