-->
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.  [ 2 posts ] 
Author Message
 Post subject: left join
PostPosted: Tue Apr 07, 2009 3:46 am 
Newbie

Joined: Tue Apr 07, 2009 2:25 am
Posts: 1
Hallo,

ich benötige zwischen zwei Tabellen einen left join. Leider bekomme ich immer das Resultat eines inner joins zurück.

Hier mein mappping:

<class name=Tabelle1 lazy="false">
<id name="Id" column="Id" type="System.Int64" unsaved-value="0">
<generator class="native"/>
</id>
<set name="Tabelle2" inverse="true" lazy="false" cascade="all">
<key column="NoteId" />
<one-to-many class="Tabelle2" />
</set>
</class>

Könnt ihr mir sagen, wo der Fehler liegt, oder wie ich ein left join definieren muss.

Vielen Dank
lemon


Top
 Profile  
 
 Post subject: Wieso?
PostPosted: Tue Apr 07, 2009 12:00 pm 
Expert
Expert

Joined: Thu Jan 08, 2009 6:16 am
Posts: 661
Location: Germany
Was hast du denn genau vor?

_________________
-----------------
Need advanced help? http://www.viada.eu


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.