Persistent::Sybase 0.50
Sponsored Links
Persistent::Sybase 0.50 Ranking & Summary
File size:
0.010 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
888
Date added:
2007-05-22
Publisher:
David Winters
Persistent::Sybase 0.50 description
Persistent::Sybase is a persistent class implemented using a Sybase database.
SYNOPSIS
use Persistent::Sybase;
use English; # import readable variable names like $EVAL_ERROR
eval { ### in case an exception is thrown ###
### allocate a persistent object ###
my $emp = new Persistent::Sybase($data_source, $username, $password, $table);
### define attributes of the object ###
$emp->add_attribute(empno, ID, Number, undef, 4);
$emp->add_attribute(ename, Persistent, VarChar, undef, 10);
$emp->add_attribute(job, Persistent, VarChar, undef, 9);
$emp->add_attribute(mgr, Persistent, Number, undef, 4);
$emp->add_attribute(hiredate, Persistent, DateTime, undef);
$emp->add_attribute(sal, Persistent, Number, undef, 7, 2);
$emp->add_attribute(comm, Persistent, Number, undef, 7, 2);
$emp->add_attribute(deptno, Persistent, Number, undef, 2);
### query the datastore for some objects ###
$emp->restore_where(qq{
sal > 1000 and
job = CLERK and
ename LIKE M%
}, "sal, ename");
while ($emp->restore_next()) {
printf "ename = %s, emp# = %s, sal = %s, hiredate = %sn",
$emp->ename, $emp->empno, $emp->sal, $emp->hiredate;
}
};
if ($EVAL_ERROR) { ### catch those exceptions! ###
print "An error occurred: $EVAL_ERRORn";
}
ABSTRACT
This is a Persistent class that uses a Sybase database table to store and retrieve objects. This class can be instantiated directly or subclassed. The methods described below are unique to this class, and all other methods that are provided by this class are documented in the Persistent documentation. The Persistent documentation has a very thorough introduction to using the Persistent framework of classes.
SYNOPSIS
use Persistent::Sybase;
use English; # import readable variable names like $EVAL_ERROR
eval { ### in case an exception is thrown ###
### allocate a persistent object ###
my $emp = new Persistent::Sybase($data_source, $username, $password, $table);
### define attributes of the object ###
$emp->add_attribute(empno, ID, Number, undef, 4);
$emp->add_attribute(ename, Persistent, VarChar, undef, 10);
$emp->add_attribute(job, Persistent, VarChar, undef, 9);
$emp->add_attribute(mgr, Persistent, Number, undef, 4);
$emp->add_attribute(hiredate, Persistent, DateTime, undef);
$emp->add_attribute(sal, Persistent, Number, undef, 7, 2);
$emp->add_attribute(comm, Persistent, Number, undef, 7, 2);
$emp->add_attribute(deptno, Persistent, Number, undef, 2);
### query the datastore for some objects ###
$emp->restore_where(qq{
sal > 1000 and
job = CLERK and
ename LIKE M%
}, "sal, ename");
while ($emp->restore_next()) {
printf "ename = %s, emp# = %s, sal = %s, hiredate = %sn",
$emp->ename, $emp->empno, $emp->sal, $emp->hiredate;
}
};
if ($EVAL_ERROR) { ### catch those exceptions! ###
print "An error occurred: $EVAL_ERRORn";
}
ABSTRACT
This is a Persistent class that uses a Sybase database table to store and retrieve objects. This class can be instantiated directly or subclassed. The methods described below are unique to this class, and all other methods that are provided by this class are documented in the Persistent documentation. The Persistent documentation has a very thorough introduction to using the Persistent framework of classes.
Persistent::Sybase 0.50 Screenshot
Persistent::Sybase 0.50 Keywords
Sybase 0.50
EVAL
Sybase database
persistent class
persistent
UNDEF
class
attribute
sal
SYBASE
Persistent::Sybase
PersistentSybase
Persistent::Sybase 0.50
Libraries
Programming
Bookmark Persistent::Sybase 0.50
Persistent::Sybase 0.50 Copyright
WareSeeker periodically updates pricing and software information of Persistent::Sybase 0.50 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Persistent::Sybase 0.50 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
sybase database tutorial
SQL Server
Sybase SQL Server
classic industries
attributes definition
sybase databases
persistent fever
classified ads
undefined
personal attributes
sybase relational database
attributes of jesus
features of sybase database
persistent cough
attributes
classmates
attributes god
persistent pulmonary hypertension
Related Software
Persistent::Base is an Abstract Persistent Base Class. Free Download
Persistent::MySQL is a persistent class implemented using a MySQL database. Free Download
Persistent::Oracle is a persistent class implemented using an Oracle database. Free Download
Persistent::DBI is an Abstract Persistent Class implemented using a DBI Data Source. Free Download
Persistent::mSQL is a persistent class implemented using a mSQL database. Free Download
Persistent::LDAP is a persistent class implemented using a LDAP directory. Free Download
Filesys::Ext2 is a Perl interface to ext2 and ext3 filesystem attributes. Free Download
webcam_server is a webcam server enabling streaming video to a Web browser via Java. Free Download
Latest Software
Popular Software
Favourite Software