edvin
01/04/2017, 4:36 PMcarlw
01/04/2017, 4:39 PMjchildress
01/04/2017, 5:03 PMderegister()
?carlw
01/04/2017, 5:04 PMjchildress
01/04/2017, 5:04 PMjchildress
01/04/2017, 5:05 PMedvin
01/04/2017, 5:10 PMscope.deregister()
from the onUndock
, but the scope would be garbage collected either way when there are no more references to the fragment.jchildress
01/04/2017, 5:11 PMedvin
01/04/2017, 5:14 PMedvin
01/04/2017, 5:17 PMron
01/04/2017, 5:26 PMnakamin
01/04/2017, 5:34 PMnakamin
01/04/2017, 5:35 PMron
01/04/2017, 5:40 PMRuckus
01/04/2017, 5:41 PMDriverManager.getConnection("jdbc:sqlite::memory:")
:memory:
is a keyword for creating an in memory database. Change it to the filename of the database if you want it persisted:
DriverManager.getConnection("jdbc:sqlite:storage.db")
nakamin
01/04/2017, 5:43 PMnakamin
01/04/2017, 5:43 PMron
01/04/2017, 5:44 PMron
01/04/2017, 5:44 PMnakamin
01/04/2017, 5:44 PMRuckus
01/04/2017, 5:45 PMRuckus
01/04/2017, 5:45 PMRuckus
01/04/2017, 5:45 PMuser.home
preference if you only need one database for the app.Ruckus
01/04/2017, 5:46 PMSystem.getProperty("user.home")
nakamin
01/04/2017, 5:47 PMuser.home
it is. Thanks 😁Ruckus
01/04/2017, 5:47 PMRuckus
01/04/2017, 5:48 PMuser.home
for app configuration, and let the user choose the location for any "project" specific data.edvin
01/04/2017, 5:48 PMron
01/04/2017, 5:48 PM