-->
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: How to map a binary column as Id-Column
PostPosted: Thu Jul 24, 2008 6:01 am 
Beginner
Beginner

Joined: Tue Jan 22, 2008 11:33 am
Posts: 46
Hi,

I struggle with a table I want to map. The table contains an id-column of binary. According to the documentation (Chapter 5.2.2) it corresponds to something like byte array.
If I define the id type "binary" in the mapping document and byte[] in the entity class, the compiler throws exceptions at me, saying arrays are not allowed as an identifier.

Does anybody know a workaround for that? Thanks in advance for your effort, help and feedback antoschka.


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.