Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » JGit with database storage
JGit with database storage [message #826988] Thu, 22 March 2012 14:57 Go to next message
Andrew Hughes is currently offline Andrew Hughes
Messages: 2
Registered: March 2012
Junior Member
Hello all,

I saw that there is a database class that appears to allow JGit to use a database store instead of a filesystem store. I would really like to implement this. I've done some searching and not come up with much (not exhaustive, so apologies if this is a frequent question).

Are there any resources beyond the javadoc explaining how this would be accomplished? I would like to create a web application that used JGit to store and version a tree structure of text files (basically just like a tree of java classes and packages), but I'd rather keep this store in a database than directly on the filesystem.

Are there any tutorials, pre-existing JDBC implementations, or other documents?

Thanks - Andrew
Re: JGit with database storage [message #827008 is a reply to message #826988] Thu, 22 March 2012 15:34 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias Sohn
Messages: 491
Registered: July 2009
Senior Member
I remember that Philipp did a proof of concept using JDBC and a
relational database when the DHT API was designed.
This prototype is here https://github.com/philippthun/jgit_jdbc/

--
Matthias
Re: JGit with database storage [message #827010 is a reply to message #827008] Thu, 22 March 2012 15:35 Go to previous message
Andrew Hughes is currently offline Andrew Hughes
Messages: 2
Registered: March 2012
Junior Member
That definitely helps. Thanks.
Previous Topic:Unable to track some files
Next Topic:configure tracking for a remote branch I just created by pushing a local branch
Goto Forum:
  


Current Time: Wed Apr 16 16:08:20 EDT 2014

Powered by FUDForum. Page generated in 0.02011 seconds