Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-08-2007, 04:57 AM
Senior Member
 
Join Date: Jun 2007
Posts: 119
Peter is on a distinguished road
Exception [TOPLINK-8030] (Oracle TopLink Essentials - 2006.8
I need help with this exception
javax.ejb.EJBException: Exception [TOPLINK-8030] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EJBQLExceptio n

Exception Description: Unknown state or association field [idcliente] of class [com.selsa.linnet.entidad.Cuenta].; nested exception is:

Exception [TOPLINK-8030] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EJBQLExceptio n

Exception Description: Unknown state or association field [idcliente] of class [com.selsa.linnet.entidad.Cuenta].; nested exception is: oracle.oc4j.rmi.OracleRemoteException: Exception [TOPLINK-8030] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EJBQLExceptio n



Exception Description: Unknown state or association field [idcliente] of class [com.selsa.linnet.entidad.Cuenta].

at com.evermind.server.ejb.EJBUtils.getUserException( EJBUtils.java:346)

at com.evermind.server.ejb.interceptor.system.Abstrac tTxInterceptor.convertAndHandleMethodException(Abs tractTxInterceptor.java:69)

at com.evermind.server.ejb.interceptor.system.TxRequi redInterceptor.invoke(TxRequiredInterceptor.java:5 2)

at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:119)

at com.evermind.server.ejb.interceptor.system.DMSInte rceptor.invoke(DMSInterceptor.java:52)

at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:119)

at com.evermind.server.ejb.InvocationContextPool.invo ke(InvocationContextPool.java:55)

at com.evermind.server.ejb.StatefulSessionEJBObject.O C4J_invokeMethod(StatefulSessionEJBObject.java:844 )

at ProveedorController_RemoteProxy_19fi21p.getActivo( Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)

The entity is defined like this:
Code:
@Table(name = "\"ln1095dsldxpla\"") @IdClass(CountPK.class) public class Count implements Serializable { @Id @Column(nullable = false, insertable=false, updatable = false, name = "k_idterc_cli") private Integer idClient; @Id @Column(nullable = false, insertable=false, updatable = false, name = "k_idterc_pro") private Integer idProv; @Id @Column(nullable = false, insertable=false, updatable = false, name = "k_idplast") private Integer idPlastic; @Id @Column(nullable = false, name = "k_serie") private Integer idCount; … @ManyToOne @JoinColumn(name = "k_idterc_pro", referencedColumnName = "k_idterc", insertable=false, updatable = false) private Prov prov; @ManyToOne @JoinColumns({ @JoinColumn(name = "k_idterc_cli", referencedColumnName = "k_idterc", insertable=false, updatable = false), @JoinColumn(name = "k_idterc_pro", referencedColumnName = "k_idterc_pro", insertable=false, updatable = false) }) private Client client; @ManyToOne @JoinColumns({ @JoinColumn(name = "k_idplast", referencedColumnName = "k_idplast" ), @JoinColumn(name = "k_idterc_pro", referencedColumnName = "k_idterc_pro" ), @JoinColumn(name = "k_idterc_cli", referencedColumnName = "k_idterc_cli" ) }) private Plastic plastic;
any ideas?
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-11-2007, 03:38 PM
Senior Member
 
Join Date: Jun 2007
Posts: 130
Jack is on a distinguished road
mmm I don't know if it is the problem but I can see that you are defining a CountPK class, so you shouldn't use "ID" annotations in Count class, else in CountPK class
check if it is the problem, and then tell me.
good luck
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 07-04-2007, 08:07 AM
bbq bbq is offline
Senior Member
 
Join Date: Jun 2007
Posts: 134
bbq is on a distinguished road
check if the @NamedQuery are calling correctly the properties
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Decent Book For JBuilder 2006 MayheM New To Java 2 08-12-2008 03:33 PM
Trouble with factory method - unhandled exception type Exception desmond5 New To Java 1 03-08-2008 08:41 PM
MS SQL2005 to Oracle DB bmongtangco JavaServer Pages (JSP) and JSTL 0 11-07-2007 04:58 AM
Oracle and JDBC Eric Database 3 08-11-2007 10:49 PM
oracle problem Peter Database 1 07-09-2007 06:19 AM


All times are GMT +3. The time now is 09:35 AM.


VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org