Bestpractice: Annotation-based ORM frameworks like Hibernate for Adobe AIR?

Question

Is there a commonly used framework for AIR that handles mapping objects to and from the built-in SQLite database? An Annotation-based ORM framework that is to AIR what Hibernate is to Java?

Background

We have an AIR application that runs offline. I need to save/restore complex objects to/from the SQLite database. Some of these ValueObjects contain references to other ValueObjects. For example, an Order object contains a Customer object which contains an Address object.

Ultimately, I'd like to add metadata to my objects, like an [Entity] tag and have persistence "just work," with minimal configuration. I could roll my own ORM solution, effectively writing "Hibernate for AIR" myself, but SURELY someone has already done this.

I've read related posts like Best practices for developing AIR Application with SQLite that advocate creating DAO's, Builders and Services. That's a fine solution but, of course, no one wants to reinvent the wheel if it's not 100% necessary.

Candidates

So far, the best I could find is partial solutions. I'll keep a running list here:

Has a framework emerged for this? Specifically, I'm seeking one like Hibernate that uses Annotations/Metatags to map objects to tables. Are one of the candidates above actually acceptable?

What are you using succesfully?

All input is welcome. Thanks!

Answers


take a look at FxORM. I worked on a couple of AIR projects with it - it worked fine for quite complex data structure.


Need Your Help

Java: how to parse an html string for XML tool consume?

java xml parsing

Which library would allow me to evaluate xpath on an html string ?

Scikit learn SGDClassifier: precision and recall change the values each time

scikit-learn classification precision-recall

I have a question about the precision and recall values in scikit learn. I am using the function SGDClassifier to classify my data.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.