Hi,

There is no restriction about primary keys as Strings. I have a CMP Entity with such a 
primary key and the finder works fine. 
You should post the exact message for the first FinderException in order to see the 
exact problem. When you change the primary key as Integer, did you change all is 
necessary (the table in the database, the bean definition and the descriptors 
(ejb-jar.xml and jbosscmp-jdbc.xml). Prehaps you are using XDoclet ?

If all is OK, perhaps the problem comes from the databse itself (MS-Access) or its 
driver. I use MS SQL Server for my application.


<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825408#3825408";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825408>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to