English > Development
Pvd locks the Firebird database...
raldo:
Hi,
In my effort to make a plugin for JRiver MediaCenter for PVD import, I have noticed that PVD locks the firebird database (.pvd)
Is it possible to change PVD so that other clients clients can be attached?
I.e. in PVD, disconnect after operations towards the DB are finished... Reconnect when new stuff must be done.
(I noticed that Firebird Maesto also locks the DB...)
nostra:
If you need such functionality then you should install firebird server and connect to the database using the "connect to server" function.
raldo:
--- Quote from: nostra on April 24, 2009, 11:08:55 am ---If you need such functionality then you should install firebird server and connect to the database using the "connect to server" function.
--- End quote ---
Yes, that is one solution, but as far as I understand, a server install is hardly something a casual user would accept (with extra windows OS services etc.)?
I presume that's the reason why you use fbembed.dll too?
nostra:
There is no way unblocking the file if not using the server.
Actually installing the server with default settings does the trick pretty good, so I think it is easy enough for the majority of users.
I do not see anything wrong with running an extra service.
rick.ca:
--- Quote ---I think it is easy enough for the majority of users.
--- End quote ---
True—It works for me! ;)
Once Firebird server is running as a service and and you've "connected to server," it's done—it will do so automatically on startup. The only thing that gave me a bit of trouble was it's so seamless, it's impossible to tell whether it's connected to the server or directly. If that mattered—and it probably doesn't—I can include my computer name or IP address in the connection string, and then that will appear in the title bar. Also, if I want to switch connection methods—and this too seems pointless—I have to disconnect/close the database by opening another, then open/connect the original database.
Navigation
[0] Message Index
[#] Next page
Go to full version