Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo/Hibernate]Check for running DB
[Teneo/Hibernate]Check for running DB [message #620119] Thu, 17 July 2008 14:27
Felix is currently offline FelixFriend
Messages: 11
Registered: July 2009
Junior Member
Hi again,
short question:
is there any possibility to check if a database is running and if not,
start one?
right now, if there is no DB running, an exception is thrown in the
hbds.initialize() method. but bad enough i can't catch it in a try/catch
block. (i traced the exception down to the buildSessionFactory, but lost
it then).
is there any (easy ;) ) way to check, (starting is no problem) or do i
have to start it always, just in case?

Previous Topic:MWE on update site
Next Topic:Re: org.eclipse.emf.mwe?
Goto Forum:

Current Time: Sat Dec 09 09:36:58 GMT 2023

Powered by FUDForum. Page generated in 0.01484 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top