-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Oracle Dialect #71
Comments
Hi @SehirBilisim, We made an honest attempt to get the Oracle dialect working properly, but without improved support for user types in the Oracle ODP drivers, this is not possible. Sorry! |
NetTopologySuite has some code to convert mdsys.geometry to SdoGeometry. Maybe @SehirBilisim could take a look at that and implement the Oracle Dialect. |
@peetw Now this is a level of ambition I can admire ;) Do you have some ideas on how to move forward with this? |
@peetw hi, I saw this, https://github.com/mapspiral/NetSdoGeometry , helpful ? |
@peetw I find a bug, public class OracleGeometryWriter et = ElementType.INTERIOR_RING_STRAIGHT_SEGMENTS; |
@peetw I found a bug. oracle when Geomerty. srid = 0, oracle srid = null. so , I change like this
|
private SdoGeometry WritePoint(IGeometry geometry) writePoint , writeWriteLineString , ......... I added this " sdoGeometry.PropertiesToGTYPE(); // by zhou yijun", so , this._sdo_gtype He can have a value ahead of time, so,I can use this class on my own。 |
now, I can use NHibernate.Spatial.Oracle.dll on my own. don't forget change inner to public |
So just to be clear, the Oracle dialect doesn't work with Oracle as it stands? |
@spatialbits I've not had any experience of working with it, so I can't say for sure. However, based on @andrerav 's comment, I doubt it does. We also don't currently release a NuGet package for it either. We're always happy to accept PR's though if you do have success in getting it working :) |
Thanks @peetw . For the time being we're OK with just the SQLServer dialect but Oracle may be needed in the future. |
@spatialbits np :) The pre-release version is not "official" and is based on a very old version of NHibernate (you'll see that it was released in July 2015). The code is currently in the repo, but we do not maintain it or release NuGet packages for it as part of a standard release. |
Hi;
I want to use NHibernate Spatial With Oracle, Can I ?
Thanks
The text was updated successfully, but these errors were encountered: