-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: trouble with using middlgen for mapping with oracle???
PostPosted: Thu Jun 03, 2004 12:42 am 
Regular
Regular

Joined: Sat Apr 10, 2004 8:39 pm
Posts: 84
trouble with using middlgen for mapping with oracle???

how must i do ?

>>>>> draf in oracle.xml
<property name="database.userid" value="system"/>
<property name="database.password" value="manager"/>
<property name="database.schema" value=""/> ======= what must i set?
<property name="database.catalog" value=""/> ======= what must i set?

_________________
I am the creatxr of world.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 03, 2004 3:27 am 
Senior
Senior

Joined: Fri Nov 21, 2003 5:55 am
Posts: 155
If you use middlegen with Oracle...
Your Schema and your catalog is the same name as your username otherwise you will ask to Hibernate to modelize all your data into your database and you will have a null pointer exception due to a low memory because Middlegen try to map more than 200 tables.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 03, 2004 8:40 pm 
Regular
Regular

Joined: Sat Apr 10, 2004 8:39 pm
Posts: 84
<property name="database.schema" value="system"/>
<property name="database.catalog" value="system"/>

i've setted the values as "system" now.
and if i don't add element "table", middlegen try to read all the tables
include the system tables.
what must i do ?
i only want middlegen mapping all the user created tables.

_________________
I am the creatxr of world.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 04, 2004 12:12 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Using the system owner will show many tables your not interested in.
Have you not created your own schema / tablespace for you database. Use the owner of the schema.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 04, 2004 3:17 am 
Senior
Senior

Joined: Fri Nov 21, 2003 5:55 am
Posts: 155
If you use System you ll have a out of memory error:)
Try with your username for Oracle, the schema owner.

kind regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.