CMP是不行的!!
不过可以这样,将一张表(父表)中的一些字段抽取出来定义为另外一张表(子表),估计就可以了!!
不过可以这样,将一张表(父表)中的一些字段抽取出来定义为另外一张表(子表),估计就可以了!!
解决方案 »
- 关于javaee设计模式
- 类似校内,开心的这种sns网站容易做吗?
- 同样的服务部署在tomcat和weblogic中,同样的客户端调用,tomcat可以,weblogic报异常(如内),请教什么问题
- 请教不能创建'localsessionfactory'ben的问题~~~
- 高手请进:Tomcat和Apache整合后浏览器浏览问题,IE显示但是不显示 include进来的页面并且片面不齐,而firefox纯粹不显示
- lucene问题,求助。
- spring+hibernate+struts2框架搭建jar包使用的问题,求大神帮帮忙!
- java 字符串乱码问题!!!
- Weblogic server中为什么不能添加ClassPath??
- 各位前辈,系统部署不进tomcat,求解,控制台输出如下。
- 周末了,需要加班,继续放分 -- 讨论学习EJB的经验
- CORBA的问题,请大虾指教
BMP的有没有现成的例子给我一份[email protected] ll42002(灰舌) && baitianhai(hong)
能否具体一点或有代码?附:分不是问题,多的是
你说的这个view怎么创建呢?
IBM Redbook SG24-6819-00
EJB 2.0 Development with WebSphere Studio Application Developer.pdfChapter 12. Mapping strategies for CMPs
Mapping examples
Mapping a CMP to multiple tablesAn entity, such as Customer , can be mapped to two (or more) tables that are in a
1:1 relationship. As shown in “Change the model” on page 473 (bottom-up
mapping), we can map the combined attributes of the Customer attributes to two
tables, CUSTOMER and CUSTADDRESS
建view我会,怎么把这个视图和EntityBean对照起来?为什么有这么多你说的SB来问我这个问题呢?真郁闷
你EntityBean怎么对应表的就怎样对应视图
是哪两个SB公司这样要求?
要是我我就说我没这样做过,有必要这样吗?
既然你想让它们在一块又何必设计成两个表~