Lyr Lysander

Greenhorn
+ Follow
since Jun 17, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Lyr Lysander

Hi there,

I've implemented an Entity with a seperate primary key class as embedded-id field. My embeddable primary key inherits from a super primary key class.

My problem is that the primary key class fields of the child class are correctliy initialized, but not the "derived" fields from the super class. These fields a empty.

The table/column-mappings are defined in my persistence.xml file.

What I am missing...

Best regards
Lysander
Here is the used code. As mentioned earlier, it is ugly Cobol :

13 years ago
The converning class owns definitely a parameterless constructor.



My first thought was, that there is something wrong with the used signature. I'm confused because of the blanks between <init> and ()V.

However, I used UFT8-Strings, which are zero-terminated, for the method name and the signature. 6 signs for the method anme and 3 signs for the signature.

The error message is confusing.
13 years ago
Hi there,

I am new to JNI and I try to call Java from a cobol program with JNI. The jvm is loaded properly and the FindClass works well.

If I call GetMethodID with the method-name <init> and the signature ()V I am getting the following error message:





Consists in specifying the method signature (for the constructor) a problem?

Many thanks in advance

Lys.
13 years ago