users@glassfish.java.net

NetBean. EJB3.0 Database Schema

From: <glassfish_at_javadesktop.org>
Date: Mon, 21 Apr 2008 18:52:59 PDT

Hi,

I'm using nb6.01. I need to make database with an index (B-Tree) built on
a specified field. I have read the ejb-persistent-api documentation but could
not find anything that I can specify so that the index is built automatically
during deployment.

I'm wondering if there is a way to set this constraint. I can always set this constraint
manually on the database. However, since the netbean has the facility to drop and
create tables, I thought there might be a way that this can be done automatically.

cheers, gceman
[Message sent by forum member 'gceman' (gceman)]

http://forums.java.net/jive/thread.jspa?messageID=270502