[hibernate-dev] JtaPlaform classes as internal?

Emmanuel Bernard emmanuel at hibernate.org
Thu Mar 15 12:40:07 EDT 2012


Because you need to know the JtaPaltform class name to fill up hibernate.transaction.jta.platform, I find it curious that these classes are in internal.
I might decide to delete one of them and not care as they are in internal but that will impact the user.

I see two options:

1. create subclasses in a non internal package
2. create shortcuts for the built-in platforms (weblogic, websphere-5, websphere-6, etc)


I like option 2 better as it makes configurations more readable.

WDYT?



More information about the hibernate-dev mailing list