Generating Persistence Mapping From Database Schema

This is a discussion on Generating Persistence Mapping From Database Schema within the J2EE forums in Framework and Interface Programming category; I was recently instructed on how to use the new Hibernate facet to generate objects and mappings from database schemas. Very timely, since I'm working on a project with a group that wants to use Middlegen to accomplish this. I thought I'd try out IntelliJ's capabilities first. I immediately ran into problems. The schema consists of 48 tables, some of which are rather large (~50 columns). I have a machine with 4GB RAM, and I sent up IntelliJ to have 075GB max RAM and 128MB perm space. In spite of this, my machine seemed to go off and not come ...

Go Back   Application Development Forum > Framework and Interface Programming > J2EE

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-03-2007, 09:15 PM
Michael O. Duffy
Guest
 
Default Generating Persistence Mapping From Database Schema

I was recently instructed on how to use the new Hibernate facet to generate objects and mappings from database schemas. Very timely, since I'm working on a project with a group that wants to use Middlegen to accomplish this. I thought I'd try out IntelliJ's capabilities first.

I immediately ran into problems. The schema consists of 48 tables, some of which are rather large (~50 columns). I have a machine with 4GB RAM, and I sent up IntelliJ to have 075GB max RAM and 128MB perm space. In spite of this, my machine seemed to go off and not come back. Without experience, I have no idea if the CPU is making good progress and I just need to be more patient.

I've been experimenting this weekend with a schema that's much smaller (~10 tables, max of ~10 columns in the largest one), and the generation takes less than a minute.

Does anyone have any experience with using the Hibernate facet successfully to generate mappings and objects? I'd love to have a benchmark to see if I'm on the right track. Thanks.
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 05:19 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.