JDBC does not commit by default. You can specify auto-commit upon establishing connection, though.
-----Original Message----- From: Bayless Kirtley <bk...@cox.net> Sent: Wednesday, June 22, 2022 5:42 PM To: users@netbeans.apache.org Subject: Re: Session question thanks for the suggestion, Gary. I was not committing. My understanding is that JDBC commits everything by default unless set otherwise. Anyway, I added a commit and still no success. Bayless On 6/22/22 12:12, Greenberg, Gary wrote: > Are you committing your changes? > > -----Original Message----- > From: Bayless Kirtley <bk...@cox.net> > Sent: Wednesday, June 22, 2022 5:19 AM > To: List, Netbeans <users@netbeans.apache.org> > Subject: Session question > > I have an application that could really use a local temporary table but I > can't seem to make it work. One class creates and populates the table then > passes the Connection to another class that wants to use it. The second > class sees the table but finds it empty. What am I doing wrong? I am using > hsqldb 2.5.0 in an app that requires Java 8. My development system is Linux > Mint 20. > > Thanks > > Bayless > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > For additional commands, e-mail: users-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwik > i.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists&d > ata=05%7C01%7Cggreenbe%40visa.com%7C4bf8e201dd184a1737c008da54b1586c%7 > C38305e12e15d4ee888b9c4db1c477d76%7C0%7C0%7C637915417916804945%7CUnkno > wn%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiL > CJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=97PCOWMAtJSgE4DF9MWgjcH%2BFAxH > %2Bd8fQkSxwKrhTdE%3D&reserved=0 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > For additional commands, e-mail: users-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwik > i.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists&d > ata=05%7C01%7Cggreenbe%40visa.com%7C4bf8e201dd184a1737c008da54b1586c%7 > C38305e12e15d4ee888b9c4db1c477d76%7C0%7C0%7C637915417916804945%7CUnkno > wn%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiL > CJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=97PCOWMAtJSgE4DF9MWgjcH%2BFAxH > %2Bd8fQkSxwKrhTdE%3D&reserved=0 > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists&data=05%7C01%7Cggreenbe%40visa.com%7C4bf8e201dd184a1737c008da54b1586c%7C38305e12e15d4ee888b9c4db1c477d76%7C0%7C0%7C637915417916804945%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=97PCOWMAtJSgE4DF9MWgjcH%2BFAxH%2Bd8fQkSxwKrhTdE%3D&reserved=0 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists