Hi, here is a simple example: https://github.com/m-m-m/util/blob/master/mmm-util-property/src/test/java/net/sf/mmm/util/bean/impl/example/ExamplePropertyBean.java here is the according test-case to see it in action: https://github.com/m-m-m/util/blob/master/mmm-util-property/src/test/java/net/sf/mmm/util/bean/impl/BeanFactoryImplTest.java#L42
I am just starting with the OrientDB support now but already managed to sync the Schema from OrientDB into the JavaModel and add properties on the fly. Also min/max and pattern constraints are synced from OrientDB into the Java model on the fly. Next I am working on a two-way sync so the Java model is also automatically created in OrientDB. Should be easy to solve. Still a lot of work to be done since spring-data repo is complete based on this, but already looks very promising. I you can not wait to see it up and running consider joining and get in touch. Otherwise wait a few month and you will here from he here with the news... Cheers Jörg Am Dienstag, 9. Februar 2016 08:30:52 UTC+1 schrieb l.garulli: > > Hi Jorg, > > This sounds cool. Could you please write here an example of how it would > be working with POJOs and your project? > > Thanks. > > Best Regards, > > Luca Garulli > Founder & CEO > OrientDB > <http://t.sidekickopen36.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XYg3MhRp0VdV39R8qSMPYW5vw6HK56dLWCf96gZDg02?t=http%3A%2F%2Forientdb.com%2F&si=6613501067132928&pi=324a422e-ebb5-42de-98b5-459833ae83e7> > > > On 7 February 2016 at 18:24, Jörg Hohwiller <[email protected] > <javascript:>> wrote: > >> Hi there, >> >> I just wanted to announce that I started an open-source project based on >> OrientDB that will bring you the dynamic flexibility of OrientDB into your >> Java-Code while you can still have a type-safe model. >> This sounds impossible to you? >> Then have a look at my created property bean solution: >> https://github.com/m-m-m/util/issues/163 >> >> I created this as I am doing Java and IT since almost 20 years now and I >> am totally tiered of writing stupid boiler-plate code in Java such as >> JavaBeans with getters, setters, equals, hashCode, etc. and especially >> because I always wanted to combine the strength of a type-safe data model >> what you typically have in Java with the flexibility of supporting new >> properties at runtime on the fly. >> >> Also I am tiered of RDBMS with inflexible tables no polymorphism, etc. as >> well as with hibernate that first looks nice but after you discover that >> magic lazy proxies and saving of changes as a "side-effect" of TX cause >> more pain than value. >> A few weeks ago I researched the NoSQL DB market and discovered OrientDB >> that perfectly fits to my expectations and demands. >> >> So now I am on my way to combine my dynamic bean solution with OrientDB >> and write a spring-data port mapping to my OrientBean based data model. >> Please not that this is a pre-pre-alpha announcement so rather nothing to >> consider for your business project this year. >> https://github.com/m-m-m/orient/ >> Some interesting spots: >> >> https://github.com/m-m-m/orient/tree/master/bean/src/main/java/net/sf/mmm/orient/bean/api >> >> https://github.com/m-m-m/orient/blob/master/repository/src/main/java/net/sf/mmm/orient/repository/api/OrientBeanRepository.java >> >> https://github.com/m-m-m/orient/blob/master/repository/src/main/java/net/sf/mmm/orient/db/impl/OrientBeanMapperImpl.java >> >> Feedback is most welcome. >> I assume that there is too much just starting for PRs but just in case >> someone should be interested in joining efforts feel free to contact any >> time :) >> >> Cheers >> Jörg >> >> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "OrientDB" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
