|
MIssing foreign key on children - except on those of last parent added to db
On Tue, Dec 5, 2017 at 02:19 am, Trond Arild Lode Tobiassen Heidelberg wrote: changed form this: @OneToMany(cascade = CascadeType.ALL) @JoinColumn(name = "MESSAGE_ID", nullable = true, unique = false,
On Tue, Dec 5, 2017 at 02:19 am, Trond Arild Lode Tobiassen Heidelberg wrote: changed form this: @OneToMany(cascade = CascadeType.ALL) @JoinColumn(name = "MESSAGE_ID", nullable = true, unique = false,
|
By
Trond Arild Lode Tobiassen Heidelberg
· #111
·
|
|
https://github.com/javaee/glassfish/issues/11348
https://github.com/javaee/glassfish/issues/11348 Happens on glassfish 5 as well.
https://github.com/javaee/glassfish/issues/11348 Happens on glassfish 5 as well.
|
By
Trond Arild Lode Tobiassen Heidelberg
· #110
·
|
|
Timed tasks on Glassfish 5.0 works on embedded but not on server instance
5.0 Build 25 Does anyone have an idea why? More info: When the app is first deployed it works, but not after restarts.
5.0 Build 25 Does anyone have an idea why? More info: When the app is first deployed it works, but not after restarts.
|
By
Trond Arild Lode Tobiassen Heidelberg
· #109
·
Edited
|
|
SSL on Netty started by a Singleton Startup bean on Glassfish 5.0
The above works well on embedded glassfish but not when deploying the application on the server. A telnet to the port does not connect anymore. Does anyone have a clue as to what might be causing this
The above works well on embedded glassfish but not when deploying the application on the server. A telnet to the port does not connect anymore. Does anyone have a clue as to what might be causing this
|
By
Trond Arild Lode Tobiassen Heidelberg
· #108
·
Edited
|
|
MIssing foreign key on children - except on those of last parent added to db
Hi I have this code: @Entity(name = "ABSTRACT_MESSAGE_TABLE") @DiscriminatorColumn(length=64) public abstract class AbstractMessage<T extends AbstractMessage<T, U, X>, U extends StartLine<U>, X extend
Hi I have this code: @Entity(name = "ABSTRACT_MESSAGE_TABLE") @DiscriminatorColumn(length=64) public abstract class AbstractMessage<T extends AbstractMessage<T, U, X>, U extends StartLine<U>, X extend
|
By
Trond Arild Lode Tobiassen Heidelberg
· #98
·
Edited
|
|
Internal Exception: java.sql.SQLException: ORA-01400: kan ikke sette inn NULL i ("XXXUSER"."ABSTRACT_FIELD_VALUE_PART_TABLE"."ID")
Problem might ave been reated to missing @Transient on non-persistable guava types.
Problem might ave been reated to missing @Transient on non-persistable guava types.
|
By
Trond Arild Lode Tobiassen Heidelberg
· #97
·
|
|
java.lang.NullPointerException at org.eclipse.persistence.internal.jpa.metamodel.proxy.AttributeProxyImpl.getPersistentAttributeType(AttributeProxyImpl.java:78)
Turns out it did not work on 4.1 either. But the error message was a lot more descriptive. I removedan accidental comment of annotations and the metamodel and code matched again. The code now runs und
Turns out it did not work on 4.1 either. But the error message was a lot more descriptive. I removedan accidental comment of annotations and the metamodel and code matched again. The code now runs und
|
By
Trond Arild Lode Tobiassen Heidelberg
· #96
·
Edited
|
|
java.lang.NullPointerException at org.eclipse.persistence.internal.jpa.metamodel.proxy.AttributeProxyImpl.getPersistentAttributeType(AttributeProxyImpl.java:78)
java.lang.NullPointerException at org.eclipse.persistence.internal.jpa.metamodel.proxy.AttributeProxyImpl.getPersistentAttributeType(AttributeProxyImpl.java:78) at org.eclipse.persistence.internal.jpa
java.lang.NullPointerException at org.eclipse.persistence.internal.jpa.metamodel.proxy.AttributeProxyImpl.getPersistentAttributeType(AttributeProxyImpl.java:78) at org.eclipse.persistence.internal.jpa
|
By
Trond Arild Lode Tobiassen Heidelberg
· #95
·
|
|
Upgrading to glassfish 5 from 4.1 Stackoverflow error
Found the problem. Ho-ho. Santa brought som insight. Turns out i was not annotating my nonpersistable guava types with @Transient. Maybe 5.0.1 can bring a clearer exception message to this case.
Found the problem. Ho-ho. Santa brought som insight. Turns out i was not annotating my nonpersistable guava types with @Transient. Maybe 5.0.1 can bring a clearer exception message to this case.
|
By
Trond Arild Lode Tobiassen Heidelberg
· #94
·
|
|
Upgrading to glassfish 5 from 4.1 Stackoverflow error
Please note that before upgrading to 5.0 the below case/topic describes what happens when running the code (no id gets injected into a row of the the twentifirst table handled by the server) I notice
Please note that before upgrading to 5.0 the below case/topic describes what happens when running the code (no id gets injected into a row of the the twentifirst table handled by the server) I notice
|
By
Trond Arild Lode Tobiassen Heidelberg
· #93
·
Edited
|
|
Internal Exception: java.sql.SQLException: ORA-01400: kan ikke sette inn NULL i ("XXXUSER"."ABSTRACT_FIELD_VALUE_PART_TABLE"."ID")
The below happens when a number of table-rows have been inserted successfully in other tables, using the exact same setup. Note that the sequence is reported to not being deleted during startup (of gl
The below happens when a number of table-rows have been inserted successfully in other tables, using the exact same setup. Note that the sequence is reported to not being deleted during startup (of gl
|
By
Trond Arild Lode Tobiassen Heidelberg
· #92
·
Edited
|
|
Generic and JPA
OK.Solved. I had two classes with the same name, different package. Had I only read the package path I had seen that the other one specified i the stacktrace didn't have the "targeEntity" specified. N
OK.Solved. I had two classes with the same name, different package. Had I only read the package path I had seen that the other one specified i the stacktrace didn't have the "targeEntity" specified. N
|
By
Trond Arild Lode Tobiassen Heidelberg
· #85
·
Edited
|
|
Using @Reference(lookup="jmsConnectionFactory") annotation in glassfish
Turns out I needed to use InitialContext for my application. At least going from JUnit testst or from netty callback methods. Making them session beans and trying to inject (@Resource) does not work.
Turns out I needed to use InitialContext for my application. At least going from JUnit testst or from netty callback methods. Making them session beans and trying to inject (@Resource) does not work.
|
By
Trond Arild Lode Tobiassen Heidelberg
· #76
·
|
|
Using @Reference(lookup="jmsConnectionFactory") annotation in glassfish
Hi and thanks for you swift reply. The version is 4.1 and there is no stack trace except nullpointer when i access methods on the connection factory. Best Regards Trond
Hi and thanks for you swift reply. The version is 4.1 and there is no stack trace except nullpointer when i access methods on the connection factory. Best Regards Trond
|
By
Trond Arild Lode Tobiassen Heidelberg
· #64
·
|
|
Using @Reference(lookup="jmsConnectionFactory") annotation in glassfish
Hi. tried to use this feature, However injection does not happen and nullpointer results. The test succeeds using jndi lookup directly, implying all is correct on glassfish for sending messages to MDB
Hi. tried to use this feature, However injection does not happen and nullpointer results. The test succeeds using jndi lookup directly, implying all is correct on glassfish for sending messages to MDB
|
By
Trond Arild Lode Tobiassen Heidelberg
· #62
·
|