I can call startup script by adding INIT=RUNSCRIPT FROM 'blah.sql' in the connection string. But still interesting to see why the URL is null
On May 2, 5:21 pm, Anthony <[email protected]> wrote: > Hi, > > I've implemented a DatabaseEventListener; When thedatabaseengine > calls DatabaseEventListener#init(url) the url parameter passed into > the method is null. > > Is this intentional? I need the correctdatabaseconnection url > because I need to create a fewfunction aliaswhen the in-memorydatabasestartup. > > Or is there an easier way to get aDatabaseConnection within a > DatabaseEventListener? > > Thanks, > Anthony -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
