-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: writing a query for ORM and OGM?
PostPosted: Thu Jul 16, 2015 8:12 am 
Newbie

Joined: Thu Jul 16, 2015 8:03 am
Posts: 5
hi there,

i test different databases, so far there are mysql, postgresql and mongoDB.
I wrote an insert method that I can use for all three databases.
But until now I didn't find any way to write a function that reads all existing data from a table/collection with all three databases.
so far I used hibernate search and that just worked for mongoDB.

does anybody know an example code or some hints to write that generic query?

Thanks in advance :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.