Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] Enhancement using ENum literals in HQL queries...
[Teneo] Enhancement using ENum literals in HQL queries... [message #606827] Wed, 30 May 2007 15:06
Michael Kanaley is currently offline Michael KanaleyFriend
Messages: 89
Registered: July 2009
Say you have an MLBTeam Enum with literals:

If Teneo's Enum UserType for Hibernate implemented
Then you could specify a query like:

Right now you have to use parameter substitution or construct the query
String above on the fly.
Perhaps there is some way to do this already that I don't know about.

Also, is there a way to using an integer column instead of a String column
when storing enumeration values in a DB column?
Previous Topic:Trouble using 'embedded' annotation
Next Topic:[Teneo] Cannot override EntityMapper
Goto Forum:

Current Time: Mon Jan 25 15:20:05 GMT 2021

Powered by FUDForum. Page generated in 0.02225 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top