-->
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.  [ 3 posts ] 
Author Message
 Post subject: Documentation for createMapping method?
PostPosted: Sat Aug 20, 2005 5:02 pm 
Newbie

Joined: Tue Aug 16, 2005 2:18 pm
Posts: 5
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version: 3.1 Beta 2

Mapping documents: Dynamic mapping

Name and version of the database you are using: Oracle 9i

I am looking for some doucmentation on createMappings() method on Configuration object.

I am trying to create hibernate mapping like the following:

<hibernate-mapping package="dataobject">
<class name="AoM" table="AoM">

<!--<cache usage="read-only"/>-->

<!--dynamic-update="true" mutable="true" abstract="false" polymorphism="implicit" dynamic-insert="false" select-before-update="false" optimistic-lock="version">-->

<id
name="id" column="ID" type="long"
unsaved-value="0">
<generator class="assigned"/>
</id>

<property name="f1"/>
<property name="f10"/>
<property name="f100"/>
...


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 21, 2005 1:28 pm 
Expert
Expert

Joined: Mon Jul 04, 2005 5:19 pm
Posts: 720
Have you checked the stuff on programmatic configuration ...

http://www.hibernate.org/hib_docs/v3/re ... ation.html


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 22, 2005 1:03 am 
Newbie

Joined: Tue Aug 16, 2005 2:18 pm
Posts: 5
dennisbyrne wrote:
Have you checked the stuff on programmatic configuration ...

http://www.hibernate.org/hib_docs/v3/re ... ation.html


something with talks about RootClass, Table, Value etc...Gavin did discuss it in one of his posts from a long time but I couldn't find any other information...


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.