[jboss-user] [EJB 3.0] - entity question

2006-09-12 Thread Cybernd
Hi, Is it possible to use Interfaces for OneToOne relations? For example (Pseudocode): | Entity A implements MarkerInterface {} | Entity B implements MarkerInterface {} | Entity C { | MarkerInterface something; | } | I know that its possible to use Inheritance, but im unable to us

[jboss-user] [EJB 3.0] - fk / pk constraint name

2006-08-24 Thread Cybernd
Hi, Is it possible to tell tje ejb3 layer the name of constraints? For example a PK's name will be something like SYS_C123 running on oracle. Something like PK_TABLE_ID would be helpful because when a insert statement violates the constraint, the db will tell me the constraint name. Is the