Persistent::Oracle 0.50
Sponsored Links
Persistent::Oracle 0.50 Ranking & Summary
File size:
0.011 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
891
Date added:
2007-05-19
Publisher:
David Winters
Persistent::Oracle 0.50 description
Persistent::Oracle is a persistent class implemented using an Oracle database.
SYNOPSIS
use Persistent::Oracle;
use English; # import readable variable names like $EVAL_ERROR
eval { ### in case an exception is thrown ###
### allocate a persistent object ###
my $emp = new Persistent::Oracle(dbi:Oracle:ORCL,
scott, tiger, emp);
### 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 an Oracle 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::Oracle;
use English; # import readable variable names like $EVAL_ERROR
eval { ### in case an exception is thrown ###
### allocate a persistent object ###
my $emp = new Persistent::Oracle(dbi:Oracle:ORCL,
scott, tiger, emp);
### 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 an Oracle 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::Oracle 0.50 Screenshot
Persistent::Oracle 0.50 Keywords
Oracle 0.50
EVAL
persistent class
Oracle Database
persistent
UNDEF
class
attribute
oracle
sal
Persistent::Oracle
PersistentOracle
Persistent::Oracle 0.50
Libraries
Programming
Bookmark Persistent::Oracle 0.50
Persistent::Oracle 0.50 Copyright
WareSeeker periodically updates pricing and software information of Persistent::Oracle 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::Oracle 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
attributes definition
classic industries
oracle database software
persistent fever
undefined
classified ads
personal attributes
attributes of jesus
oracle database link
persistent cough
attributes
classmates
what is oracle database sql server
attributes god
persistent pulmonary hypertension
define attribute
classic auto trader
undefeated
Related Software
Persistent::Sybase is a persistent class implemented using a Sybase database. 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
Persistent::Base is an Abstract Persistent Base Class. Free Download
Persistent::MySQL is a persistent class implemented using a MySQL database. Free Download
Persistent::DBI is an Abstract Persistent Class implemented using a DBI Data Source. Free Download
PowerDNS Oracle Backend provides a backend which allows PowerDNS to use Oracle as its data store. Free Download
Oracle::SQL is a Perl extension for building SQL statements. Free Download
Latest Software
Popular Software
Favourite Software