[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Latest JBoss Version and Hibernate/Hibernate Annotations Que
Zachary1234
do-not-reply at jboss.com
Sat Feb 7 19:03:31 EST 2009
Consider the following, from the JBoss EJB3 Tutorial:
@OneToOne(cascade = {CascadeType.ALL})
@JoinColumn(name = "ADDRESS_ID")
public Address getAddress()
{
return address;
}
The above two annotations are applicable, using JBoss Libraries and Hibernate Libraries.
If one wishes to use both JBoss EJB3 annotations, and Hibernate with Annotations,do annotations need to be used twice?
How does Jboss/Hibernate Typically overlaps?
I do nderstand javax.persistence.* , so:
-When is one using JBoss and Hibernate/what do their annotations
have in common?
-When do I have to worry about the database in the background/
what database ddl table creation do I have to worry about in the database
background/backend?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207964#4207964
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207964
More information about the jboss-user
mailing list