---
title: "Tempo研究之Derby数据查看"
author: "ww2"
date: "2007-11-24T13:10:00Z"
tags: []
slug: "tempo-derby"
draft: false
lastmod: "2007-11-24T13:10:00Z"
id: 171013
url: "https://ww2.iteye.com/blog/171013"
---

默认的intalio bpms server启动后采用的是内嵌的Derby数据库，参考我的上篇blog：[Tempo研究之Intalio BPMS在mysql上部署](http://blog.csdn.net/james999/archive/2007/11/23/1899887.aspx) ，可以更改数据库到mysql上。

此篇主要讲解如何产看内嵌的BPMSDB数据库的记录。首先可以在/databases/Derby/derby-db-plan.xml 中查看derby的链接信息。但是我们需要在另外的一个jvm中通过远程连接查看，所以就不能采用EmbeddedDriver，而需要使用 org.apache.derby.jdbc.ClientDriver ，url采用jdbc:derby://localhost:1527/BPMSDB（需要server） 。

两个开源的数据库客户端工具SQLeonardo（[http://sqleonardo.altervista.org](http://sqleonardo.altervista.org)） 或 SQuirreL SQL Client （[http://db.apache.org/derby/integrate/SQuirreL\_Derby.html](http://db.apache.org/derby/integrate/SQuirreL_Derby.html)）都可以很好的管理derby数据库。个人比较倾向于SQuirrel SQL Client，更容易操作和管理。

但是，采用远程连接derby数据库，必须启动intalio bpms server。

![](http://p.blog.csdn.net/images/p_blog_csdn_net/james999/349593/o_derby_db_01.jpg)

![](http://p.blog.csdn.net/images/p_blog_csdn_net/james999/349593/o_derby_db_02.jpg)