-->
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: Dto to Entity checkbox type field help needed
PostPosted: Mon Nov 14, 2011 9:49 am 
Newbie

Joined: Mon Nov 14, 2011 9:39 am
Posts: 1
Location: Columbus, Ohio
I am very new to Hibernate and Java, we are converting our system from RPG based to Java based. What i need help with is taking a checkbox field from the screen, and putting the value into the char field of the file. The software package we are using has the command copyDtoToEntity and copyEntityToDto. The entity has the field as a field size 1 char, the Dto is a checkbox.

castEntity.setOwnerRequest(castDto.getOwnerRequest()); this line of code gives the error

The method setOwnerRequest(FixedString) in the type PolWithLettWorkFrom is not applicable for the arguments (boolean)

PolWithLettWorkFrom is my entity.

Any help would be appreciated. Thanks.


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.