Skip to content
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

Question: Using entity browser #28

Closed
cyberquarks opened this issue Jan 6, 2021 · 1 comment
Closed

Question: Using entity browser #28

cyberquarks opened this issue Jan 6, 2021 · 1 comment
Assignees

Comments

@cyberquarks
Copy link

I have some few questions:

  1. What's the purpose of Database State ON/OFF in the browser?
  2. Can the Xodus Entity Browser manage production database? I understand that you can't open the same environment that is locked by an application, so how can this entity browser work at all?
  3. Does it mean that it manages database that are either copied or synced from a remote server?
@lehvolk lehvolk self-assigned this Jan 8, 2021
@lehvolk
Copy link
Contributor

lehvolk commented Jan 8, 2021

At the moment Entity Browser is used in few ways:

  1. standalone tool to investigate cases in databases or for development purposes
  2. embed Entity Browser into working application

In second case target application already has one or more opened environments. This environments could be served to Entity Browser. Unfortunately Entity Browser has no public build artifacts for both backend and frontend. This could be improved. You could build them yourself as a temporary solution.

What's the purpose of Database State ON/OFF in the browser?

It's for 1 use-case when entity browser used as a standalone tool. You could add some database locally and then release it for other application switching to OFF state.

Can the Xodus Entity Browser manage production database? I understand that you can't open the same environment that is locked by an application, so how can this entity browser work at all?

Yes, Entity Browser could manage production. Actually you can open database from working application but in readonly mode. We use Entity Browser in few applications in production in the embedded way in both readonly and read-write mode. We use RW mode very carefully because our applications using https://github.com/JetBrains/xodus-dnq as a top level framework. Entity Browser uses low level api and as a result all cascades/constraints checks are not checked.

Does it mean that it manages database that are either copied or synced from a remote server?

You could do it this way too.

@lehvolk lehvolk closed this as completed Jan 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants