Bugs item #988726, was opened at 2004-07-10 20:41
Message generated for change (Comment added) made by loweryr
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=988726&group_id=22866

Category: JBossCMP
Group: v3.2
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Richard H. Lowery (loweryr)
Assigned to: Nobody/Anonymous (nobody)
Summary: Boolean - Unknown Types value

Initial Comment:
Running CMP bean using XDoclet under Eclipse...

 The field definition is as follows:

--CODE FRAGMENT BEGIN--

  /**
   * @ejb.interface-method
   *
   * @ejb.persistence
   *         column-name="includeHours"
   *         jdbc-type="BOOLEAN"
   *         sql-type="BOOLEAN"
   */
   public abstract Boolean getIncludeHours();

   /**
    * @ejb.interface-method
    */
   public abstract void setIncludeHours(Boolean
includeHours);

--CODE FRAGMENT END--

I've tried with both mySQL and PostgreSQL on both
JBoss-3.2.5 & JBoss 4.0.0-DR4

  Same error in all situations...  if it's something
I'm doing.... great... what could it be?  if not
there's a problem... I can go around it by implements
integer persistence calls and wrapping them in
interface Boolean calls, but that's a royal pain in the
rear... 

  I've checked the jbosscmp.xml file and it's right...
  


----------------------------------------------------------------------

>Comment By: Richard H. Lowery (loweryr)
Date: 2004-07-11 01:03

Message:
Logged In: YES 
user_id=109887

Never mind... I just needed to REMOVE the
jdbc-type="BOOLEAN" and sql-type="BOOLEAN" and it figured it
out like it's supposed too...

  gotta hate overzealous entries in the xdoclets... *smile*

----------------------------------------------------------------------

Comment By: Richard H. Lowery (loweryr)
Date: 2004-07-10 21:03

Message:
Logged In: YES 
user_id=109887

Oh... one other factor... JBoss creates the table fine... no
problems... it's only during an update or ejbCreate when I
get the problem...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=988726&group_id=22866


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to