-->
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.  [ 1 post ] 
Author Message
 Post subject: Connect to oracle db
PostPosted: Fri Oct 25, 2013 3:41 am 
Newbie

Joined: Thu Oct 24, 2013 4:28 pm
Posts: 5
Hello , I created a simple example hibernate .. The problem is that the result I can only see through the tool oracle command line instead .. I want to see them using the graphical tool, oracle 11g enterprise .. When I open the graphical tool , you browser opens and I have this string http://127.0.0.1:8080/apex/f?p=4500:1000:405698117854415 as I do? ? for access to the work area must specify the workspace , username, password , how do I change cfg

<? 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 name="">
  <! - Related to the connection START ->
  <property name="connection.driver_class"> oracle.jdbc.driver.OracleDriver < / property>
  <property name="connection.url"> jdbc : oracle : thin: @ localhost: 1521 : xe < / property>
  <property name="connection.user"> SYSTEM < / property>
  <property name="connection.password"> smurf < / property>
  <! - Related to the connection END
 Related to hibernate properties START ->
  <property name="show_sql"> true < / property>
  <property name="dialet"> org.hibernate.dialect.OracleDialect < / property>
  
  <property name="hbm2ddl.auto"> update < / property>
  <Mapping resource="it/Product.hbm.xml"/>
  <! - Related to hibernate properties END
 Related to mapping START
 Related to the mapping END - >
 < / session -factory >
</ hibernate- configuration>


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

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.