OrientDB Can I create a "cluster" with the java API? - orientdb

Hi my application embedded OrientDB.
I want to create Multi-tenant application système, for my users.
I wonder If I Can create "cluster" with the java API?
thanks

Yes you can and is super easy:
db.addCluster("yourNewCluster");

Related

Is it possible to use Appery to access data from Neo4J Graph Database?

I have a web application that has to be linked with a graph database (Neo4J). Is it possible to read or write data to Neo4J using Appery?
I have chosen Appery because I am a beginner when it comes to databases and Appery seems to be easy in using REST API, as well as there is a free trial.
Feedback would be highly helpful. Thanks in advance.
Edit: I am aware that Neo4J uses Cypher queries. I would like to know if Appery supports Cypher as well.
Side note: The reason I am asking the question here without trying it out is because I dont have an active DB and my application is private due to my company's security policy
You can do that as long as Neo4J database has a REST API. If it does, then you can make calls to it from an Appery app (from Server Code or API Express). Hope this helps.

Connect with Backend Server

I'm new in developing Xamarin app and I'm not a backend developer. I use VS 2017 to develop Mobile App.
Can anyone please give me links how to create a REST API (Json type) to connect with Backend server? I need to retrieve data from my company server.
The app will take many parameters as database name, table name and return a dataset of all the records. I know that the RESTful can be build for specific table but how can I code the RESTful API can take parameters as databases and tables bases on the input on my Xamarin app.
Please help. and how can I display the record in list view on Xamarin app as I did for my Android app. Thank you.
If you have other way to connect with .NET core server.Please tell me solution.
Use Refit, install with nuget. They have very detailed docs and how to use:
https://github.com/reactiveui/refit
You could use Restsharp for your problem: http://restsharp.org/. It's a easy to use and quite popular REST/HTTP Client Libary.

how to use one table in two applications in GORM

i have created two applications in grails under single database now i want to use single table in both applications
eg. from one application admin will create the user login credentials
and from other application user should login using the same table. How can i solve this problem??
Domain class must be shared in both applications to achieve that and be able to use GORM. You can create plugin with common domain classes and use it in both applications. We have it working in both Grails 2.x and 3.x
Just use the same database configuration for both applications.
And if you want to run both at the same time, just run them in different ports
For more information see this post

Multi tenant application in grails with shared DB Separate schema can any one provide any demo app or any good reference for that

I have to make a web application multi-tenant enabled using Shared database separate schema approach. Application is built using Grails and PostgreSQL .
I need to have one single app server using a shared database with multiple schema, each schema per client.
What is the best implementation approach to achieve this? - What needs to be done at the middle tier(app-server) level? - Do I need to have multiple host headers each per client? - How can I connect to the correct schema dynamically based on the client who is accessing the application?
Any links or pointers would be helpful.

What is the UsersConnectionRepository for in Spring Social Facebook?

I'm following the directions here and elsewhere:
https://github.com/SpringSource/spring-social/wiki/Quick-Start
Why do we need to specify a dataSource and UsersConnectionRepository to use Spring Social Facebook? What gets written to our database? Am I supposed to create special tables or modify my Users table?
Yep from the docs ~ For convenience is bootstrapping the schema from a running application, this schema definition is available in the spring-social-core module as a resource at the path /org/springframework/social/connect/jdbc/JdbcUsersConnectionRepository.sql.
From here
http://static.springsource.org/spring-social/docs/1.0.x/reference/html/serviceprovider.html
You might want to take a look at the sample apps here