GithubHelp home page GithubHelp logo

doe300 / jactiverecord Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 1.15 MB

An java-based ORM on top of JDBC inspired by Rails ActiveRecord

License: MIT License

Java 100.00%
activerecord database java jdbc orm sql

jactiverecord's People

Contributors

doe300 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

jactiverecord's Issues

Scope

Add scopes to unify condition, order and limit into one data-type.
Add to:
FinderMethods:

  • findWithScope
  • findFirstWithScope
    QueryMethods:
  • withScope

Support MySQL connector/J 6

New features include:

  • Java 8 support. Check extension, can be made use of?
  • X DevAPI: something about better integration of relational DBs into code. Could be very useful

Update to HSQLDB 2.3.4

  • Test UUID as column-type (automatic usage, conversion)
  • make use of multi-thread support?

Roadmap

Future plans:

  • Allow JOIN for conditions, orders and retrieval?
  • Improve/Unify type-mapping DB->records and records->DB

For v0.9:

  • Improve test coverage. Make sure, every method of a class is covered by the Unit-test for this class
  • Implement GraphQL service? (see GraphQL and GraphQL-java)
  • ...

For v0.7:

  • Add support for PropertyChangeListeners for records (optional) See doe300/jactiverecord-extensions
  • Add mechanism to add PropertyChangeListeners to all records of a given type to RecordBase
  • Extend RecordHandler to allow for ProxyHandlers to hok into the attribute getters/setters
  • Add Order to RecordSet and to #getForCondition()
  • Extend Order with support for scalar functions
  • Add table sharding to RecordBase

For v0.6:

  • Unify Migrations for SQL and no-SQL RecordStores
  • Add some common SQL scalar functions
  • Add scalar functions to Conditions (and maybe selection-columns)
  • Reorganize SQL-functions

For v0.5:

  • Add aggregation-functions to RecordBase and RecordSet
  • Create driver for each SQL-dialect to improve compatibility
  • Improve and unifiy Java-to-SQL and SQL-to-Java type-mappings
  • Improve compatibility with currently tested SQL-dialects

For v0.4:

  • ValidationGenerator: generate validation-methods from annotations
  • AssociationGenerator: generate association-methods from annotations. Get/Set for has-one/belongs-to and getAll/add/remove for has-many/has-many-through
  • Improve checking annotation-processors (custom methods, i.e. for converter/validation)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.