NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Klaus Martinschitz Posted via mailing list.
|
Posted: Fri Sep 04, 2009 2:29 pm Post subject: SQL Filesystem |
|
|
Hi!
Does anyone of you thin that it is a good idea to write a Filesystem and
corresponding FileObject and DataObjects for a sql table? Is such an
implementation available in the Netbeans platform?
Thanks,
Bye,
Klaus |
|
| Back to top |
|
 |
bruehlicke Posted via mailing list.
|
Posted: Fri Sep 04, 2009 2:36 pm Post subject: SQL Filesystem |
|
|
Yea - wouldn't that bee cool to have ! I have been dreaming about this
for a while and had no time to look at it. But the idea could be to
wrap tables and make them look like DataObjects with CRUD accessors. I
have seen this being done like to for example ESRI shapefiles where
there exist a JDBC driver to the shape files. I.e. the shapefiles are
exposed as if they were a relational database - really nice.
That would make the full NetBeans FileSystem API available for
relational databases.
B-)
On Fri, Sep 4, 2009 at 9:29 AM, Klaus
Martinschitz<address-removed> wrote:
| Quote: | Hi!
Does anyone of you thin that it is a good idea to write a Filesystem and
corresponding FileObject and DataObjects for a sql table? Is such an
implementation available in the Netbeans platform?
Thanks,
Bye,
Klaus
|
|
|
| Back to top |
|
 |
Tim Boudreau Posted via mailing list.
|
Posted: Sun Sep 06, 2009 7:58 am Post subject: SQL Filesystem |
|
|
Klaus Martinschitz wrote:
| Quote: |
Hi!
Does anyone of you thin that it is a good idea to write a Filesystem and
corresponding FileObject and DataObjects for a sql table? Is such an
implementation available in the Netbeans platform?
|
It probably depends on the performance of your database connection and the
amount of data you're going to be moving around.
The negative side of this sort of approach is that you are not enforcing any
threading model, so any thread can potentially talk to your database - which
could mean freezing up the AWT thread. If it is small and fast, and you're
sure it will stay that way (i.e. the database is always local to the machine
the app is running on, etc.) it could be convenient.
I don't know of any such implementation, but it wouldn't surprise me at all
if somebody has done something like that somewhere out there.
-Tim
--
View this message in context: http://www.nabble.com/SQL-Filesystem-tp25295423p25315415.html
Sent from the Netbeans RCP/Platform Users (Open API) mailing list archive at Nabble.com. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|