playframework - Using Cassandra and MySQL together with JPA in Play framework -


i use cassandra nosql server rdbms in play 2.3.0!

started build using kundera, according tutorial:

http://recipes4geeks.com/2013/07/06/play-nosql-building-nosql-applications-with-play-framework/

it works fine, , can use pure mysql-jdbc connection, , works if use jdbc cassandra connection , jpa mysql.. .. goal use persistence framework, without handling basic jdbc stuffs!

it looks, problem mentioned in link above:

caution: javajdbc app dependency downloads hibernate-entitymanager jar file interferes kundera. make sure remove app dependency default present.

  • if remove hibernate-entitymanager dependencies, project runs, when wants call persistence.createentitymanagerfactory("mysql") method, play says: no persistence provider... expected.
  • if keep hibernate-entitymanager in dependencies list, beside kundera client, play server shuts down.

is there possibility make work or have replace kundera?

datanucleus jpa supports persistence rdbms around (via jdbc), cassandra, mongodb, neo4j, ldap, hbase , many others. it's cassandra support seems latest versions , uses native cassandra driver (not jdbc) , no chance of conflicts above. can read on at

http://www.datanucleus.org


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -