Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion Shutting down Ebean
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
edge  
View profile  
 More options Oct 17 2009, 12:16 pm
From: edge <e.mcgr...@imilia.com>
Date: Sat, 17 Oct 2009 09:16:47 -0700 (PDT)
Local: Sat, Oct 17 2009 12:16 pm
Subject: Re: Shutting down Ebean
some if not all of those threads might belong to H2 so you probably
need to shout down H2 to get rid of them

On Oct 17, 5:40 pm, Alex <alxa...@googlemail.com> wrote:

> Hi,

> A quick newbie question: how do we shutdown Ebean? After the main
> thread has finished I have following threads:

> BackgroundThread
> H2 File Lock Watchdog
> H2 Log Writer
> TransactionManager.0
> Timer-0
> Timer-1
> DestroyJavaVM

> I've tryed calling ShutdownManager.shutdown() but I still have

> Timer-0
> Timer-1
> DestroyJavaVM

> running in background.

> Thanks in advance

> alx

> P.S.1: My system

> Ebean 2.1.0
> DB: H2 Version 1.2.121
> java version "1.6.0_16"
> Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
> Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode)
> OS: Ubuntu 8.0.4 LTS

> P.S.2: By the way, I'm very new to Ebean, and its ORM approach seems
> very interesting to me, but I'm having some trouble starting using it.
> I've found the User Guide very good, but it would be very nice to have
> very simple ready to run examples (yes, I've downloaded
> EbeanExampleApp and I'm currently getting acquainted to it) such as:

> Howto 1 - Hello World (with DDL)
> Howto 2 - Saving / Retrieving objects (simple queries)
> Howto 3 - ...

If you download the Ebean source code from SVN you will see lots of
tests - they are pretty good example of how to use Ebean - lots of
queries, saves etc
Hope that helps
Eddie

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.