[ http://jira.jboss.com/jira/browse/JBAS-421?page=history ]
Scott M Stark reassigned JBAS-421:
----------------------------------
Assign To: Alexey Loubyansky (was: Scott M Stark)
> Jboss CMR extra column name problem
> ------------------------------------
>
> Key: JBAS-421
> URL: http://jira.jboss.com/jira/browse/JBAS-421
> Project: JBoss Application Server
> Type: Bug
> Components: CMP service
> Versions: JBossAS-3.2.6 Final
> Reporter: SourceForge User
> Assignee: Alexey Loubyansky
> Priority: Minor
>
>
> SourceForge Submitter: dheeraj_s .
> Hi :
> I have a very simple relationship.
> UserBean <---- Login
> This is 1:1 relationship.
> I am trying to load UserBean from LoginBean.
> At the database level
> It is
> Login.UserId [FK] = User.Id
> In LoginBean I have
> setUserBean and getUserBean methods.
> I have written a EJB-QL, Where I fecth the Object of
> LoginBean.
> It compiles and installs very decently.
> However, when I try to invoke the EJB-QL. I get the
> following error in the log file.
> select id,username.....,userBean from
> Login where username = ? and password = ?
> This is a wrong SQL as there is no userBean in the
> Login Table.
> I tried to use this in Jboss3.0.x plus on jboss3.2.0 with
> Tomcat.
> Can someone please explain, why Jboss is creating a
> worng SQL.
> Cheers
> Dheeraj
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/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: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development