-->
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: How to generate Oracle9i on Hibernate 3 Tools
PostPosted: Tue May 10, 2005 5:18 am 
Newbie

Joined: Tue May 10, 2005 4:57 am
Posts: 3
hibernate.cfg.xml is

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="hibernate.connection.url">jdbc:oracle:thin:@192.168.0.1:1521:ora01</property>
<property name="hibernate.connection.password">paswd001</property>
<property name="hibernate.connection.username">user001</property>
<property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property name="hibernate.dialect">org.hibernate.dialect.Oracle9Dialect</property>
<property name="hibernate.default_schema">base</property>
</session-factory>
</hibernate-configuration>




But can't general *.hbm.xml *.java except GeneralHbmSettings.hbm.xml

and the GeneralHbmSettings.hbm.xml is




<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping>
<!--
Auto-generated mapping file from
the hibernate.org cfg2hbm engine
for General Global Setttings
-->


</hibernate-mapping>


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 10, 2005 5:42 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
schema names are case sensitive on oracle.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 10, 2005 8:43 am 
Expert
Expert

Joined: Sat Jun 12, 2004 4:49 pm
Posts: 915
and schema=user and default schema isUSER001, probably


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 10, 2005 8:56 pm 
Newbie

Joined: Tue May 10, 2005 4:57 am
Posts: 3
snpesnpe wrote:
and schema=user and default schema isUSER001, probably


Yes ,the username is "base" and I change "user001" when I post.
And can use at version 2.18


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 10, 2005 11:57 pm 
Newbie

Joined: Tue May 10, 2005 4:57 am
Posts: 3
Thank for your help!

the schema is "BASE" no "base"!


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.