Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
一个小问题,如果配置h2为一个非持久性数据库 How can h2 becomes a volatile db?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
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
 
Ds.3783  
View profile   Translate to Translated (View Original)
 More options Sep 19 2011, 11:31 am
From: "Ds.3783" <ds3...@gmail.com>
Date: Mon, 19 Sep 2011 08:31:11 -0700 (PDT)
Local: Mon, Sep 19 2011 11:31 am
Subject: 一个小问题,如果配置h2为一个非持久性数据库 How can h2 becomes a volatile db?
请问,我如何配置,能够使h2成为一个非持久性数据库?
即:当我重启h2运行的JVM后数据库应该是新的空数据库,里面不包含任何表和数据。请问我该如何配置?

What configuration should I do,to make h2 becomes a volatile db?
My requirements:when I reboot the server or the JVM that contains h2,I
need all data and tables are gone.The database after reboot should be
empty,contains no tables and no data.
What should I do?


 
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.
Wendal Chen  
View profile   Translate to Translated (View Original)
 More options Sep 19 2011, 9:24 pm
From: Wendal Chen <wendal1...@gmail.com>
Date: Tue, 20 Sep 2011 09:24:14 +0800
Local: Mon, Sep 19 2011 9:24 pm
Subject: Re: 一个小问题,如果配置h2为一个非持久性数据库 How can h2 becomes a volatile db?

用内存模式?

在 2011年9月19日 下午11:31,Ds.3783 <ds3...@gmail.com>写道:

--
Wendal Chen
<http://t.sina.com.cn/1068040557?s=6uyXnP>

 
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.
Peee Kongyee  
View profile   Translate to Translated (View Original)
 More options Sep 19 2011, 10:49 pm
From: Peee Kongyee <ds3...@gmail.com>
Date: Tue, 20 Sep 2011 10:49:57 +0800
Local: Mon, Sep 19 2011 10:49 pm
Subject: Re: 一个小问题,如果配置h2为一个非持久性数据库 How can h2 becomes a volatile db?

how?  thanks

在 2011年9月20日 上午9:24,Wendal Chen <wendal1...@gmail.com>写道:


 
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.
Discussion subject changed to "答复: 一个小问题,如果配置h2为一个非持久性数据库 How can h2 becomes a volatile db?" by scholers
scholers  
View profile   Translate to Translated (View Original)
 More options Sep 19 2011, 9:26 pm
From: "scholers" <schol...@gmail.com>
Date: Tue, 20 Sep 2011 09:26:19 +0800
Local: Mon, Sep 19 2011 9:26 pm
Subject: 答复: 一个小问题,如果配置h2为一个非持久性数据库 How can h2 becomes a volatile db?

H2和SQLITE那个更好一点?

发件人: h2-cn@googlegroups.com [mailto:h2-cn@googlegroups.com] 代表 Wendal
Chen
发送时间: 2011年9月20日 9:24
收件人: h2-cn@googlegroups.com
主题: Re: 一个小问题,如果配置h2为一个非持久性数据库 How can h2 becomes a
volatile db?

用内存模式?

在 2011年9月19日 下午11:31,Ds.3783 <ds3...@gmail.com>写道:

请问,我如何配置,能够使h2成为一个非持久性数据库?
即:当我重启h2运行的JVM后数据库应该是新的空数据库,里面不包含任何表和数据。
请问我该如何配置?

What configuration should I do,to make h2 becomes a volatile db?
My requirements:when I reboot the server or the JVM that contains h2,I
need all data and tables are gone.The database after reboot should be
empty,contains no tables and no data.
What should I do?

--
您收到此邮件是因为您订阅了 Google 网上论坛的“H2 Database 纯JAVA内存数据库中
文站”论坛。
要向此网上论坛发帖,请发送电子邮件至 h2-cn@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 h2-cn+unsubscribe@googlegroups.com
<mailto:h2-cn%2Bunsubscribe@googlegroups.com> 。
若有更多问题,请通过 http://groups.google.com/group/h2-cn?hl=zh-CN 访问此网
上论坛。

--
Wendal Chen
 <http://t.sina.com.cn/1068040557?s=6uyXnP>

--
您收到此邮件是因为您订阅了 Google 网上论坛的“H2 Database 纯JAVA内存数据库中
文站”论坛。
要向此网上论坛发帖,请发送电子邮件至 h2-cn@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 h2-cn+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/h2-cn?hl=zh-CN 访问此网
上论坛。


 
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.
Peee Kongyee  
View profile   Translate to Translated (View Original)
 More options Sep 19 2011, 11:43 pm
From: Peee Kongyee <ds3...@gmail.com>
Date: Tue, 20 Sep 2011 11:43:58 +0800
Local: Mon, Sep 19 2011 11:43 pm
Subject: Re: 答复: 一个小问题,如果配置h2为一个非持久性数据库 How can h2 becomes a volatile db?

h2看起来更加简洁这是我选择它的主要原因,但我现在只想配置一个内存数据库或者说是一个易失性数据库。我不关心h2是否使用文件系统,我也不关心h2的内存占 用(因为我自身数据库的大小不会超过512M),但现在在配置上遇到了麻烦……

在 2011年9月20日 上午9:26,scholers <schol...@gmail.com>写道:


 
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.
Wendal Chen  
View profile   Translate to Translated (View Original)
 More options Sep 20 2011, 8:14 am
From: Wendal Chen <wendal1...@gmail.com>
Date: Tue, 20 Sep 2011 20:14:52 +0800
Local: Tues, Sep 20 2011 8:14 am
Subject: Re: 答复: 一个小问题,如果配置h2为一个非持久性数据库 How can h2 becomes a volatile db?

JDBC URL这样写:

jdbc:h2:mem:~

在 2011年9月20日 上午11:43,Peee Kongyee <ds3...@gmail.com>写道:

--
Wendal Chen
<http://t.sina.com.cn/1068040557?s=6uyXnP>

 
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.
Peee Kongyee  
View profile   Translate to Translated (View Original)
 More options Sep 20 2011, 11:33 am
From: Peee Kongyee <ds3...@gmail.com>
Date: Tue, 20 Sep 2011 23:33:50 +0800
Local: Tues, Sep 20 2011 11:33 am
Subject: Re: 答复: 一个小问题,如果配置h2为一个非持久性数据库 How can h2 becomes a volatile db?

搞定了,多谢!

在 2011年9月20日 下午8:14,Wendal Chen <wendal1...@gmail.com>写道:


 
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.
End of messages
« Back to Discussions « Newer topic     Older topic »