The following comment has been added to this issue:

     Author: Vassil Dichev
    Created: Sun, 12 Sep 2004 12:48 PM
       Body:
As could be expected, just changing the boolean values of _useOuterJoin and _showSql 
to String and doing all associated changes (getters return type, setters parameters) 
worked like a charm. (I also had to change HibernateProperties)

However, the problem seems bigger than initially expected. It turns out that there are 
more getters returning boolean :(

Guys, what do you think, shouldn't boolean properties be processed as Strings? 
Otherwise one would not be able to remove a boolean value from the generated xml. I 
propose that not only all boolean properties are changed to Strings, but that there is 
some sort of validation to enforce this behavior (for example, a small check in 
ConfigParamIntrospector.findGetterMethod whether getterMethod.getReturnType is 
boolean).

I could easily make a patch but let me know whether this change is reasonable.

Awaiting for your feedback,
Vassil Dichev
---------------------------------------------------------------------
View this comment:
  
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1059?page=comments#action_14827

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1059

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1059
    Summary: jbossservice UseOuterJoin not supported anymore in hibernate 2.1.6
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             Hibernate Module
   Versions:
             1.2.1
             1.2.2

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Thomas Herbst

    Created: Tue, 7 Sep 2004 3:15 PM
    Updated: Sun, 12 Sep 2004 12:48 PM

Description:
With hibernate 2.1.6 the UseOuterJoin is removed from the 
net.sf.hibernate.jmx.HibernateService MBean so the attribute can not be set default to 
false, because jboss cannot deploy the service anymore.


21:31:02,500 INFO  [NamingService] Started jnpPort=1099, rmiPort=1098, backlog=5
0, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jbo
[EMAIL PROTECTED]
21:31:03,721 INFO  [ServiceConfigurator] Problem configuring service jboss.jca:s
ervice=HibernateServices
org.jboss.deployment.DeploymentException: No Attribute found with name: UseOuter
Join
        at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.ja
va:321)
        at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
tor.java:160)
        at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
:114)
        at org.jboss.system.ServiceController.install(ServiceController.java:198
)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to