Driver mongoDb

MongoDb related issues
Post Reply
epineda
Posts: 2
Joined: Fri Oct 13, 2017 11:14 pm

Driver mongoDb

Post by epineda » Fri Oct 13, 2017 11:26 pm

Hi.

I'm try of install driver mongodb.jar version 3.4.2 of website dbschema.com but I cannot install, I see errors when load

Image

there is other error I need put code mongodb fpr example: 'DBRef', 'ISODate' but it's not support, I think that is version driver mongoDB (this is connect with mongodb driver 1.2, default install dbschema)

Image

Not load with versiondirver mongodb 3.4.2.jar, only mongodb driver 1.2
Image
please help me!.

Thank you so much

support
Posts: 65
Joined: Tue Dec 01, 2015 8:44 am

Re: Driver mongoDb

Post by support » Wed Oct 18, 2017 7:47 am

I think something is wired in your case about the driver.
Please drop the folder .DbSchema from your home directory before starting the application. This will reset all downloaded drivers and will download again the latest from website.
The driver dialog should show the DbSchema jar as well:
mongodrivers.png
mongodrivers.png (35.33 KiB) Viewed 182 times
About the DbRef, could you please provide some examples on how this should be used ?
We have virtual foreign keys in DbSchema. Some examples on using DbRef would be great.

epineda
Posts: 2
Joined: Fri Oct 13, 2017 11:14 pm

Re: Driver mongoDb

Post by epineda » Wed Oct 18, 2017 2:22 pm

Hi
I'm using mongoDB version 3.4 in windows 10

Image

For example, on Tools RoboMongo or Studio 3T, I have collection name : TELF_CLIENTE

Image

other collection name: TELF_SERVICIO

Image

these collections have a virtual relationship. (DBREF)


the data type dbref I created it in the tool

Image

In dbschema the relation is looked at, if it identifies the data types correctly automatically.

Image

I try insert or update, but in Dbschema does not support or recognize data type: ISODate, DBRef, NumberInt.

Image

I think that could to be by the version driver JDBC 1.2, then I try update driver to driver 3.4.2.jar, but when import not show option of configuration.

Thank so much.

Eric

Post Reply