I'd like to add something about Eclipse + Hibernate, since Charlie raves about that (see http://mail-archives.apache.org/mod_mbox/db-derby-user/200509.mbox/[EMAIL PROTECTED] ), but only if somebody has an URL handy that shows how to configure that combination.

Here is a "conservative" outline for configuring Eclipse + Hibernate + Derby; (It is conservative in that there are alternative methods that use less space).

1) Create a new Eclipse plugin (eg com.yourname.persistence)
2) Copy all jars for Hibernate and Derby to this plugin
3) Export these jars via plugin.xml (for this plugin)
4) If you want to use automatically generated build.xml, modify build.properties to include jars from step 2 5) Beneath the "src" folder, create the persistent classes for your application You can include Hibernate annontations (using Hibernate v3.1) or Xdoclet meta-information in these classes 6) Make this plugin available to other plugins in you application (via dependencies their plugin.xml files) Additionally you might choose to configure your plugin as a feature, and possibly build an update site for the feature.

I intend to write an article that explains this process in the "near" future.

Hope this helps.

Charlie

Reply via email to