Anonymous | Login | Signup for a new account | 12-17-2024 14:40 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0003071 | [Resin] | major | always | 11-13-08 12:10 | 12-15-08 09:22 | ||||
Reporter | dicr | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 4.0.0 | Product Version | 3.2.1 | ||||
Product Build | |||||||||
Summary | 0003071: EJB 3.0 may not have public constructor | ||||||||
Description |
[22:06:22.246] {http--8443-9} Caused by: com.caucho.config.ConfigException: 'org.dicr.isp.ejb.PaymentDO' needs a public or protected no-arg constructor. Entity beans must have a public or protected no-arg constructor. [22:06:22.246] {http--8443-9} at com.caucho.amber.cfg.AbstractConfigIntrospector.validateConstructor(AbstractConfigIntrospector.java:187) [22:06:22.246] {http--8443-9} at com.caucho.amber.cfg.AbstractConfigIntrospector.validateType(AbstractConfigIntrospector.java:160) [22:06:22.246] {http--8443-9} at com.caucho.amber.cfg.EntityIntrospector.introspectEntityType(EntityIntrospector.java:254) [22:06:22.246] {http--8443-9} at com.caucho.amber.cfg.EntityIntrospector.introspect(EntityIntrospector.java:105) [22:06:22.246] {http--8443-9} at com.caucho.amber.cfg.AmberConfigManager.introspect(AmberConfigManager.java:85) [22:06:22.246] {http--8443-9} at com.caucho.amber.manager.AmberPersistenceUnit.addEntityClass(AmberPersistenceUnit.java:510) [22:06:22.246] {http--8443-9} at com.caucho.amber.cfg.PersistenceUnitConfig.init(PersistenceUnitConfig.java:343) |
||||||||
Steps To Reproduce | |||||||||
Additional Information |
@Entity public class PaymentDO implements Serializable { protected PaymentDO() { super(); } } There will no error, if I will change constructor to 'public'. But error says 'public or protected no-arg constructor'. |
||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed. 27 unique queries executed. |