CLONE - No Dialect mapping for JDBC type: 1188753216 in Wildfly (AttributeConverter and Byte)
Description
Attachments
6
- 21 Mar 2019, 09:16 AM
- 21 Mar 2019, 09:16 AM
- 21 Mar 2019, 09:16 AM
- 21 Mar 2019, 09:16 AM
- 21 Mar 2019, 09:16 AM
- 21 Mar 2019, 09:16 AM
Activity
Show:
Gavin King November 22, 2024 at 8:39 PM
Seems to have been fixed.
Gregoire Job March 21, 2019 at 9:19 AM
I clone the ticket https://hibernate.atlassian.net/browse/HHH-12115#icft=HHH-12115 because when we use a AttributeConverter where database type is a Byte we have exactly the same problem.
Please, could you add Byte class as a possible type.
Regards
Out of Date
Details
Details
Assignee
Unassigned
UnassignedReporter
Gregoire Job
Gregoire JobComponents
Priority
Created March 21, 2019 at 9:16 AM
Updated December 3, 2024 at 9:20 AM
Resolved November 22, 2024 at 8:39 PM
I use AttributeConverter(
) to convert enum value(
). It run perfect normal when use "Persistence.createEntityManagerFactory(PERSISTENCE_UNIT_NAME)"(
) to initialize the JPA runtime. But when I deploy it into WildFly as a EJB(
), the JPA runtime initialization failed with the following exception:
In the Full log of Wildfly:
, i notice the following infomation:
When I refactor my code ConnectionStateConverter with the new one:
public class ConnectionStateConverter implements AttributeConverter<ConnectionState, Integer>, everything goes ok.
Why?