JDBC support? - Maybe via the CPython+Jython supported JayDeBeApi package?

106 views
Skip to first unread message

Alec Taylor

unread,
Feb 11, 2015, 6:15:06 AM2/11/15
to peewe...@googlegroups.com
Attempting to connect to Hadoop-based SQL layers, which are [practically] all written in JVM languages.

Sure, I can use something like JayDeBeApi, but I would prefer proper object mapping.

How would I go about interfacing with e.g.: peewee-orm?

Thanks for all suggestions

Charles Leifer

unread,
Feb 11, 2015, 9:27:37 AM2/11/15
to peewe...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "peewee-orm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to peewee-orm+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bastian Bowe

unread,
Mar 24, 2015, 3:00:19 AM3/24/15
to peewe...@googlegroups.com
You could write a driver for peewee-orm. If you want a general solution you would still need to write a dialect for different databases as peewee needs now for postgres, sqlite etc.. Check out popular ORM Mappers like Hibernate or Eclipselink. For each DB you need a proper JDBC driver and a matching dialect.

If you're going to implement something like that please be invited to also contribute to JayDeBeApi if you get to the limits of my library. (It's newest version is hosted at github https://github.com/baztian/jaydebeapi)

Regards

Bastian
Reply all
Reply to author
Forward
0 new messages