Hi again everyone
I could not resolve this problem.
I have to change all similar queries in my application to something like
this(select b from Branch b where b.id=:branchID),This time it works.
I think this is an openJPA bug .Do you agree?
Anyone can test it .
Thanks
Ahad
--
View this message i
I am sorry for being late
I removed the type column (private BaseBranchType baseBranchType) form
BaseBranch class but the problem still exists mike.
--
View this message in context:
http://openjpa.208410.n2.nabble.com/problem-using-subclass-object-as-query-parameter-tp5506089p5545802.html
Sent f
Hi mike
thank you
I am using openJPA 1.2.1 and I also have tested it with 1.2.2 . It doesn't
work with both of them.
I have tested it with runtime and build time enhancement.The problem exists
with both.
and my persistence.xml is something like this
---
Hello everyone
I have a problem using inheritance in OpenJPA.
Here is my code
@Entity
@Table(name = "BASEBRN")
@Inheritance(strategy=InheritanceType.JOINED)
@DiscriminatorColumn(name="TYPE",discriminatorType=DiscriminatorType.INTEGER)
public class BaseBranch {
@Id
@Column(name
Hi
Excuse me for the late reply
Thanks for your replies and helps
My problem was solved .
I have an embeddable class that I use it as embedded property in some entity
class and we forgot to list it on the persistence.xml file and then enhancer
didn’t enhance it .I think this embeddable class w
hi
Thank your for your reply
I use glassfish app server for deploying my application .
I think glassfish as java EE container itself do this .According to thread
on Address:
http://markmail.org/message/zlcq3lrj5jfolup7#query:glassfish%20javaagent%20openjpa+page:1+mid:qw7323mlldhlpr2e+state:result
Hi
I get the following Exception when I enable cache on my system and after
tryng to get query data.
please help me
thanks
regards
Ahad Javadi
javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean:
java.lang.StackOverflowError
at
com.sun.ejb.containers.BaseCont