CMP Mapping bug

friends,

in sun java enterprise edition 8.1, i create database schema mapped that schame to etitiy beans. at runtime there is problem occured.

but when i stat debuging the application, at that time SJEE 8.1 regenerate database schema re-mapping the cmp fields according to the new gen schema.

how to set deployement process, to accept my genarated schema and sun-cmp-mapping.xml

[403 byte] By [arunmoyala] at [2007-11-27 0:13:21]
# 1

According to the on-line help topic "Generating Database Tables at Deployment" (from Help | Help Contents | Search) :

Unless you create entity beans from a database connection, the IDE assumes you want to generate the sun-cmp-mappings.xml file automatically. If you create CMP entity beans using the New Entity Bean template and manually set up your mappings, either in the Sun Configuration Editor or by hand in a sun-cmp-mappings.xml file, the IDE ignores your settings and configures the mappings during deployment. To use your own sun-cmp-mappings.xml file, do one of the following:

Generate a CMP entity bean from any database. You can then delete the bean. The IDE automatically switches your project to pick up the existing sun-cmp-mappings.xml file.

Open the project's nbproject/project.properties file and remove sun-cmp-mappings.xml from the project's meta.inf.excludes property.

KarthikRa at 2007-7-11 21:56:58 > top of Java-index,Development Tools,Java Tools...