Leaf with Oracle #553
Replies: 7 comments 6 replies
-
Hi @william-shuman, Thanks so much for the info above. I'm not aware of other sites using Oracle (yet), but would also welcome anyone doing so to jump in here. Unfortunately, Oracle is perhaps the one RDMBS which my team has almost no direct experience with, so the recent support we added for it was based entirely on online documentation regarding syntax, libraries, etc. I tried using Docker with Oracle for a bit but eventually gave up as, if I recall correctly, it was trickier to setup than I expected, but I don't recall the details. Long story short I'd be happy to work with you on each of these items, and thank you already doing some fixes. If you can let us know specific syntax issues you're running into I can work to correct those. We could also talk via email or have a Zoom debug if that would be helpful. Best, |
Beta Was this translation helpful? Give feedback.
-
I work with @william-shuman at Cincinnati Childrens. From our investigation so far, there appears to be a few places where the implementation breaks down:
We've identified a handful of changes in Leaf that would be needed. Additionally it appears that the urit/composure project would also need to be updated as well so that it generates SQL that is Oracle compliant. We're continuing to review. Assuming we are able to get Leaf to be fully functional, we'll create a Issue/PR with the changes for both Leaf and Composure. |
Beta Was this translation helpful? Give feedback.
-
@ndobb it looks like the version of Composure published on GitHub is not version 1.1.0, when I use what is on GitHub as the Leaf dependency I am seeing API changes. Is that expected? Should I base my changes on what is published and refactor Leaf to those changes? |
Beta Was this translation helpful? Give feedback.
-
Hi @nixj14 and @william-shuman - just checking in. How are things going with the Oracle testing? Anything my team can advise on? |
Beta Was this translation helpful? Give feedback.
-
Hi, Has anyone gotten the LEAF app to run against an ORACLE database (OMOP Schema)? We are scoping out installing LEAF on Kubernetes against ORACLE. Is a Windows VM better? Are the errors discussed above regarding Oracle Syntax easily adjusted or am I looking at a large time investment to get this app working against ORACLE? Any help at all is appreciated.
|
Beta Was this translation helpful? Give feedback.
-
Hi Nic, Thank You so much for your quick reponse. I am doing research at this point to determine how much time and cost there might be for my organization, (OCTRI group @ OHSU). We want to stand LEAF up against an ORACLE db and put the API/WEBSERVER on a KUBERNETES container (linux). If there is any special accomodations that need to be made for using ORACLE (OMOP) as the source database that would also be good to know ahead of time. Much Thanks --Sue |
Beta Was this translation helpful? Give feedback.
-
Hi Sue - happy to help. Running Leaf with Kubernetes in a Linux environment is definitely doable (our friends at Johns Hopkins run Leaf this way, for example). Also, OMOP and Leaf work together just fine and we can help advise on setup (we have scripts for populating the Leaf UI for an OMOP DB, for example). The main question is Oracle. While we've done our best to address every issue with using Oracle mentioned by the community (such as the syntax issues above), as I said, we don't use Oracle here at UW so I can't say for sure everything will work smoothly, as I can't test it myself. Oracle at this point may work fine, but I just don't know. If for any reason Oracle didn't work, do you have a fallback RDBMS option? (eg PostgreSQL, MySQL, MSSQL, etc) |
Beta Was this translation helpful? Give feedback.
-
Hi,
Has anyone had success getting Leaf to work with a clinical Oracle database? I've stood up an environment but I'm running into a few issues, some of which I have been able to resolve.
1.) System.Data.OracleClient is linked against a windows shared library (libocc) so it won't work in a Linux environment. I was able to switch to Oracle.ManagedDataAccess.Core to resolve that issue.
2.) Parts of the queries are generated using LINQ to SQL which generates invalid Oracle syntax
3.) Other code paths add generated SQL with invalid Oracle syntax, i.e. invalid characters and keywords
I've been able to run queries by modifying the generated SQL before it is executed but I wanted to reach out to see if others have come up with more robust solutions for a Oracle clinical database.
Thanks!
Billy
Beta Was this translation helpful? Give feedback.
All reactions