Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3071 | major | always | 11-13-08 12:10 | 12-15-08 09:22 | |
|
|||||
Reporter: | dicr | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.2.1 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.0 | ||
|
|||||
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'. |
||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|