You want to know what it was?
I changed from using EntityManagerFactory.createEntityManager() which is
deprecated to using EntityManagerFactory.buildEntityManager.
That bust the whole thing!
I'm sticking with the deprecated method.
What's going on? They've basically broken Hibernate, by
This just started happening after I upgraded to JBoss 4.2.0
It's completely broken my app.
| 10:11:41,204 ERROR [executehql_jsp]] Servlet.service() for servlet
org.apache.jsp.manager.executehql_jsp threw exception
| java.lang.SecurityException: Denied:
A little help here please!
The application is completely broken! Nothing at all will run. Nothing.
Our whole project is stopped dead!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056468#4056468
Reply to the post :
How can I use @SecondaryTable?
I have a Contact entity which defines a person's email, phone etc. There may be
several of these pointing to a single Person entity.
Because a person may belong to several organizations, and have several
contactable personas.
So. I want to create a ContactPerson
Title says it all really.
I have a varchar DB column into which Hibernate is putting the ordinal value of
whatever Enum I set into the entity!
JBoss 4.2.0.GA
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4054319#4054319
Reply to the post :
I hit this bug as soon as I upgraded to 3.2
| Caused by: java.lang.NullPointerException
| at
org.hibernate.hql.ast.tree.FromClause.findIntendedAliasedFromElementBasedOnCrazyJPARequirements(FromClause.java:120)
| at
I'm trying to pull in columns from two tables.
Most of the columns work fine - they are simple columns, and I can specify
which table they come from.
The trouble is when one of the properties on the secondary table is an
@ManyToOne association.
There's no way of informing the persistence
I think the answer is
| @ManyToOne(fetch=FetchType.LAZY, optional = false)
| @JoinColumn(table=ContactDetails, name=player_id)
| public Player getPlayer() {
| return player;
| }
| public void setPlayer(Player player) {
| this.player = player;
| }
|
View the original
I'm trying the composite entity the other way round now.
I have a Contact entity which contains the contact details for a Person at a
location. ie. job title, email, phone number etc.
The Contact links to the Person entity which contains personal details.
So on the Contact entity, there is an
I went with a utility class to look up beans.
The source for this class is generated by the ANT build script to prepend the
name of the EAR file being built to the beginning of the JNDI name.
So I have an EJBUtil class which contains
public static Object getLocalEJB(String name) throws
In which of the many XML config files would this env-entry element go, and
what would the syntax be?
(Thanks for helping BTW!)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960657#3960657
Reply to the post :
Ah, just a thought. Each EAR would have to have its own env-entry. So they'd
have tro be called different names, so we're back where we started.
We need to be able to enquire of the container what EAR fiel we are executing
out of.
View the original post :
12 matches
Mail list logo