The second problem, please see the red-colored text:
The auto-created POJO:

  | package eu.cleversoft.infonds.ejb3.entities;
  | // Generated 05.02.2006 22:26:25 by Hibernate Tools 3.1.0 beta3
  | 
  | import java.util.Calendar;
  | import javax.persistence.Column;
  | import javax.persistence.Embeddable;
  | import javax.persistence.ManyToOne;
  | 
  | @Embeddable
  | public class InfondsFundsKurs  implements java.io.Serializable {
  |     // Fields (here sould be not only 2 fiels, sould be more than 2)
  |      private InfondsFunds funds;
  |      private Calendar datum;
  | 
  |     // Constructors
  | 
  |     /** default constructor */
  |     public InfondsFundsKurs() {
  |     }
  |     
  |     /** full constructor */
  |     public InfondsFundsKurs(InfondsFunds funds, Calendar datum) {
  |         this.funds = funds;
  |         this.datum = datum;
  |     }
  | 
  |     // Property accessors
  |     @ManyToOne(cascade={$pojo.getCascadeType($property)},
  |         fetch=$pojo.getFetchType($property))
  |     $pojo.getHibernateCascadeTypeAnnotation($property)
  |     $pojo.generateJoinColumnsAnnotation($property)
  | 
  |     public InfondsFunds getFunds() {
  |         return this.funds;
  |     }
  |     
  |     public void setFunds(InfondsFunds funds) {
  |         this.funds = funds;
  |     }
  |     @Column(name="datum", unique=false, nullable=true, insertable=false, 
updatable=false)
  | 
  |     public Calendar getDatum() {
  |         return this.datum;
  |     }
  |     
  |     public void setDatum(Calendar datum) {
  |         this.datum = datum;
  |     }
  | }
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922432#3922432

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922432


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to