File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes is table created in cmp at runtime Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "is table created in cmp at runtime" Watch "is table created in cmp at runtime" New topic
Author

is table created in cmp at runtime

keshav Priyadershi
Greenhorn

Joined: Sep 11, 2006
Posts: 3
is it possible to create table in cmp at runtime rather than deployment time, if it possible then how it will create please give detail step.
Jeroen T Wenting
Ranch Hand

Joined: Apr 21, 2006
Posts: 1847
not likely. If it is it's a container specific setting, certainly not part of the standard.
You'd not want it anyhow, as it would mean that each and every request to an entity bean would first have to involve database calls to check whether the actual table exists.

In fact, you very likely in a production system won't have the tables created at deploytime but before that and map them to the beans in your deployment descriptors.


42
keshav Priyadershi
Greenhorn

Joined: Sep 11, 2006
Posts: 3
what is meaning of this statement how can i do please give detail

"In fact, you very likely in a production system won't have the tables created at deploytime but before that and map them to the beans in your deployment descriptors. "
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60053
    
  65

"Hitlar India", you have previously been warned on one or more occasions regarding adjusting your display name to meet JavaRanch standards. This is not optional. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it prior to your next post.

Be aware that accounts with invalid display names are removed.

bear
JavaRanch Sheriff


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: is table created in cmp at runtime
 
Similar Threads
CMP bean with a View(Not Table)
CMP with out key field in table
problem creating entity bean(CMP)
Complex primary key
Creating Entity Beans (CMP) without DB table