noirbizarre / airorm Goto Github PK
View Code? Open in Web Editor NEWAn Active Record ORM for Flex/AIR
An Active Record ORM for Flex/AIR
when doing an ActiveRecord#findAll or #findFirst the order by parameter is
ignored in the underlying assembleQuery function which is called by findAll.
~line 565 in ActiveRecord.as
Voir: http://twitter.com/#!/fnicollet/status/121307829402468352
un cache sur les sqlstatement: un dictionnary static, indexé sur le "text" et la SQLConnexion suffit
Reported by [email protected], Aug 30, 2011
findAll() or findFirst() on an ActiveRecord object produces:
Main Thread (Suspended: SQLError: 'Error #3137: An index specified for a parameter was out of range.', details:'variable number must be between ?0 and ?-1', operation:'execute', detailID:'2090')
find() works without issue.
Use Maven and flex-mojo instead of Ant for building AirORM and generate ASDoc.
Integrate unit tests into the maven project.
Generate the maven site and publish it on my personnal website or on github pages.
See:
http://pages.github.com/
http://happygiraffe.net/blog/2009/01/17/github-pages-with-maven/
http://chkal.blogspot.com/2010/09/maven-repositories-on-github.html
https://wiki.jenkins-ci.org/display/JENKINS/Site+Creation+and+Deployment
http://ananthakumaran.in/2010/04/03/github-mavenized.html
Reported by [email protected], Apr 30, 2009
What steps will reproduce the problem?
Reported by [email protected], May 31, 2009
I have two classes related to each other:
[HasOne("secretary",className="Secretary")]
public dynamic class Employer extends ActiveRecord
{
public var name:String;
}
[HasOne("employer",className="Employer")]
public dynamic class Secretary extends ActiveRecord
{
public var name:String;
}
Following code shall trace 'null'
var employer:Employer = new Employer();
employer.name = "Employer 1";
var secretary:Secretary = new Secretary();
secretary.name = "Secretary 1";
employer.secretary = secretary;
employer.save();
//secretary.save();
var newEmployer:Employer = new Employer();
newEmployer.load(employer.id);
trace(newEmployer.secretary);//The output will be NULL here
Import source code, issues and wiki pages from http://code.google.com/p/airorm/
Unit tests should cover every function.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.