-->
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: Grösser- bzw. Kleinerzeichen im Mapping
PostPosted: Thu Mar 06, 2008 11:24 am 
Newbie

Joined: Tue May 29, 2007 2:50 am
Posts: 12
Hallo zusammen

Wie kann ich die Zeichen '<' und '>' im Hibernatemapping verwenden, ohne das diese als irgendwelche xml-Tags interpretiert werden?

Es geht um einen grösser-, kleiner-Vergleich in einem SQL, der sich in einem <subselect>-Tag befindet.

Danke!

Gruss
poffi


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 14, 2008 5:14 am 
Beginner
Beginner

Joined: Fri Aug 24, 2007 4:46 am
Posts: 36
Location: Bielefeld / Germany
Du musst dafür in XML eine CDATA-Section benutzen, worin Du dann ganz hemmungslos < > benutzen darfst, ohne dass diese als XML-Markup interpretiert werden.

<![CDATA[
select * from XYZ where ABC < 10
]]>


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.