Hi all,
I've deployed a CMP(small test program). In jaws.xml I've given this.
----------jaws.xml --------
java:/env/jdbc/VulcanDBJNDI
<type-mapping>mySQL</type-mapping>
false
<default-entity>
<create-table>false</create-table>
<remove-table>false</remove-table>
<tuned-updates>true</tuned-updates>
<read-only>false</read-only>
<time-out>300</time-out>
<row-locking>false</row-locking>
<read-ahead>false</read-ahead>
</default-entity>
<enterprise-beans>
<ejb-name>AuthenticationEB</ejb-name>
findByLoginId
loginid = {0}
</enterprise-beans>
--------------------------------------------
But, still in log file shows the tables are being created.
How to avoid this.?
log
========
2002-10-17 18:38:04,410 DEBUG [org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand] Init SQL: CREATE TABLE AuthenticationEB (password VARCHAR(255) BINARY,loginid null)
2002-10-17 18:38:04,478 DEBUG [org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand] Destroy SQL: DROP TABLE AuthenticationEB
========
Also, I'm getting this error:
======
2002-10-17 18:38:04,400 WARN [org.jboss.ejb.plugins.jaws.metadata.CMPFieldMetaData] ERROR : Nested Field does not have a get method
======
Also,
=============
2002-10-17 18:53:02,431 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackException, causedBy:
java.lang.NullPointerException
at org.jboss.ejb.plugins.jaws.jdbc.JDBCCreateEntityCommand.execute(JDBCCreateEntityCommand.java:125)
at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.createEntity(JAWSPersistenceManager.java:255)
at org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager.java:253)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity(CachedConnectionInterceptor.java:270)
...............
...............
...............
===============
Please provide me with feedback.
TIA,
Aman