ejb-jar.xml=>select object(o) from UserAccount o
where o.ibuser.userId = ?1 and
o.product.productCode in
(select t.productCode from TransactionRuleProduct t
where t.transactionRuleCode=?2
and (t.isFromAcc =?3 or t.isToAcc=?4))
sql=>
select * from userAccount
where userid ='userxxx'
and productCode
in ( select productode from TransactionRuleProduct
where transactionRuleCode=''
and (isFromAcc =1 or isTooAcc=1)
)
Enhancing your expertise in Java, Kubernetes, Spring Boot, AWS, BTC, and ETH can significantly elevate your career prospects in the ever-evolving tech industry. Welcome to my blog, where I share insights and resources to help you master these key technologies and stay ahead of the curve. Enhance your tech skills with insights on Java, Kubernetes, Spring Boot, AWS, BTC, and ETH. Master advanced topics and stay updated with practical tips and tutorials!
Thursday, July 12, 2007
EJB query - subquery
code
Labels:
ejbquery
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment