mapping

Does JPA support a kind of "Any" mapping for embeddable objects?

Hi, I'm extending the data model of an Java application to include some kind of a setting facility. Settings in this application would basically be Strings or Numbers, no entities or other model objects. My Question is what's the best way to map this requirement to JPA (Hibernate)? I first thought about implementing a Setting class wi...

Struts 1 map to static .xml file

I'm trying to map the path /crossdomain.xml to some xml content (whether its contained in a jsp, xml, or any other files, I don't care). I'm running struts 1, and I've tried this: <action path="/crossdomain.xml" type="org.apache.struts.actions.ForwardAction" parameter="/crossdomain.jsp"> </action> This technique works if I replace the...

extbase mapping to an existing table doesn't work

I've extended the pages table and now I want to use some of the data in a domain object called "Tags". So I tried the following in the /Configuration/TypoScript/setup.txt: plugin.myextension.persistence.classes.Tx_myextension_Domain_Model_Tag { mapping { tableName = pages recordType = Tx_myextension_Domain_Model_Tag ...

Preventing Nhibernate from persisting a specific collection in a class.

Hello Everyone, I have a Sponsor object which has a collection that looks like this... public virtual IDictionary<SettingId, object> SettingValueDefaults { get; set; } These are actually being pulled as a subset of a larger table. I need to be able to read from these, and that is working correctly. However, I would like to be able...

OpenLayers - dynamic POI example does not work on my machine

Hi, OpenLayers has a good example which I would like to reuse: http://openlayers.org/dev/examples/dynamic-text-layer.html But when I download it and run on my machine, it does not work. It also does not work when I download OpenLayers-2.10.zip from openlayers.org site, unpack it on my machine and run this example. When I say "does n...